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

Broker not working in Python 3.10 #160

Open
GoOcto opened this issue Oct 4, 2024 · 0 comments
Open

Broker not working in Python 3.10 #160

GoOcto opened this issue Oct 4, 2024 · 0 comments

Comments

@GoOcto
Copy link

GoOcto commented Oct 4, 2024

The broker has an issue with Python 3.10. Following the documentation, I simply ran amqtt and got the following stack trace:

Traceback (most recent call last):
File "/home/paul/.local/bin/amqtt", line 8, in
sys.exit(main())
File "/home/paul/.local/lib/python3.10/site-packages/amqtt/scripts/broker_script.py", line 76, in main
broker = Broker(config)
File "/home/paul/.local/lib/python3.10/site-packages/amqtt/broker.py", line 183, in init
self._broadcast_queue = asyncio.Queue(loop=self._loop)
File "/usr/lib/python3.10/asyncio/queues.py", line 34, in init
super().init(loop=loop)
File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in init
raise TypeError(
TypeError: As of 3.10, the loop parameter was removed from Queue() since it is no longer necessary

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

1 participant