jericholab / rdl

Resistance Data Logger
https://jericholab.com/
GNU General Public License v2.0
6 stars 0 forks source link

Serial Exception: device reports readiness to read but returned no data #21

Open jericholab opened 5 months ago

jericholab commented 5 months ago

The pilot user reported several failures of the RDL-syncing script. The error happens both with the service and the manual execution in the terminal. The exact error is: Traceback (most recent call last): File "/home/orangepi/SHELF3/WIRED-logging-RDL-USB0.py", line 87, in data = ser.readline().decode('ascii') File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 595, in read raise SerialException( serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

The error happens about once a day.

20240328_164951

jericholab commented 5 months ago

It would be useful to be able to reproduce the error on the Montreal unit. I also wonder if the quantity of active sensors play a role. They are currently ALL active on Greenhouse. It would be possible active ALL on Montreal or deactivate some on Greenhouse.