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

Require Paho MQTT below 2.x version. #458

Closed
wants to merge 1 commit into from
Closed

Require Paho MQTT below 2.x version. #458

wants to merge 1 commit into from

Conversation

lpaolini
Copy link
Contributor

Same as 9dbe5bc.

pai  | 2024-04-18 18:35:15,978 - ERROR    - PAI.paradox.interfaces.interface_manager - Unable to start MQTT Interface
pai  | Traceback (most recent call last):
pai  |   File "/usr/local/lib/python3.9/site-packages/paradox/interfaces/interface_manager.py", line 37, in start
pai  |     self.register(BasicMQTTInterface(self.alarm))
pai  |   File "/usr/local/lib/python3.9/site-packages/paradox/interfaces/mqtt/basic.py", line 97, in __init__
pai  |     super().__init__(alarm)
pai  |   File "/usr/local/lib/python3.9/site-packages/paradox/interfaces/mqtt/core.py", line 231, in __init__
pai  |     self.mqtt = MQTTConnection.get_instance()
pai  |   File "/usr/local/lib/python3.9/site-packages/paradox/interfaces/mqtt/core.py", line 50, in get_instance
pai  |     cls._instance = MQTTConnection()
pai  |   File "/usr/local/lib/python3.9/site-packages/paradox/interfaces/mqtt/core.py", line 55, in __init__
pai  |     self.client = Client(
pai  |   File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 766, in __init__
pai  |     raise ValueError(
pai  | ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details

Copy link

sonarcloud bot commented Apr 18, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@yozik04
Copy link
Collaborator

yozik04 commented Apr 18, 2024

I have all the fixes in dev branch. I will merge today.

@lpaolini
Copy link
Contributor Author

Awesome, thanks.

@lpaolini lpaolini closed this Apr 18, 2024
@yozik04
Copy link
Collaborator

yozik04 commented Apr 18, 2024

Check #457

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

Successfully merging this pull request may close these issues.

2 participants