IOError: [Errno 19] No such device

Bug #1552967 reported by Juan Trujillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nfcpy
New
Undecided
Unassigned

Bug Description

I'm occasionally seen this error message on my R-Pi... How can I prevent it or fix it?

Traceback (most recent call last):
  File "mainNfc.py", line 221, in <module>
    clf = nfc.ContactlessFrontend('tty:AMA0:pn532')
  File "/home/pi/nfcpy/nfc/clf/__init__.py", line 72, in __init__
    if path and not self.open(path):
  File "/home/pi/nfcpy/nfc/clf/__init__.py", line 146, in open
    self.device = device.connect(path)
  File "/home/pi/nfcpy/nfc/clf/device.py", line 104, in connect
    device = driver.init(tty)
  File "/home/pi/nfcpy/nfc/clf/pn532.py", line 368, in init
    raise IOError(errno.ENODEV, os.strerror(errno.ENODEV))
IOError: [Errno 19] No such device

Thanks,

-Juan

Revision history for this message
Stephen Tiedemann (stephen-tiedemann) wrote :

Can you try with latest trunk version, there is at least this http://bazaar.launchpad.net/~stephen-tiedemann/nfcpy/trunk/revision/267 change in relation to pn532 on serial port.

Revision history for this message
Juan Trujillo (juancarlos-trujillo) wrote :

Ok. I'm going to ask my team to update the stack to see if this problem goes away.

Revision history for this message
Juan Trujillo (juancarlos-trujillo) wrote :

We have definitely seen this error 4 times so far during this month

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.