Hi, I have a program at a customer's site that seems to have random problem which eventually come down to not being able to read/write from serial ports.
I trapped all the exceptions I could think of and all of them look like this: *********************************** (ACCESS CONTROL)Fri, 24 Feb 2006 02:07:18 +0000 : Traceback (most recent call last): File "C \Python24\lib\site-packages\SC\readers\SC_IDTech_MiniSmart_RS232.py", line 308, in Is_Card_Inserted print 'CARD NOT INSERTED' IOError: [Errno 9] Bad file descriptor *********************************** To me that means the print failed ... that stdout was not available anymore. Am I correct? .... what could cause this. Many thanks. Philippe -- http://mail.python.org/mailman/listinfo/python-list