Closed ani-rudh closed 2 months ago
Hi there! 🙂
It seems like you're running a 0.*
version of aiomqtt (which was then still called asyncio_mqtt). Earlier version of aiomqtt specified the underlying paho-mqtt dependency as paho-mqtt>=1.6.0
which led to problems with the release of paho-mqtt 2.0
. I believe that's where your issue comes from.
I would try to either (1) pin paho-mqtt manually to <2.0 or (2) update aiomqtt to a newer version.
Let me know if that helps!
Hi,
yes. I can confirm that updating to latest aiomqtt fixes it.
I stumbled upon that before reading the comment when I ran the example with default connection and a notice was printed saying aiomqtt has been released, replacing this library.
Would be helpful if the pypi page mentions that 😊
I'm glad it worked! Thanks for reporting back 👍
I tried the example with my own broker details using this code:
and I get 'Client' object has no attribute 'message_retry_set' on client.py, line 349 of the library.
Any ides how to solve or is there anything wrong I do when initializing the client?