I would like to publicly thank Serge Orloff for the effort he has put in so far
and his patience...
He is a Scholar and a Gentleman.
Serge Orloff wrote:
| 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,
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
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
Serge Orlof wrote:
| H J van Rooyen wrote:
| > Serge Orloff wrote:
| >
| > | H J van Rooyen wrote:
| > | > 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_
H J van Rooyen wrote:
> Serge Orloff wrote:
>
> | H J van Rooyen wrote:
> | > 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, time
Serge Orloff wrote:
| H J van Rooyen wrote:
| > 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 bad luck - comms erro
H J van Rooyen wrote:
> 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 bad luck - comms error
> File "/home/hvr/Polling/lib/
Hi All,
I am writing a polling controller for an RS-485 line that has
several addressable devices connected.
It is a small access control system.
All is well- the code runs for anything from three hours to three days, then
sometimes when I get a comms error and have to send out a nak character, it