muse-lsl
muse-lsl copied to clipboard
Find yes, stream no
(base) C:\Users\Paul>muselsl list Searching for Muses, this may take up to 10 seconds... Found device Muse-nnnn, MAC Address 00:uu:xxx:yy:zz:00
(base) C:\Users\Paul>muselsl stream Searching for Muses, this may take up to 10 seconds... No Muses found.
(base) C:\Users\Paul>muselsl stream --name Muse-nnnn Searching for Muses, this may take up to 10 seconds... No Muses found.
(base) C:\Users\Paul>muselsl list Searching for Muses, this may take up to 10 seconds... Found device Muse-3305, MAC Address 00:uu:xxx:yy:zz:00
(base) C:\Users\Paul>muselsl stream --address 00:uu:xxx:yy:zz:00
2022-11-21 14:49:30.242 ( 1.347s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{48AEC350-2B87-4DE7-987A-2A486ADD9D8B}' (status: 2, multicast: 1
2022-11-21 14:49:30.242 ( 1.347s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{759D83AC-F5E0-C89B-38C2-CA581E218A0C}' (status: 2, multicast: 1
2022-11-21 14:49:30.244 ( 1.349s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{856D8470-CB02-422F-A80D-B42F434336F8}' (status: 1, multicast: 1
2022-11-21 14:49:30.245 ( 1.350s) [ E2E12FE4] netinterfaces.cpp:58 INFO| IPv6 ifindex 14
2022-11-21 14:49:30.245 ( 1.351s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{C97EB83F-289F-4A53-922F-E07542194110}' (status: 2, multicast: 1
2022-11-21 14:49:30.246 ( 1.351s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{39646D52-BE90-47F7-9523-ECCE9917D0DE}' (status: 2, multicast: 1
2022-11-21 14:49:30.247 ( 1.352s) [ E2E12FE4] netinterfaces.cpp:36 INFO| netif '{1619F92C-0A0C-11ED-A447-806E6F6E6963}' (status: 1, multicast: 1
2022-11-21 14:49:30.248 ( 1.353s) [ E2E12FE4] netinterfaces.cpp:58 INFO| IPv6 ifindex 1
2022-11-21 14:49:30.248 ( 1.353s) [ E2E12FE4] api_config.cpp:270 INFO| Loaded default config
2022-11-21 14:49:30.249 ( 1.354s) [ E2E12FE4] common.cpp:65 INFO| git:5eded5c1d381a1a5fbbcce105edfaa53f009176a/branch:refs/tags/v1.16.0/build:Release/compiler:MSVC-19.0.24245.0/link:SHARED
2022-11-21 14:49:30.277 ( 1.382s) [ E2E12FE4] udp_server.cpp:82 WARN| Could not bind multicast responder for ff02:113d:6fdd:2c17:a643:ffe2:1bd1:3cd2 to interface ::1 (An invalid argument was supplied.)
2022-11-21 14:49:30.277 ( 1.382s) [ E2E12FE4] udp_server.cpp:82 WARN| Could not bind multicast responder for ff05:113d:6fdd:2c17:a643:ffe2:1bd1:3cd2 to interface ::1 (An invalid argument was supplied.)
Connecting to Muse: 00:uu:xxx:yy:zz:00...
Traceback (most recent call last):
File "e:\anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "e:\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "e:\anaconda3\Scripts\muselsl.exe_main.py", line 7, in
--------------------Environment --------------------- Windows 10 64-Bit C:\Users\Paul>conda activate base
(base) C:\Users\Paul>pip install muselsl Collecting muselsl Downloading muselsl-2.2.1-py2.py3-none-any.whl (31 kB) Requirement already satisfied: pandas in e:\anaconda3\lib\site-packages (from muselsl) (1.4.4) Requirement already satisfied: seaborn in e:\anaconda3\lib\site-packages (from muselsl) (0.12.0) Collecting pygatt Downloading pygatt-4.0.5.tar.gz (40 kB) ---------------------------------------- 40.1/40.1 kB 635.5 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting bleak Downloading bleak-0.19.5-py3-none-any.whl (132 kB) ---------------------------------------- 132.9/132.9 kB 1.6 MB/s eta 0:00:00 Collecting pylsl Downloading pylsl-1.16.0-py2.py3-none-win_amd64.whl (352 kB) ---------------------------------------- 352.1/352.1 kB 1.8 MB/s eta 0:00:00 Collecting bitstring Downloading bitstring-4.0.1-py3-none-any.whl (45 kB) ---------------------------------------- 45.6/45.6 kB 453.7 kB/s eta 0:00:00 Requirement already satisfied: scikit-learn in e:\anaconda3\lib\site-packages (from muselsl) (1.0.2) Requirement already satisfied: numpy in e:\anaconda3\lib\site-packages (from muselsl) (1.21.5) Requirement already satisfied: pexpect in e:\anaconda3\lib\site-packages (from muselsl) (4.8.0) Collecting bleak-winrt<2.0.0,>=1.2.0 Downloading bleak_winrt-1.2.0-cp39-cp39-win_amd64.whl (527 kB) ---------------------------------------- 527.9/527.9 kB 736.3 kB/s eta 0:00:00 Collecting async-timeout<5,>=3.0.0 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Requirement already satisfied: python-dateutil>=2.8.1 in e:\anaconda3\lib\site-packages (from pandas->muselsl) (2.8.2) Requirement already satisfied: pytz>=2020.1 in e:\anaconda3\lib\site-packages (from pandas->muselsl) (2022.1) Requirement already satisfied: ptyprocess>=0.5 in e:\anaconda3\lib\site-packages (from pexpect->muselsl) (0.7.0) Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ---------------------------------------- 90.6/90.6 kB 256.7 kB/s eta 0:00:00 Collecting enum-compat Downloading enum_compat-0.0.3-py3-none-any.whl (1.3 kB) Requirement already satisfied: joblib>=0.11 in e:\anaconda3\lib\site-packages (from scikit-learn->muselsl) (1.1.1) Requirement already satisfied: scipy>=1.1.0 in e:\anaconda3\lib\site-packages (from scikit-learn->muselsl) (1.9.1) Requirement already satisfied: threadpoolctl>=2.0.0 in e:\anaconda3\lib\site-packages (from scikit-learn->muselsl) (2.2.0) Requirement already satisfied: matplotlib>=3.1 in e:\anaconda3\lib\site-packages (from seaborn->muselsl) (3.5.3) Requirement already satisfied: cycler>=0.10 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (0.11.0) Requirement already satisfied: packaging>=20.0 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (21.3) Requirement already satisfied: fonttools>=4.22.0 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (4.25.0) Requirement already satisfied: pyparsing>=2.2.1 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (3.0.9) Requirement already satisfied: kiwisolver>=1.0.1 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (1.4.2) Requirement already satisfied: pillow>=6.2.0 in e:\anaconda3\lib\site-packages (from matplotlib>=3.1->seaborn->muselsl) (9.2.0) Requirement already satisfied: six>=1.5 in e:\anaconda3\lib\site-packages (from python-dateutil>=2.8.1->pandas->muselsl) (1.16.0) Building wheels for collected packages: pygatt Building wheel for pygatt (setup.py) ... done Created wheel for pygatt: filename=pygatt-4.0.5-py3-none-any.whl size=44928 sha256=c0fb49b720858e5bf9bc062fe8d6f4e2c02ff7f7dc7b70fa66ee8f3457ef1e50 Stored in directory: c:\users\paul\appdata\local\pip\cache\wheels\84\a6\ad\054ddfabf36a81727d044971e87d189052850957f55183790d Successfully built pygatt Installing collected packages: pyserial, pylsl, enum-compat, bleak-winrt, pygatt, bitstring, async-timeout, bleak, muselsl Successfully installed async-timeout-4.0.2 bitstring-4.0.1 bleak-0.19.5 bleak-winrt-1.2.0 enum-compat-0.0.3 muselsl-2.2.1 pygatt-4.0.5 pylsl-1.16.0 pyserial-3.5
Hi, I developed the Bleak backend your system is using, and I have not yet ever tested and troubleshooted it on Windows. I am so sorry about this. You could try a different backend.
I do not have a Windows machine set up at the moment, but please still ping me when errors come up inside it, to help me remember the importance of getting one.
Same error different issue. Any help would be much appreciated.
Searching for Muses, this may take up to 10 seconds... Found device Muse-BAF7, MAC Address 00:55:DA:B7:BA:F7 Connecting to Muse: 00:55:DA:B7:BA:F7... 2023-01-03 14:44:07.260 ( 11.883s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{537B6D84-638E-4E68-8BC0-21DCBB7EC893}' (status: 2, multicast: 1 2023-01-03 14:44:07.260 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{80512BBD-B14C-48B9-AD24-6B28881005CB}' (status: 2, multicast: 1 2023-01-03 14:44:07.260 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{345AA57B-2295-4E61-B8F3-63A8E6D0DFED}' (status: 2, multicast: 1 2023-01-03 14:44:07.260 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{C09905C2-5E85-419B-A475-1522506C8375}' (status: 1, multicast: 1 2023-01-03 14:44:07.260 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:58 INFO| IPv6 ifindex 14 2023-01-03 14:44:07.260 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{A0D6D37E-3BD4-41F2-8544-1BEE03AEA19A}' (status: 2, multicast: 1 2023-01-03 14:44:07.261 ( 11.884s) [ 7892C2E5] netinterfaces.cpp:36 INFO| netif '{BB1D44F7-778B-11EC-A99C-806E6F6E6963}' (status: 1, multicast: 1 2023-01-03 14:44:07.261 ( 11.885s) [ 7892C2E5] netinterfaces.cpp:58 INFO| IPv6 ifindex 1 2023-01-03 14:44:07.261 ( 11.885s) [ 7892C2E5] api_config.cpp:270 INFO| Loaded default config 2023-01-03 14:44:07.261 ( 11.885s) [ 7892C2E5] common.cpp:65 INFO| git:5eded5c1d381a1a5fbbcce105edfaa53f009176a/branch:refs/tags/v1.16.0/build:Release/compiler:MSVC-19.0.24245.0/link:SHARED 2023-01-03 14:44:07.262 ( 11.886s) [ 7892C2E5] udp_server.cpp:82 WARN| Could not bind multicast responder for ff02:113d:6fdd:2c17:a643:ffe2:1bd1:3cd2 to interface ::1 (An invalid argument was supplied.) 2023-01-03 14:44:07.262 ( 11.886s) [ 7892C2E5] udp_server.cpp:82 WARN| Could not bind multicast responder for ff05:113d:6fdd:2c17:a643:ffe2:1bd1:3cd2 to interface ::1 (An invalid argument was supplied.) Connected. Streaming EEG... Exception in callback BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2D88>)(bytearray(b'\...\xb0\xb0\x91')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62 handle: <Handle BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2D88>)(bytearray(b'\...\xb0\xb0\x91')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62> Traceback (most recent call last): File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py", line 63, in wrap value_handle = declaration_handle + 1 TypeError: unsupported operand type(s) for +: 'BleakGATTCharacteristicWinRT' and 'int' Exception in callback BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2D08>)(bytearray(b'\...afK\xe1|\x85')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62 handle: <Handle BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2D08>)(bytearray(b'\...afK\xe1|\x85')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62> Traceback (most recent call last): File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py", line 63, in wrap value_handle = declaration_handle + 1 TypeError: unsupported operand type(s) for +: 'BleakGATTCharacteristicWinRT' and 'int' Exception in callback BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2BC8>)(bytearray(b'\...\x00\x08\xd9')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62 handle: <Handle BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2BC8>)(bytearray(b'\...\x00\x08\xd9')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62> Traceback (most recent call last): File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py", line 63, in wrap value_handle = declaration_handle + 1 TypeError: unsupported operand type(s) for +: 'BleakGATTCharacteristicWinRT' and 'int' Exception in callback BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2C88>)(bytearray(b'\...x00\x00\x07A')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62 handle: <Handle BleakDevice.subscribe.<locals>.wrap(<bleak.backen...001EE68FA2C88>)(bytearray(b'\...x00\x00\x07A')) at C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py:62> Traceback (most recent call last): File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "C:\Users\JackMoore\AppData\Local\Programs\Python\Python37\lib\site-packages\muselsl\backends.py", line 63, in wrap value_handle = declaration_handle + 1
Same error different issue. Any help would be much appreciated.
This error is different and should be resolved by https://github.com/alexandrebarachant/muse-lsl/pull/187
As for the original issue, this MAC address looks suspicious to me
Found device Muse-nnnn, MAC Address 00:uu:xxx:yy:zz:00
Is there something peculiar going on with this machine? Perhaps it's running via virtual machine?
Hi @jdpigeon thanks for getting back to me. I solved the issue!! I changed the version of bleak I had from 18.0.0 to 17.0....that has fixed the problem