|
|
Choosing A Webhost: |
Re: LSDBObjectCommandException - no participants set: msg#00016cms.opengroupware.xmlrpc.devel
> > > The problem is that wether I try to insert an appointment > > > without any participants, or wether I put some participants in it, I > > > always get the same exception ("no participants set"). It seems that > > > this version of Ogo requires participants to insert and appointment, > > > and that there is some bug in xml-rpc (or I am doing something wrong > > > or have something misconfigured) > > Maybe you should create a bugreport on the matter and attach a small > > Python script which reproduces the issue. > http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1683 > http://bugzilla.opengroupware.org/bugzilla/attachment.cgi?id=434&action=view What I'm seeing is that I can create *ONE* appointment, and subsequent calls to appointment.insert fail. Restarting ogo-xmlrpcd allows me to create one more appointment, etc... First Run ----------------------- [root@ws1 ~]# ./test2.py 20060118T10:10:10 20060118T11:15:10 /usr/lib/python2.3/xmlrpclib.py:373: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up return "<DateTime %s at %x>" % (repr(self.value), id(self)) {'startDate': <DateTime '20060118T10:10:10' at b7cb4bcc>, 'endDate': <DateTime '20060118T11:15:10' at b7cc968c>, 'title': 'Test Appointment I'} Appointment Created! ---------------------- {'startDate': <DateTime u'20060118T10:10:10' at b7c7d9ac>, 'endDate': <DateTime u'20060118T11:15:10' at b7c7d9ec>, 'title': 'Test Appointment I', 'participants': [{'password': '***************', 'dbStatus': 'updated', 'name': 'Williams', 'firstname': 'adam', 'companyId': 10410, 'number': 'OGo10410', 'objectVersion': 2, 'isLocked': 0, 'isAccount': 1, 'isExtraAccount': 0, 'isPerson': 1, 'ownerId': 10000, 'login': 'adam', 'isIntraAccount': 1, 'templateUserId': 9999}], 'location': '', 'id': 'skyrix://ws1.cable.orka.telecoms.bg/TestBox/10730'} Second Run ----------------------- [root@ws1 ~]# ./test2.py 20060119T10:10:10 20060119T11:15:10 /usr/lib/python2.3/xmlrpclib.py:373: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up return "<DateTime %s at %x>" % (repr(self.value), id(self)) {'startDate': <DateTime '20060119T10:10:10' at b7cb5bcc>, 'endDate': <DateTime '20060119T11:15:10' at b7cca68c>, 'title': 'Test Appointment I'} Traceback (most recent call last): File "./test2.py", line 18, in ? result = server.appointment.insert(dict) File "/usr/lib/python2.3/xmlrpclib.py", line 1029, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.3/xmlrpclib.py", line 1316, in __request verbose=self.__verbose File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in request return self._parse_response(h.getfile(), sock) File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in _parse_response return u.close() File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close raise Fault(**self._stack[0]) xmlrpclib.Fault: <Fault 0: 'LSDBObjectCommandException: appointment::new failed: no participants set !'> -- 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: LSDBObjectCommandException - no participants set, Adam Tauno Williams |
|---|---|
| Next by Date: | POGI 0.2.1 Released, Adam Tauno Williams |
| Previous by Thread: | Re: LSDBObjectCommandException - no participants set, Adam Tauno Williams |
| Next by Thread: | POGI 0.2.1 Released, Adam Tauno Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |