Skip to content

Error: unable to stop streaming session. #24

Closed
@matteo-mazzanti

Description

@matteo-mazzanti

Dear Andrey,
I am having a problem:
brainflow.board_shim.BrainFlowError: GENERAL_ERROR:17 unable to stop streaming session.
Using the python script provided at:
https://brainflow.readthedocs.io/en/stable/Examples.html
Ubuntu v18.04
Python v3.8
Brainflow v2.1.3
OpenBCI Ganglion board

I am using:
board.start_stream ()
instead of:
board.start_stream (45000, args.streamer_params)

$ python main.py --board-id 1 --serial-port /dev/ttyACM0 --mac-address d2:e4:be:82:36:be --log
[2020-02-08 17:01:46.795] [brainflow_logger] [info] incomming json: {
"ip_address": "",
"ip_port": 0,
"ip_protocol": 0,
"mac_address": "d2:e4:be:82:36:be",
"other_info": "",
"serial_port": "/dev/ttyACM0"
}
[2020-02-08 17:01:46.795] [brainflow_logger] [debug] ganglionlib initialized
[2020-02-08 17:01:46.795] [brainflow_logger] [info] search for d2:e4:be:82:36:be
[2020-02-08 17:01:48.865] [brainflow_logger] [debug] use stub streamer
[2020-02-08 17:01:49.087] [brainflow_logger] [debug] start streaming
[2020-02-08 17:01:50.497] [brainflow_logger] [error] failed to stop streaming 13
Traceback (most recent call last):
File "main.py", line 56, in <module>
main ()
File "main.py", line 49, in main
board.stop_stream ()
File "/home/mrx/anaconda3/envs/OBCI_Brainflow_213/lib/python3.8/site-packages/brainflow/board_shim.py", line 741, in stop_stream
raise BrainFlowError ('unable to stop streaming session', res)
brainflow.board_shim.BrainFlowError: GENERAL_ERROR:17 unable to stop streaming session

Thanks in advice for your help.
/Matteo M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions