Re: general xmlrpc

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On 19. Feb 2005, at 16:22 Uhr, Chris H wrote:
> ==> CREATED DICT: {'isTemplateUser': '', 'templateUserId': 
> 'skyrix://linux.local/t23/9999', 'objectVersion': 1, 'isAccount': 1, 
> 'isExtraAccount': 0, 'isPerson': 1, 'ownerId': 
> 'skyrix://linux.local/t23/10000', 'login': 'test5', 'isIntraAccount': 
> 1, 'id': 'skyrix://linux.local/t23/11360'} <type 'dict'>
...
>  File 
> "/home/chris123/Downloads/OGo_stuff/python_scripts/ogo_add_user2.py", 
> line 77, in addUserToSystem
>    print "==> created account %s with ID %s" % (result['login'],
> KeyError: 'companyId'

Well, OK, the XML-RPC daemon returns no field which is named 
'companyId'. Just replace it with 'id' and everthing should be OK.
I've done it on the website (needs to wait till the next publish).

Greets,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.