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

AttributeError: module 'serial' has no attribute 'Serial' #1

Closed
PA8E opened this issue Jul 1, 2022 · 5 comments
Closed

AttributeError: module 'serial' has no attribute 'Serial' #1

PA8E opened this issue Jul 1, 2022 · 5 comments

Comments

@PA8E
Copy link

PA8E commented Jul 1, 2022

Got error:
AttributeError: module 'serial' has no attribute 'Serial'
dsmr-mqtt.mqtt INFO: FUNCTION:del LINE:162: >>

Python 3.8.6 @ Synology DSM6

@hansij66
Copy link
Owner

hansij66 commented Jul 1, 2022 via email

@hansij66
Copy link
Owner

hansij66 commented Jul 1, 2022 via email

@PA8E
Copy link
Author

PA8E commented Jul 1, 2022

Hi Hans, yes I did. I installed a fresh RaspberryPi for this purpose only. I've got the same error. It turn out I had the script as root. As a systemd-service it seems to run fine. Can you confirm if these lines in the log are okay?
Jul 1 16:15:18 DSRM dsmr-mqtt.mqtt[2976] WARNING: 16:15:18 FUNCTION:__do_mqtt LINE:328: No connection with MQTT Broker; 2 messages queued
Jul 1 16:15:18 DSRM dsmr-mqtt.py[2976]: dsmr-mqtt.mqtt INFO: FUNCTION:__do_mqtt LINE:331: Connection with MQTT Broker; 3 messages queued
Jul 1 16:15:19 DSRM dsmr-mqtt.mqtt[2976] INFO: 16:15:18 FUNCTION:__do_mqtt LINE:331: Connection with MQTT Broker; 3 messages queued

@hansij66
Copy link
Owner

hansij66 commented Jul 1, 2022 via email

@hansij66
Copy link
Owner

close by lack of feedback on last suggestion

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