Re: xmlrpclib hangs execution

2007-07-10 Thread Arno Stienen
Thanks! I'll try that one too to find the easiest solution. For portability, it is easier to use a new transport class and not have to patch files of the Python distribution. Using a similar strategy, I used this class just before I read about your patch, which works fine too: http://mail.pytho

Re: xmlrpclib hangs execution

2007-07-10 Thread Arno Stienen
Hi Andy, Your patches solves the problem too. Thanks! One thing: if I use the unpatched xmlrpclib.py, the printed output of xml calls look like: {'state': 0, 'str': 'Info_RT'} But if I use your patch, they look like: state0strInfo_RT I prefer the former, as it is easier to ex

Re: xmlrpclib hangs execution

2007-07-08 Thread Arno Stienen
Arno Stienen wrote: > I'll now try this to fool the client into thinking the server 'should' > keep the connection open: > > http://www.velocityreviews.com/forums/t329401-re-xmlrpc-httplib-and-ssl-http-11-xmlrpc-client.html > Just to conclude. Above actually work

Re: xmlrpclib hangs execution

2007-05-30 Thread Arno Stienen
Tijs wrote: >> Arno Stienen wrote: >>> Perhaps I should be a bit more specific. When using this code to connect >>> to a remote XML-RPC server (C++, xmlrpc++0.7 library): >>> >>>import xmlrpclib >>>server = xmlrpclib.Server

Re: xmlrpclib hangs execution

2007-05-30 Thread Arno Stienen
Tijs, Thank you very much for specific comments. They are most useful, and I'll try both strategies. If the latter works out, I'll post the results back on the list. Bye, Arno. Tijs wrote: > Arno Stienen wrote: > >> Arno Stienen wrote: >>> Perhaps I should be

Re: xmlrpclib hangs execution

2007-05-30 Thread Arno Stienen
I'm sorry to keep bumping my request, but I've been working on this problem for several months now and am stuck. Perhaps you do not have a direct answer, but know someone or someforum where I could ask these XML-RPC or TCP/IP package questions. Thanks, Arno. Arno Stienen wrote: &

xmlrpclib hangs execution

2007-05-28 Thread Arno Stienen
w.utwente.nl/~arno/rtaixml/roberto-conreq-python-ws.txt http://ctw-bw008.ctw.utwente.nl/~arno/rtaixml/roberto-conreq-trace.txt http://ctw-bw008.ctw.utwente.nl/~arno/rtaixml/roberto-conreq-trace-hardbreak.txt (The first three ConReq files all include killing the server after ~28 seconds, thus resulting

Re: Using RTAI-XML with Python hangs Python execution

2007-05-26 Thread Arno Stienen
/ctw-bw008.ctw.utwente.nl/~arno/rtaixml/roberto-conreq-trace.txt http://ctw-bw008.ctw.utwente.nl/~arno/rtaixml/roberto-conreq-trace-hardbreak.txt The first three files all include killing the server after ~30 seconds, thus resulting in the correct output. In the fourth files, tracing is stoppe