|
project.newDocument not working?: msg#00012cms.opengroupware.xmlrpc.devel
Hello, I'm trying to test xml-rpc facilities, but it seems I'm getting into troubles. I'm using Python 2.3 & xmlrpclib.py from OGo website. Trying to run following example from XML-RPC Handbook (31 july 2003) #!/usr/bin/env python import xmlrpclib server = xmlrpclib.Server('http://localhost:2001', login='lucabu', password='xxxxx') result = server.project.newDocument( "P10690", "/newfile.txt", "Inhalt", { 'NSFileSubject' : "Titel", } ) I get the error: Traceback (most recent call last): File "./test.py", line 6, in ? { File "/usr/lib/python2.3/xmlrpclib.py", line 829, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.3/xmlrpclib.py", line 995, in __request verbose=self.__verbose File "/usr/lib/python2.3/xmlrpclib.py", line 866, in request return self.parse_response(h.getfile()) File "/usr/lib/python2.3/xmlrpclib.py", line 915, in parse_response return u.close() File "/usr/lib/python2.3/xmlrpclib.py", line 579, in close raise apply(Fault, (), self._stack[0]) xmlrpclib.Fault: <Fault 0: 'ObjcRuntimeException: SkyFSFileManager (instance) does not recognize createDocumentAtPath:contents:attributes:'> Obviously that file isn't created. Is the example a working one, or xmlrpcd is broken for this method? Thanks, Luca. -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problems with project.insert...: 00012, Helge Hess |
|---|---|
| Next by Date: | Re: project.newDocument not working?: 00012, Helge Hess |
| Previous by Thread: | Project :: Associated Companies / contactsi: 00012, ogw . wayne |
| Next by Thread: | Re: project.newDocument not working?: 00012, Helge Hess |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |