[CalendarServer-users] Free/Busy iTip crash

Kervin L. Pierre kervin at adevsoft.com
Fri Jun 6 10:47:04 PDT 2008


Hello,

I am working on a CalDAV free/busy client and
I am running into a '500 Internal Server Error'

I'm guessing it's not a permissions issue since
I am doing a free/busy lookup on my own 
account.  Maybe the dates are a problem? :-)
How does the calendar server handle out-of-
range requests?  How can I query the range?

I've included the iCalendar data and the server
log with the exception at the end of this email.
This is the latest SVN build.

The iCalendar data looks like...

BEGIN:VCALENDAR
PRODID:-//OpenConnector.Org//Open Connector Groupware//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VFREEBUSY
UID:{e0bf2b91-d6f9-4613-9aa0e2cbe03d6417}-{cda44d9b-1684-fc43-9410d589bac3
 89da}
DTSTART:16010101T000000Z
DTEND:45000831T235959Z
ORGANIZER:mailto:kervin at adevsoft.com
ATTENDEE;CN=Kervin L. Pierre:mailto:kervin at adevsoft.com
END:VFREEBUSY
END:VCALENDAR

The log looks like...

2008-06-06 09:20:41-0700 [-] [caldav-8008]  [HTTPChannel,1,208.54.95.95] [twiste
d.web2.dav.resource#info] POST /calendars/__uids__/6a357efc-8a18-5252-80ad-b11a7
1a1232f/outbox/ HTTP/1.1
2008-06-06 09:20:41-0700 [-] [caldav-8008]  [HTTPChannel,1,208.54.95.95] [twiste
d.web2.dav.resource#info] POST /calendars/__uids__/6a357efc-8a18-5252-80ad-b11a7
1a1232f/outbox/ HTTP/1.1
2008-06-06 09:20:42-0700 [-] [caldav-8008]  [HTTPChannel,1,208.54.95.95] Excepti
on rendering:
2008-06-06 09:20:42-0700 [-] [caldav-8008]  [HTTPChannel,1,208.54.95.95] Unhandl
ed Error
2008-06-06 09:20:42-0700 [-] [caldav-8008]      Traceback (most recent call last
):
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Twisted
/twisted/web2/static.py", line 124, in renderHTTP
2008-06-06 09:20:42-0700 [-] [caldav-8008]          d = maybeDeferred(super(Stat
icRenderMixin, self).renderHTTP, request)
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Twisted
/twisted/internet/defer.py", line 107, in maybeDeferred
2008-06-06 09:20:42-0700 [-] [caldav-8008]          result = f(*args, **kw)
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Twisted
/twisted/web2/resource.py", line 88, in renderHTTP
2008-06-06 09:20:42-0700 [-] [caldav-8008]          return method(request)
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Twisted
/twisted/internet/defer.py", line 813, in unwindGenerator
2008-06-06 09:20:42-0700 [-] [caldav-8008]          return _inlineCallbacks(None
, f(*args, **kwargs), Deferred())
2008-06-06 09:20:42-0700 [-] [caldav-8008]      --- <exception caught here> ---
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Twisted
/twisted/internet/defer.py", line 724, in _inlineCallbacks
2008-06-06 09:20:42-0700 [-] [caldav-8008]          result = g.throw(result.type
, result.value, result.tb)
2008-06-06 09:20:42-0700 [-] [caldav-8008]        File "/home/caldav/src/Calenda
rServer/twistedcaldav/schedule.py", line 195, in http_POST
2008-06-06 09:20:42-0700 [-] [caldav-8008]          yield self.authorize(request
, (caldavxml.Schedule(),))
2008-06-06 09:20:42-0700 [-] [caldav-8008]      exceptions.TypeError: iteration
over non-sequence
2008-06-06 09:20:42-0700 [-] [caldav-8008]



More information about the calendarserver-users mailing list