OpenBCI_Python, "Unexpected END_BYTE found"

edited May 2016 in Software
Hi guys,

I'm using the OpenBCI board and this project:

https://github.com/OpenBCI/_depr_OpenBCI_Python_Node

It works fine, but sometimes (I don't know why or under which conditions) it throws the following exception:

Warning: Skipped 774 bytes before start found
Warning: ID:<198> <Unexpected END_BYTE found <198> instead of <192>
Warning: Skipped 835 bytes before start found
Warning: ID:<249> <Unexpected END_BYTE found <249> instead of <192>
Warning: Skipped 2142 bytes before start found
Warning: ID:<198> <Unexpected END_BYTE found <198> instead of <192>
Warning: Skipped 2317 bytes before start found
Warning: ID:<124> <Unexpected END_BYTE found <125> instead of <192>
Warning: Skipped 2908 bytes before start found
Warning: ID:<144> <Unexpected END_BYTE found <145> instead of <192>
Warning: Skipped 2976 bytes before start found
Warning: ID:<249> <Unexpected END_BYTE found <249> instead of <192>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/home/ana/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/home/ana/anaconda2/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/ana/TFG/OpenBCI_Python-master/open_bci_v3.py", line 163, in start_streaming
    call(sample)
  File "/home/ana/TFG/OpenBCI_Python-master/plugins/udp_server.py", line 68, in __call__
    self.send_data(json.dumps(sample.channel_data + sample.aux_data))
AttributeError: 'NoneType' object has no attribute 'channel_data'

Is anyone else having this problem or knowing how to solve this?

Thanks,

Ana

Comments

Sign In or Register to comment.