Re: xmlrpclib and SimpleXMLRPCServer questions

2007-09-12 Thread Jeff McNeil
Duh... you can pass allow_none=True to SimpleXMLRPCServer() On 9/12/07, Jeff McNeil <[EMAIL PROTECTED]> wrote: > Have a look at the XMLRPC specification @ http://www.xmlrpc.com/spec. > There is no representation of NULL/None, thus server refuses to > Marshall the 'None' value. Update your se

Re: xmlrpclib and SimpleXMLRPCServer questions

2007-09-12 Thread Jeff McNeil
Have a look at the XMLRPC specification @ http://www.xmlrpc.com/spec. There is no representation of NULL/None, thus server refuses to Marshall the 'None' value. Update your server methods to return a value other than None and that message will go away. The other option is to set 'allow_none' to T

xmlrpclib and SimpleXMLRPCServer questions

2007-09-12 Thread xkenneth
So i've been trying to set up a simple server and client through XMLRPC in python. Here's my code: SERVER import SimpleXMLRPCServer class DataServer: def __init__(self): pass def test(self,test): self.this = test def show(self): print self.this server = S