-
Notifications
You must be signed in to change notification settings - Fork 184
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
Find yes, stream no #191
Comments
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.
|
This error is different and should be resolved by #187 As for the original issue, this MAC address looks suspicious to me
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!! |
(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
File "e:\anaconda3\lib\site-packages\muselsl_main.py", line 57, in main
cli = CLI(args.command)
File "e:\anaconda3\lib\site-packages\muselsl\cli.py", line 9, in init
getattr(self, command)()
File "e:\anaconda3\lib\site-packages\muselsl\cli.py", line 106, in stream
stream(args.address, args.backend, args.interface, args.name, args.ppg,
File "e:\anaconda3\lib\site-packages\muselsl\stream.py", line 221, in stream
didConnect = muse.connect()
File "e:\anaconda3\lib\site-packages\muselsl\muse.py", line 84, in connect
self.device = self.adapter.connect(self.address)
File "e:\anaconda3\lib\site-packages\muselsl\backends.py", line 37, in connect
result.connect()
File "e:\anaconda3\lib\site-packages\muselsl\backends.py", line 45, in connect
_wait(self._client.connect())
File "e:\anaconda3\lib\site-packages\muselsl\backends.py", line 11, in wait
return loop.run_until_complete(coroutine)
File "e:\anaconda3\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "e:\anaconda3\lib\site-packages\bleak_init.py", line 471, in connect
return await self._backend.connect(**kwargs)
File "e:\anaconda3\lib\site-packages\bleak\backends\winrt\client.py", line 244, in connect
raise BleakDeviceNotFoundError(
bleak.exc.BleakDeviceNotFoundError: Device with address 00:uu:xxx:yy:zz:00 was not found.
--------------------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
The text was updated successfully, but these errors were encountered: