You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
MetaWear-SDK-Python/mbientlab/metawear/__init__.py
Line 75 in 84baa96
I'm not very used to Github so I don't know how to propose a commit to fix that issue...
The text was updated successfully, but these errors were encountered: