xmlrpclib oddness

Brian Quinlan brian at sweetapp.com
Fri Jul 19 11:51:26 EDT 2002


Eric Texier:

> DUMPS:
>   File "/usr/people/erict/bin//lib/python2.2/xmlrpclib.py", line 763,
in
> dumps
>     data = m.dumps(params)
>   File "/usr/people/erict/bin//lib/python2.2/xmlrpclib.py", line 454,
in
> dumps
>     self.__dump(v)
>   File "/usr/people/erict/bin//lib/python2.2/xmlrpclib.py", line 465,
in
> __dump
>     raise TypeError, "cannot marshal %s objects" % type(value)
> TypeError: cannot marshal <type 'NoneType'> objects

The server is returning None, which is not a valid XML-RPC type. Without
seeing the server code, it is impossible to say why.

Cheers,
Brian






More information about the Python-list mailing list