Emotiv / cortex-example

Example with Cortex V2/V3 API
https://emotiv.com
MIT License
200 stars 115 forks source link

When running python/sub_data.py, it interrupted at this step. #185

Closed KevinsWang closed 2 years ago

KevinsWang commented 2 years ago

Subscribe init websocket opened do_prepare_steps-------------------------------- check has access right --------------------------------

tungntEmotiv commented 2 years ago

@KevinsWang , Could you help add a debug as below in https://github.com/Emotiv/cortex-v2-example/blob/4b35cd74c2b7b478c68dc67a3ae0dca48612701a/python/cortex.py#L131 at line 373 . I want to see the response def on_message(self, *args): recv_dic = json.loads(args[1]) print(recv_dic) you mean that the program is interrupted suddenly at "check has access right" or do nothing any process after the step ?