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

LibraryMQTT not usable with paho-mqtt 2.0.0 #34

Open
BriceBoy opened this issue Mar 8, 2024 · 2 comments
Open

LibraryMQTT not usable with paho-mqtt 2.0.0 #34

BriceBoy opened this issue Mar 8, 2024 · 2 comments

Comments

@BriceBoy
Copy link

BriceBoy commented Mar 8, 2024

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
@romanliv
Copy link

I tried to address this issue in #35, maybe someone with enough permissions can review and merge it if the fix is ok.

@BriceBoy
Copy link
Author

Thank you ! I hope this will be done ^^

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