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

Re: LSDBObjectCommandException - no participants set: msg#00016

cms.opengroupware.xmlrpc.devel

Subject: Re: LSDBObjectCommandException - no participants set

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