Bon.
J'arrive pas a faire marcher ce putain de module xmlrpc sous windows, ni mac os x.
Le serveur xmlrpc ecoute bien sur le port 4560, mais ca repond un string vide!!!! Et les connards du projet libriste n'en ont rien a secouer:
>>> server = xmlrpclib.ServerProxy("http://localhost:4560",verbose=True)
>>> server.echothis("dskjf")
send: 'POST /RPC2 HTTP/1.0\r\nHost: localhost:4560\r\nUser-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)\r\nContent-Type: text/xml\r\nContent-Length: 157\r\n\r\n'
send: "<?xml version='1.0'?>\n<methodCall>\n<methodName>echothis</methodName>\n<params>\n<param>\n<value><string>dskjf</string></value>\n</param>\n</params>\n</methodCall>\n"
reply: ''
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xmlrpclib.py", line 1243, in request
headers
xmlrpclib.ProtocolError: <ProtocolError for localhost:4560/RPC2: -1 >
Quelqu'un a une idee de comment debugger cette merde?