On Tue, Oct 30, 2012 at 11:01 AM, Wander Lairson Costa wrote: > 2012/10/30 Stefano Di Martino: >> I can't post any debug messages, because I don't know how to activate them >> in pyUSB. I tried this, but it doesn't work: >> >> os.environ['PYUSB_DEBUG_LEVEL'] = 'debug' >> > > You should do that before importing PyUSB modules.
Stefano, you can also write "set PYUSB_DEBUG_LEVEL=debug" in the Windows command line window before you launch your python application from the same window. >> With pyUSB I get the same error: "[Errno None] Overflow". Actually, that is not the /same/ error, is it? So libusbx is not returning LIBUSB_ERROR_NO_MEM and pyusb is not reporting "Insufficient memory" any longer and a different issue has come to the surface? Can you please post a USB log of the transfer so we can see what the device is sending when the string descriptor is requested? Without having the device it may be tricky for someone else to reproduce the issue. Tormod ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users