Open antun opened 5 months ago
I was able to get past this error by running pip install 'paho-mqtt<2.0.0'
to install an older version of paho-mqtt, based on [this thread](pip install 'paho-mqtt<2.0.0'). Not sure if it's working correctly though.
I got the same error.
I fixed it by changing line 34 in recorder.py from
self.__client = mqtt.Client(client_id=client_id)
to
self.__client = mqtt.Client(mqtt.CallbackAPIVersion.VERSION1, client_id=client_id)
(See: https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html )
I just installed mqtt-recorder by running
pip install mqtt-recorder
. The output was:When I try to record, I get an exception:
It looks like these are related to the paho-mqtt client that mqtt-recorder uses, but I'm not sure what to do with those errors.