Nicholas Laveur
unread,Mar 31, 2011, 11:07:28 AM3/31/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSONRPClib (Python)
It appears that Named parameters are not working at all in the current
version of the code (0.1.3). I keep getting an error back:
>>> server = jsonrpclib.Server('http://localhost:8080');
>>> server.add(5,10)
15
>>> server.add(x=5,y=10)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.6-universal/egg/jsonrpclib/jsonrpc.py",
line 276, in __call__
File "build/bdist.macosx-10.6-universal/egg/jsonrpclib/jsonrpc.py",
line 225, in _request
File "build/bdist.macosx-10.6-universal/egg/jsonrpclib/jsonrpc.py",
line 529, in check_for_errors
jsonrpclib.jsonrpc.ProtocolError: (-32602, u'Invalid parameters.')
But according to the github this should work.
Any ideas whats going on, and possibly when we might expect a fix?