2015-08-08 22:18 GMT-03:00 Paul Cornelius :
> OK I see.
>
> I thought I had the latest release (1.0.0.a2), which I got from
> sourceforge. I got to there by following the link on
> http://walac.github.io/pyusb/. Also I searched exhaustively for anyone
> reporting this bug before diving into the p
OK I see.
I thought I had the latest release (1.0.0.a2), which I got from
sourceforge. I got to there by following the link on
http://walac.github.io/pyusb/. Also I searched exhaustively for anyone
reporting this bug before diving into the pyusb internals. What did I do
wrong?
Thanks,
Paul
Hi,
Notice the code the get_string has changed:
https://github.com/walac/pyusb/blob/master/usb/util.py#L295-L340
2015-08-08 1:14 GMT-03:00 Paul Cornelius :
> I found a bug in usb.util.py in the function get_string. This function was
> failing with an "Overflow" error on my Windows 8.1 machine, u
I found a bug in usb.util.py in the function get_string. This function
was failing with an "Overflow" error on my Windows 8.1 machine, using
Python 3.3 and libusb-1.0.
If this function is called with the default value for langid (None), it
first makes a call to get_descriptor to obtain a list