xml-rpc module question

Fredrik Lundh fredrik at effbot.org
Wed Dec 20 01:48:19 CET 2000


Scott Hathaway wrote:
> Thanks for the response.  When I try your suggested code, here is the error
> I get:
>
> C:\Projects\core>python core_client.py
> Traceback (most recent call last):
>   File "core_client.py", line 5, in ?
>     print testing.CubeIt(3)
>   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'

you're passing in a bogus second argument to the xmlrpclib
Server constructor.  don't do that.

</F>





More information about the Python-list mailing list