Message1621
Not 100% sure what the error is here, but thought I'd flag it in case it was something that should be looked at...
When connecting to a XML-RPC server that's immediately closing it's input socket, I enabled debug in the httplib as below:
import httplib
httplib.HTTPConnection.debuglevel = 1
which resulted in the following error:
Traceback (innermost last):
File "Air_GetBal.py", line 17, in ?
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 824, in __call__
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 974, in _ServerProxy__request
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 843, in request
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 881, in send_content
File "/export/home/topup/jython2.2b2/Lib/httplib.py", line 566, in send
AttributeError: __getitem__
Interestingly, I don't enable the debugging, I get different behaviour and see the following instead...
Traceback (innermost last):
File "Air_GetBal.py", line 17, in ?
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 824, in __call__
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 974, in _ServerProxy__request
File "/export/home/topup/jython2.2b2/Lib/xmlrpclib.py", line 845, in request
File "/export/home/topup/jython2.2b2/Lib/httplib.py", line 1013, in getreply
File "/export/home/topup/jython2.2b2/Lib/httplib.py", line 764, in getresponse
File "/export/home/topup/jython2.2b2/Lib/httplib.py", line 273, in begin
File "/export/home/topup/jython2.2b2/Lib/httplib.py", line 231, in _read_status
IOError: Connection reset
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:50 | admin | link | issue1728431 messages |
2008-02-20 17:17:50 | admin | create | |
|