freakent / dbus-mqtt-devices

A driver for Victron VenusOS GX devices to support use of dbus-mqtt/flashmq-mqtt
MIT License
111 stars 24 forks source link

No module named 'yaml' #123

Closed ajvdw closed 1 month ago

ajvdw commented 1 month ago

Version

0.8.0 (current)

VenusOS version

production, latest

Does this issue occur during installation or at runtime ?

Runtime

Is there a Discussion thread for this issue? Please paste a link.

No response

What is the issue you are actually experiencing?

when starting the application, the log reports a missing module. pip3 install pyyaml solves the issue. This should be included in the troubleshooting paragraph of the readme

If this is not installation related, what does the status payload look like that you are publishing to the driver to register your device?

No response

Relevant log output

@400000006696cc1f1545f21c *** starting dbus-mqtt-devices ***
@400000006696cc20265c369c Traceback (most recent call last):
@400000006696cc20265c6194   File "/data/drivers/dbus-mqtt-devices-0.8.0/dbus_mqtt_devices.py", line 34, in <module>
@400000006696cc20265c6d4c     from device_manager import MQTTDeviceManager
@400000006696cc20265c7904   File "/data/drivers/dbus-mqtt-devices-0.8.0/device_manager.py", line 17, in <module>
@400000006696cc20265c84bc     import yaml
@400000006696cc20265c8c8c ModuleNotFoundError: No module named 'yaml'
freakent commented 1 month ago

It's already in the troubleshooting instructions.