[Zope] xmlrpclib, TypeError, 'Too many arguments'

Brad Clements bkc@murkworks.com
Wed, 06 Nov 2002 11:22:30 -0500


On 6 Nov 2002 at 15:41, Tim Hicks wrote:

> However, I got to the bottom of things eventually.  See
> http://lists.zope.org/pipermail/zope-dev/2002-November/017922.html and
> resulting thread for more information.
> 

gee, sorry this is a bit late reply.

I had the same problem exposing PythonScript objects via xml-rpc.

Eventually I settled on accepting only two explicite parameters.

rqType=None, clientDict={}

so, all the kw args from the client actually get stuck into clientDict, and the client passes 
a request type and the dict.

argh..



Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
AOL-IM: BKClements