Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with the load_module.py #53

Open
jamesjing106 opened this issue Feb 19, 2021 · 2 comments
Open

Error with the load_module.py #53

jamesjing106 opened this issue Feb 19, 2021 · 2 comments

Comments

@jamesjing106
Copy link

I compiled the testmodule under example folder. Then copied it to scripts folder.
I ran the following command but met with an error. Could you help? Thanks
python3 module_load.py test_module
Traceback (most recent call last):
File "module_load.py", line 36, in
dev.write(2,"")
File "/Library/Python/3.8/site-packages/usb/core.py", line 943, in write
return fn(
File "/Library/Python/3.8/site-packages/usb/backend/libusb1.py", line 819, in bulk_write
return self.__write(self.lib.libusb_bulk_transfer,
File "/Library/Python/3.8/site-packages/usb/backend/libusb1.py", line 920, in __write
_check(retval)
File "/Library/Python/3.8/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 60] Operation timed out

@rpwnage
Copy link

rpwnage commented Mar 24, 2021

Operation timed out

This error seems USB Device related. Are you sure your USB Device is still connected correctly at the point you get this Error?

@jamesjing106
Copy link
Author

Yes, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants