pySerial in a daemon process

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sun Aug 26 17:20:36 EDT 2007


paul wrote:

> If I put these back in and try to run the daemon, the script fails
> when I try to connect to the serial port, with this error:
> serial.serialutil.SerialException: Could not open port: [Errno 13]
> Permission denied: '/dev/ttyS0'

Did you check the permissions on this file? Often you have to be
member of a "dialout" group or similar to get access.

Regards,


Björn

-- 
BOFH excuse #172:

pseudo-user on a pseudo-terminal




More information about the Python-list mailing list