2014-09-02 11:17 GMT-03:00 Julio Sánchez <julitosanch...@gmail.com>:
> Hi list!
>
> I'm new here. I would like to help me with this issue.
>
> Python 2.7 (r27:82525, Jul  4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] on
> win32
> Type "copyright", "credits" or "license()" for more information.
>>>> import usb
>>>> busses = usb.busses()
>
> Traceback (most recent call last):
>   File "<pyshell#1>", line 1, in <module>
>     busses = usb.busses()
>   File "C:\Python27\usb\legacy.py", line 333, in busses
>     return (Bus(),)
>   File "C:\Python27\usb\legacy.py", line 329, in __init__
>     self.devices = [Device(d) for d in core.find(find_all=True)]
>   File "C:\Python27\usb\legacy.py", line 314, in __init__
>     self.configurations = [Configuration(c) for c in dev]
>   File "C:\Python27\usb\core.py", line 723, in __iter__
>     yield Configuration(self, i)
>   File "C:\Python27\usb\core.py", line 419, in __init__
>     configuration
>   File "C:\Python27\usb\backend\libusb10.py", line 471, in
> get_configuration_descriptor
>     config, byref(cfg)))
>   File "C:\Python27\usb\backend\libusb10.py", line 403, in _check
>     raise USBError(_str_error[ret], ret, _libusb_errno[ret])
> USBError: [Errno 2] Entity not found
>
> I have all my code in unix and works fine, but when i tried on windows i
> found a lot of problems to run my app.
>
> Any suggestions?
>

Hi,

Sorry for the delay. What version are you using? There are a lot of
fixes for usb legacy on git master [1], you might want to try it.

[1] https://github.com/walac/pyusb/tarball/master

-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to