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

Serial: Serial read error #132

Closed
jbarneson opened this issue Mar 14, 2019 · 1 comment
Closed

Serial: Serial read error #132

jbarneson opened this issue Mar 14, 2019 · 1 comment

Comments

@jbarneson
Copy link

After upgrading to 0.6.7, my logs are filled with these serial read errors. Maybe this is coincidental to the upgrade and there is a hardware problem. Can anyone shed light on what this error means?

I'm running on a raspberry pi with a USB plm (the wireless, not wired version).

2019-03-14 06:49:14 ERROR Serial: Serial read error from /dev/ttyUSB0 Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/insteon_mqtt/Protocol.py", line 309, in _data_read msg = msg_class.from_bytes(self._buf) File "/usr/lib/python3.6/site-packages/insteon_mqtt/message/InpAllLinkFailure.py", line 38, in from_bytes assert raw[2] == 0x01 AssertionError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/insteon_mqtt/network/Serial.py", line 184, in read_from_link self.signal_read.emit(self, data) File "/usr/lib/python3.6/site-packages/insteon_mqtt/Signal.py", line 47, in emit slot(*args, **kwargs) File "/usr/lib/python3.6/site-packages/insteon_mqtt/Protocol.py", line 311, in _data_read LOG.exception() TypeError: exception() missing 1 required positional argument: 'msg'

@TD22057
Copy link
Owner

TD22057 commented Mar 16, 2019

Thanks. Sometimes weird sequences show up by I wouldn't expect to see very many of them. The 2nd part of that message is an error in a logging statement in the code. I've fixed that in the dev branch.

@TD22057 TD22057 closed this as completed Mar 16, 2019
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