Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread Thread-1 #9

Open
fs264 opened this issue Nov 1, 2016 · 0 comments
Open

Exception in thread Thread-1 #9

fs264 opened this issue Nov 1, 2016 · 0 comments

Comments

@fs264
Copy link

fs264 commented Nov 1, 2016

Hi after few seconds running fine, the script throws this error and it will stop reading from the mindwave. Any solution?

Thanks

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/home/pi/python/Mindwave/mindwave.py", line 73, in run
    self.parse_payload(payload)
  File "/home/pi/python/Mindwave/mindwave.py", line 143, in parse_payload
    raw=ord(value[0])*256+ord(value[1])
IndexError: string index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant