You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem
When I run the server from the example, I get the below error:
PS C:\Users\Justin\Windows Scripts> python .\ble.py
C:\Users\Justin\Windows Scripts\ble.py:91: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
DEBUG:asyncio:Using proactor: IocpProactor
DEBUG:bless.backends.winrt.server:Creating a new service with uuid: A07498CA-AD5B-474E-940D-16F1FBE7E8CD
DEBUG:bless.backends.winrt.server:Adding service to server with uuid A07498CA-AD5B-474E-940D-16F1FBE7E8CD
Traceback (most recent call last):
File "C:\Users\Justin\Windows Scripts\ble.py", line 92, in <module>
loop.run_until_complete(run(loop))
File "C:\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\Justin\Windows Scripts\ble.py", line 53, in run
await server.add_new_service(my_service_uuid)
File "C:\Python\Python310\lib\site-packages\bless-0.2.4-py3.10.egg\bless\backends\winrt\server.py", line 167, in add_new_service
File "C:\Python\Python310\lib\site-packages\bless-0.2.4-py3.10.egg\bless\backends\winrt\service.py", line 53, in init
AttributeError: 'NoneType' object has no attribute 'add_advertisement_status_changed'
Reproduction
Windows 11
Python 3.10.5
Run:
python -m pip install bless
python server.py
Expected behavior
It would run successfully.
The text was updated successfully, but these errors were encountered:
The problem
When I run the server from the example, I get the below error:
Reproduction
Windows 11
Python 3.10.5
Run:
Expected behavior
It would run successfully.
The text was updated successfully, but these errors were encountered: