Menu

#189 pyserial 3.4 with Python 2.17.13 under Windows 10

v2.7
open
Windows 10 (1)
5
2017-08-02
2017-08-02
No

I'm using pyserial 3.4 with Python 2.17.13 under Windows 10.
I obtained the following error.

NAPOport COM5 PATHNAME test.txt file os.path.getsize(PATHNAME) 43
Traceback (most recent call last):
File "NAPOSend1.0.py", line 327, in <module>
r = sendfile(NAPOport, PATHNAME, os.path.getsize(PATHNAME))
File "NAPOSend1.0.py", line 116, in sendfile
ser = Serial(port, 115200, timeout=10, writeTimeout=0) # Fake speed set for
Virtual Comm
File "build\bdist.win-amd64\egg\serial\serialwin32.py", line 31, in init
File "build\bdist.win-amd64\egg\serial\serialutil.py", line 240, in init
File "build\bdist.win-amd64\egg\serial\serialwin32.py", line 78, in open
File "build\bdist.win-amd64\egg\serial\serialwin32.py", line 222, in _reconfig
ure_port
serial.serialutil.SerialException: Cannot configure port, something went wrong.
Original message: WindowsError(87, 'Incorrect Parameter.')

Discussion


Log in to post a comment.