py_xmlrpc is it supported?

Brian Quinlan brian at sweetapp.com
Mon Jul 19 16:09:41 CEST 2004


elbertlev at hotmail.com wrote:
> Traceback (most recent call last):
>   File "G:\MyProjects\Python\xmlclient.py", line 9, in ?
>     rc = server.SendBinaryFunc("somebinaryfile.zip", Data)
>   File "G:\Python23\Lib\xmlrpclib.py", line 1029, in __call__
>     return self.__send(self.__name, args)
>   File "G:\Python23\Lib\xmlrpclib.py", line 1310, in __request
>     allow_none=self.__allow_none)
>   File "G:\Python23\Lib\xmlrpclib.py", line 961, in dumps
>     data = m.dumps(params)
>   File "G:\Python23\Lib\xmlrpclib.py", line 604, in dumps
>     dump(v, write)
>   File "G:\Python23\Lib\xmlrpclib.py", line 614, in __dump
>     raise TypeError, "cannot marshal %s objects" % type(value)
> TypeError: cannot marshal <type 'rpcBase64'> objects

You aren't showing your complete code or you changed the file names at
some point. Are you trying to send pyxmlrpclib.Binary objects using
xmlrpclib?

> And one more question: in "documentation" to py_xmlrpc is stated, that it
> supports blocking and non-blocking servers. Do you now how?

I don't know anything about pyxmlrpc. I wrote SimpleXMLRPCServer though.

Cheers,
Brian




More information about the Python-list mailing list