-
I've spent some time reading the API on MSDN and poking at it in pdb. I'm not well acquainted with C or Windows API debugging, but I am willing to do research, experimentation and testing with some direction.
2010-01-05 16:17:59 UTC in Python Serial Port Extension
-
C:\Users\Aaron\Documents\src\trunk\pyserial\test>c:\Python31\python.exe test.py
Traceback (most recent call last):
File "test.py", line 37, in
bytes_0to255 = bytes([range(256)])
TypeError: 'range' object cannot be interpreted as an integer
[range(265)] results in a singleton list of range objects. I'm guessing list(range(256)) was meant but bytes(range(256)) can happi.
2010-01-04 21:22:49 UTC in Python Serial Port Extension
-
C:\Users\Aaron\Documents\src\trunk\pyserial\test>c:\Python26\python.exe test.py
Some tests for the serial module.
Part of pyserial (http://pyserial.sf.net) (C)2001-2009 cliechti@gmx.net
Intended to be run on different platforms, to ensure portability of
the code.
For all these tests a simple hardware is required.
Loopback HW adapter:
Shortcut these pin pairs:
TX RX
RTS ...
2010-01-04 21:08:09 UTC in Python Serial Port Extension
-
What can I do to help you troubleshoot this and correct the problem? Can you give me any more detailed pointers?.
2010-01-04 19:46:28 UTC in Python Serial Port Extension
-
After a little bit more testing it must be because it was created on a x86 machine.
I created 4 installers using python 2.6 and python 3.1 on x86 and amd64 machines. both x86 installers fail on the 64bit os. Both 64bit installers work on 64bit os. The 64bit installer doesn't run on the 32bit os at all. Perhaps it isn't possible to create a single windows installer even though this is a pure...
2010-01-04 19:44:31 UTC in Python Serial Port Extension
-
Reproduced on Win7 64.
C:\Users\Aaron>c:\Python31\python.exe
Python 3.1.1 (r311:74483, Aug 17 2009, 16:45:59) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> p = serial.Serial(port='COM1', baudrate=9600, bytesize=8, parity='N', stopbits=1)
>>> p.write(b'OC0')
Traceback (most recent call last):
File...
2009-12-28 15:27:13 UTC in Python Serial Port Extension
-
Stupid mistake. This error was caused by invoking python from inside the pyserial source directory.
2009-12-28 15:04:41 UTC in Python Serial Port Extension
-
I confirmed this problem on Vista 64 and Win7 64 this morning.
"Cannot install" - "No Python installation found in the registry."
I have access to Win7 64 for testing fixes.
2009-12-28 14:58:07 UTC in Python Serial Port Extension
-
I failed to mention that pySerial 2.4 installed from source works properly with Python 2.6.4 on Windows XP 64.
2009-12-27 19:19:24 UTC in Python Serial Port Extension
-
With Python 3.1.1 and pySerial 2.5 on Windows XP 64. Attempting to import serial responds that serialwin32 cannot be found. The serialwin32 module is visible in the serial directory of the site-packages directory.
2009-12-27 19:18:10 UTC in Python Serial Port Extension