Re: [pyusb-users] usb.core.USBError - Sending control message failed. The request is not supported

2013-06-01 Thread Phil Edwards
I am still not having any luck using PyPTP. When I run any example using ptpTransport = PtpUsbTransport(PtpUsbTransport.findptps()[0]) I get the below stack trace. I am using the libusb-win32 backend, libusb0.dll Any ideas? What data can I provide to help as this is very frustrating? Thanks, Phil

[pyusb-users] Interop as_array function

2013-06-01 Thread Alan Jhonn Aguiar Schwyn
Hi, I'm was seeing some parts of the code and I found that in every "write"is called the _interop.as_array function changing a list or similar toa byte array. But if I pass a byte array, it change in a new! Seems that isnot efficient (but maybe array.array knows that and returns the same). Would