You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute python3 /workspaces/vehicle-app-python-template/app/src/main.py in terminal
then you will see the error message
Expected Behavior
The app can run normally without dapr.
Possible Solution
No response
Additional Information
In velocitas_sdk, the below code may have some bugs, the path is velocitas_sdk/native/mqtt.py the function init of MqttClient, I cannot see any parameters on line 42 when call mqtt,Client()
lass MqttClient(PubSubClient):
"""This class is a wrapper for the on_message callback of the MQTT broker."""
def __init__(self, port: Optional[int] = None, hostname: Optional[str] = None):
self._port = port
self._hostname = hostname
self._topics_to_subscribe: list[MqttTopicSubscription] = []
self._pub_client = mqtt.Client()
self._sub_client = mqtt.Client()
self._sub_client.on_connect = self.on_connect
self._sub_client.on_disconnect = self.on_disconnect
self._sub_client.connect(self._hostname, self._port)
self._pub_client.connect(self._hostname, self._port)
Code of Conduct
I agree to follow this project's "Code of Conduct".
The text was updated successfully, but these errors were encountered:
Severity
Critical
What release version, tag or commit-hash did you use?
v0.1.1
Current Behavior
When I run velocita app directly without dapr, the below error message has been appeared.
Steps to Reproduce
Local Runtime - Up
python3 /workspaces/vehicle-app-python-template/app/src/main.py
in terminalExpected Behavior
The app can run normally without dapr.
Possible Solution
No response
Additional Information
In velocitas_sdk, the below code may have some bugs, the path is
velocitas_sdk/native/mqtt.py
the function init of MqttClient, I cannot see any parameters on line 42 when callmqtt,Client()
Code of Conduct
The text was updated successfully, but these errors were encountered: