[Bug 1501240] Re: Serialport doens't work correctly after ubuntu update?

Charles i.am.cswan at gmail.com
Sat Oct 3 16:34:44 UTC 2015


Just updated Ubuntu yesterday and now Python exhibits this error when
trying to read from serial port. Guess I'll roll back the kernel and see
if that works.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1501240

Title:
  Serialport doens't work correctly after ubuntu update?

Status in python2.7 package in Ubuntu:
  Confirmed

Bug description:
  I have a strange problem with my serial port. It seems that sth has changed after ubuntu updates and reboot. 
  When I try to open serial port in python I get exception: 

  'device reports readiness to read but returned no data (device
  disconnected or multiple access on port?)'

  przem at przem:~/Pulpit/bat/scripts$ python
  Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
  [GCC 4.8.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import serial
  >>> ser = serial.Serial("/dev/ttyUSB0", 57600)
  >>> ser.read()
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 475, in read
      raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
  serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
  >>> 

  I know that there are also different users who has this problem. 
  more info:
  http://superuser.com/questions/979722/serialport-doenst-work-correctly-after-ubuntu-update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1501240/+subscriptions



More information about the foundations-bugs mailing list