I updated yesterday and got this issue afterwards.
I tried the following workaround with worked for me :
--- serialposix.py.stock 2015-10-03 06:53:45.241261071 -0700
+++ serialposix.py 2015-10-03 06:55:07.481262475 -0700
@@ -457,7 +457,11 @@
# Disconnected devices, at least on Linux, show the
# behavior that they are always ready to read immediately
# but reading returns nothing.
- raise SerialException('device reports readiness to read but
returned no data (device disconnected?)')
+ # retrying the read seems to get me past this error:
+ # [ERROR] Can't read from printer (disconnected?)
(SerialException): device reports readiness to read but returned no data
(device disconnected?)
+
+ #raise SerialException('device reports readiness to read but
returned no data (device disconnected?)')
+ pass
see
https://superuser.com/questions/979722/serialport-doenst-work-correctly-after-ubuntu-update#
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1501240
Title:
Serialport doens't work correctly after ubuntu update?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1501240/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs