myo-raw icon indicating copy to clipboard operation
myo-raw copied to clipboard

Driver crashes after some time

Open MarkusEich opened this issue 9 years ago • 0 comments

The driver seems to work well, but randomly crashes after a few minutes. The script myo_raw.py stops with

Traceback (most recent call last): File "myo_raw.py", line 463, in m.run(1) File "myo_raw.py", line 195, in run self.bt.recv_packet(timeout) File "myo_raw.py", line 80, in recv_packet self.handle_event(ret) File "myo_raw.py", line 112, in handle_event h(p) File "myo_raw.py", line 294, in handle_data self.on_arm(Arm(val), XDirection(xdir)) File "/usr/lib/python2.7/dist-packages/enum.py", line 197, in init raise EnumBadKeyError(key) enum.EnumBadKeyError: Enumeration keys must be strings: 2

Using Myo firmware version: 1.2.955.2

MarkusEich avatar Sep 24 '15 02:09 MarkusEich