[BangPypers] problem using Pyserial in Python

Senthil Kumaran senthil at uthcode.com
Fri Sep 16 16:08:02 CEST 2011


On Wed, Sep 14, 2011 at 10:22:47PM +0530, Jayneil Dalal wrote:
> *    raise SerialException("Could not configure port: %s" % msg)*
> *serial.serialutil.SerialException: Could not configure port: (5,
> 'Input/output error')*
> *

Your Port is not attached to the program yet, or perhaps you are using
a wrong socket.  You might need to do some basis testing and identify
what is happening. Try running the pyserial test suite or find how to
to verify that serial communication is indeed happening.

Also execute your program via terminal rather than IDLE. IDLE does not
play well with sockets.

-- 
Senthil


More information about the BangPypers mailing list