xml-rpc module question
slhath at home.com
Wed Dec 20 01:54:50 CET 2000
I tried your code and I get the following error: (BTW - I am obviously a
newbie to python :))
Traceback (most recent call last):
File "core_client.py", line 5, in ?
File "xmlrpclib.py", line 547, in __call__
return self.__send(self.__name, args)
File "xmlrpclib.py", line 627, in __request
response = self.__transport.request(
AttributeError: 'int' object has no attribute 'request'
Thanks for the help and thanks for writing the xml-rpc library!
"Fredrik Lundh" <fredrik at effbot.org> wrote in message
news:KhT%5.652$Qb7.44208 at newsb.telia.net...
> I wrote:
> > def call(self, method, params):
> > if method == 'CubeIt':
> > return self.CubeIt(params)
> correction: params is a tuple. tuples cannot be cubed.
> better make that:
> return self.CubeIt(params)
> or, better:
> return apply(self.CubeIt, params)
> (anybody know a good book on debugging with print
> statements? ;-)
More information about the Python-list