Skip to content
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

NotImplementedError #17

Open
cosmaz opened this issue Jan 2, 2023 · 1 comment
Open

NotImplementedError #17

cosmaz opened this issue Jan 2, 2023 · 1 comment

Comments

@cosmaz
Copy link

cosmaz commented Jan 2, 2023

Noyhing changed.....

Возникло исключение: NotImplementedError
exception: no description
File "D:\Projects_TakeYours\Server\src\server.py", line 77, in main
await client.asyncio_connect(MQTT_HOST, MQTT_PORT, 60)

During handling of the above exception, another exception occurred:

File "D:\Projects_TakeYours\Server\src\server.py", line 73, in main
async with AsyncioPahoClient() as client:
File "D:\Projects_TakeYours\Server\src\server.py", line 82, in
asyncio.run(main())

@ezelbanaan
Copy link

This might fix your issue, bassicly add:

asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

Before:

asyncio.run(main())

Or whatever other way you're using to run you application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants