Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

deleting an enterprise?: msg#00000

cms.opengroupware.xmlrpc.devel

Subject: deleting an enterprise?

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
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation