-
Notifications
You must be signed in to change notification settings - Fork 95
read failed after minutes of running #222
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
Comments
Someone is accessing your serial port. Lib just bails out in such cases, but you can try to handle it my way: #252 (comment) |
tatianaleon
added a commit
that referenced
this issue
Aug 25, 2021
This commit configures exclusive access for the provided XBee serial port by default. This can be overridden in the constructor (although not recommended) #222 #252 Signed-off-by: Tatiana Leon <[email protected]>
tatianaleon
added a commit
that referenced
this issue
Aug 25, 2021
…reading #222 #252 Signed-off-by: Tatiana Leon <[email protected]>
tatianaleon
added a commit
that referenced
this issue
Sep 2, 2021
This commit configures exclusive access for the provided XBee serial port by default. This can be overridden in the constructor (although not recommended) #222 #252 Signed-off-by: Tatiana Leon <[email protected]>
tatianaleon
added a commit
that referenced
this issue
Sep 2, 2021
…reading #222 #252 Signed-off-by: Tatiana Leon <[email protected]>
Solved in 1.4.1. |
Awesome! 🥳 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Ubuntu 20.04 with Python 3.8 after continuously running and receiving data for a few minutes we get the message
read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
with a traceback starting at line 444 in
xbee/reader.py
and going all the way down toserial/serialposix.py
. The only solution appears to be to kill the process and start it again, but that's obviously non-ideal. It's not a hardware issue as XCTU reads continuously for hours with no issue.Nothing fancy happening in my code:
The text was updated successfully, but these errors were encountered: