Gerry
2015-01-12 12:54:32 UTC
Now when I try to run my app I get the following error messages:
d1 = device.read(endpoint.bEndpointAddress, endpoint.wMaxPacketSize)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 918,
in read
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 507, in intr_read
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 562, in __read
timeout
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 380, in _check
raise USBError(errmsg, ret)
usb.core.USBError: [Errno None] Connection timed out"
I am using "virtualenv" which was set up with Python 3.2.3 yet the
errors are occurring in Python 2.7 PyUSB core and lisbusb0 even though I
have specified to include "backend/libusb1"
Any and all help will be greatly appreciated to fix these PyUSB problems.
Thanks,
Gerald
d1 = device.read(endpoint.bEndpointAddress, endpoint.wMaxPacketSize)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 918,
in read
self.__get_timeout(timeout))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 507, in intr_read
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 562, in __read
timeout
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb0.py",
line 380, in _check
raise USBError(errmsg, ret)
usb.core.USBError: [Errno None] Connection timed out"
I am using "virtualenv" which was set up with Python 3.2.3 yet the
errors are occurring in Python 2.7 PyUSB core and lisbusb0 even though I
have specified to include "backend/libusb1"
Any and all help will be greatly appreciated to fix these PyUSB problems.
Thanks,
Gerald