This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Description
Hi,
While trying to use the python api to log data from a Metawear sensor I ran into the following issue :
File "_ctypes/callbacks.c", line 232, in 'calling callback function' File "...\Python\Python37\lib\site-packages\mbientlab\metawear\__init__.py", line 75, in handler result[0] = RuntimeError("Could not create " + (kwargs['resource'] if 'resource' in kwarg else "resource") ) if pointer == None else pointer NameError: name 'kwarg' is not defined
And indeed there is a typo mistake in this file at line 75.
|
result[0] = RuntimeError("Could not create " + (kwargs['resource'] if 'resource' in kwarg else "resource") ) if pointer == None else pointer |
I'm not very used to Github so I don't know how to propose a commit to fix that issue...