Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mjeveritt/aa5730798048408abf1405c64b9dd8a9 to your computer and use it in GitHub Desktop.
Save mjeveritt/aa5730798048408abf1405c64b9dd8a9 to your computer and use it in GitHub Desktop.
[ 3:12am] root@wand_MJE /home/debian/py-uio # ./p9.12-irq.py
Traceback (most recent call last):
File "./p9.12-irq.py", line 6, in <module>
pin = Uio( "p9.12-irq" )
File "/home/debian/py-uio/uio.py", line 63, in __init__
self._fd = os.open( path.path, flags )
AttributeError: 'PosixPath' object has no attribute 'path'
@mjeveritt
Copy link
Author

Traceback (most recent call last):
File "./p9.12-irq.py", line 5, in
pin = Uio( "p9.12-irq" )
File "/home/debian/py-uio/uio.py", line 66, in init
self._fd = os.open( str(path), flags )
FileNotFoundError: [Errno 2] No such file or directory: '/dev/uio/p9.12-irq'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment