deleting an enterprise?

Stefan Kreutter <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Hi there!

I'm trying to delete an enterprise but I get a strage error: <Fault 0:  
'ObjcRuntimeException: NSBoolNumber (instance) does not recognize  
count'>
The xml-rpc calls run against a Skyrix-5 release of: 2004-03-15

 >>> print server.enterprise.getByNumber(4711)
{'extendedAttrs': {}, 'number': '4711', 'addresses': {'ship': {'type':  
'ship', 'id': 'skyrix://hampton.fit.fraunhofer.de/Sx_hampton/17390'},  
'bill': {'type': 'bill', 'id':  
'skyrix://hampton.fit.fraunhofer.de/Sx_hampton/17400'}},  
'extendedKeys': ['email2', 'email3', 'job_title', 'other_title1',  
'other_title2'], 'url': '', 'phones': {'10_fax': {'telephoneId': 17410,  
'info': '', 'type': '10_fax', 'number': ''}, '02_tel': {'telephoneId':  
17430, 'info': '', 'type': '02_tel', 'number': ''}, '01_tel':  
{'telephoneId': 17420, 'info': '', 'type': '01_tel', 'number': ''}},  
'phoneTypes': ['01_tel', '02_tel', '10_fax'], 'objectVersion': 3,  
'isComplete': True, 'keywords': '', 'owner': {'login': 'root', 'id':  
'skyrix://hampton.fit.fraunhofer.de/Sx_hampton/10000'}, 'id':  
'skyrix://hampton.fit.fraunhofer.de/Sx_hampton/17370', 'name':  
u'L\xf6sche Mich!'}


> ==> /var/log/skyrix5/skyrix-xmlrpcd.out <==
> 129.26.167.76 - - [01/Jul/2004:11:48:45 GMT] "POST /RPC2 HTTP/1.0" 200  
> 310 0.198 - - 76K
>
> ==> /var/log/skyrix5/skyrix-xmlrpcd.err <==
> Jul 01 11:49:03 xmlrpcd [2787]: <>DirectAction>>D decoded XMLRPC call:  
> <0x0867E1F4[XmlRpcMethodCall]: method=enterprise.getByNumber #paras=1>
>
> ==> /var/log/skyrix5/skyrix-xmlrpcd.out <==
> 129.26.167.76 - - [01/Jul/2004:11:49:03 GMT] "POST /RPC2 HTTP/1.0" 200  
> 3228 0.031 - - 0


 >>> print server.enterprise.delete(4711)
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/xmlrpclib.py", line 1029, in __call__
     return self.__send(self.__name, args)
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/xmlrpclib.py", line 1316, in __request
     verbose=self.__verbose
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/xmlrpclib.py", line 1080, in request
     return self._parse_response(h.getfile(), sock)
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/xmlrpclib.py", line 1219, in _parse_response
     return u.close()
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/xmlrpclib.py", line 742, in close
     raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 0: 'ObjcRuntimeException: NSBoolNumber  
(instance) does not recognize count'>

> ==> /var/log/skyrix5/skyrix-xmlrpcd.err <==
> Jul 01 11:49:53 xmlrpcd [2787]: <>DirectAction>>D decoded XMLRPC call:  
> <0x085CC1B4[XmlRpcMethodCall]: method=enterprise.delete #paras=1>
> Jul 01 11:49:53 xmlrpcd [2787]: WARNING(-[SkyDocumentManager  
> _globalIDForStringRelativeToBase:]): can't convert relative URL '4711'  
> to gid ..
> Jul 01 11:49:53 xmlrpcd [2787]: WARNING(-[SkyDocumentManager  
> documentForURL:]): couldn't turn URL '4711' into global-id ..
> Jul 01 11:49:53 xmlrpcd [2787]: WARNING(-[SkyDocumentManager  
> _globalIDForStringRelativeToBase:]): can't convert relative URL '4711'  
> to gid ..
> Jul 01 11:49:53 xmlrpcd [2787]: WARNING(-[SkyDocumentManager  
> documentForURL:]): couldn't turn URL '4711' into global-id ..
> Jul 01 11:49:53 xmlrpcd [2787]: >DirectAction> turn exception into  
> fault: (Exception name:<nil> class:ObjcRuntimeException  
> reason:NSBoolNumber (instance) does not recognize count info:<nil>)
>
> ==> /var/log/skyrix5/skyrix-xmlrpcd.out <==
> 129.26.167.76 - - [01/Jul/2004:11:49:53 GMT] "POST /RPC2 HTTP/1.0" 200  
> 310 0.198 - - 56K
>

-Stefan

-- 
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.