Re: [pyusb-users] Error reading data with Python 3.1.2

2010-09-28 Thread Wander Lairson
I ran PyUSB regression tests with Python 3 and it is a PyUSB bug. I suggest you to use python 2 while the bug is not fixed. Complete Python 3 support is planned for latter releases. Wander 2010/9/27 Igor Mohor : > I tried but I get the same report: > > Traceback (most recent call last): >   File

Re: [pyusb-users] Error reading data with Python 3.1.2

2010-09-27 Thread Igor Mohor
I tried but I get the same report: Traceback (most recent call last): File "X:\epc601_demo_board\qt_creator\prvi\run_mojwidget.py", line 68, in get_status print("Received from USB: ", UsbConnection.epin.read(64, 100)) File "C:\Python31\lib\site-packages\usb\core.py", line 273, in read

Re: [pyusb-users] Error reading data with Python 3.1.2

2010-09-27 Thread Wander Lairson
It feels like some incompatibility bug with python 3. Try this: epin.read(64, 100) 2010/9/27 Igor Mohor : > Dear Gentleman, > > I need your help. I'm trying to read some data from the USB by using the > folowing code and I get the error. > > > PythonWin 3.1.2 (r312:79147, Mar 22 2010, 12:20:29) [

[pyusb-users] Error reading data with Python 3.1.2

2010-09-27 Thread Igor Mohor
Dear Gentleman, I need your help. I'm trying to read some data from the USB by using the folowing code and I get the error. PythonWin 3.1.2 (r312:79147, Mar 22 2010, 12:20:29) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further