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
At starting the script I get the following error in +/- 50% of the cases:
Exception in thread captor:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/git/OpenEars/devicehive-dev/audio/captor.py", line 93, in _capture
self._callback(capture_buf)
File "capture_mqtt.py", line 74, in _process
self._process_buf = np.frombuffer(data, dtype=np.int16)
ValueError: buffer size must be a multiple of element size
The text was updated successfully, but these errors were encountered:
At starting the script I get the following error in +/- 50% of the cases:
Exception in thread captor:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/home/pi/git/OpenEars/devicehive-dev/audio/captor.py", line 93, in _capture
self._callback(capture_buf)
File "capture_mqtt.py", line 74, in _process
self._process_buf = np.frombuffer(data, dtype=np.int16)
ValueError: buffer size must be a multiple of element size
The text was updated successfully, but these errors were encountered: