Re: Intermittent Failure on Serial Port (Trace Result)

2006-06-12 Thread Serge Orlov
H J van Rooyen wrote: > Note that the point of failure is not the same place in the python file, but > it > is according to the traceback, again at a flush call... Yes, traceback is bogus. Maybe the error is raised during garbage collection, although the strace you've got doesn't show that. The

Re: Intermittent Failure on Serial Port (Trace Result)

2006-06-12 Thread H J van Rooyen
8<-- (snip) old fail: | | > | > Traceback (most recent call last): | | > | > File "portofile.py", line 232, in ? | | > | > ret_val = main_routine(port, pollstruct, pfifo) | | > | > File "portofile.py", line 108, in main_routine | | > | > send_nak(port, timeout) # so