LSDBObjectCommandException - no participants set

View: New views
1 Messages — Rating Filter:   Alert me  

LSDBObjectCommandException - no participants set

by Fabi Avilés :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi people, I've been reading the thread and found one message wich
says the same problem wich is happening to me, but there is no
solution in it. That problem is:

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)

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


This is copied from the old message from Adam Tauno Williams.

Can anybody help me please??? I'm usign InstantOgo 1.0.5 ASE
--
OpenGroupware.org XML-RPC
xmlrpc@...
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
LightInTheBox - Buy quality products at wholesale price!