robotframework-mqttlibrary icon indicating copy to clipboard operation
robotframework-mqttlibrary copied to clipboard

LibraryMQTT not usable with paho-mqtt 2.0.0

Open BriceBoy opened this issue 11 months ago • 2 comments

ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details

Traceback (most recent call last):
  File "C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Roaming\Python\Python37\site-packages\MQTTLibrary\MQTTKeywords.py", line 71, in connect
    self._mqttc = mqtt.Client(client_id, clean_session)
  File "C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Roaming\Python\Python37\site-packages\paho\mqtt\client.py", line 767, in __init__
    "Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details"
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details

BriceBoy avatar Mar 08 '24 15:03 BriceBoy

I tried to address this issue in https://github.com/randomsync/robotframework-mqttlibrary/pull/35, maybe someone with enough permissions can review and merge it if the fix is ok.

romanliv avatar May 29 '24 06:05 romanliv

Thank you ! I hope this will be done ^^

BriceBoy avatar May 29 '24 06:05 BriceBoy