Hi, I'm working on some CalDAV-Software, at the moment only a small java-library, and I'm trying to test the REPORT-method. I've send a modified example (only the dates modified) from the CalDAV-RfC (7.8.1) and got an internal server error. I'm running rev1602 and can't upgrade atm, but I couldn't find a similar bug in the bug tracker. Thats what I've send according to wireshark:
REPORT /calendars/users/lenfers/test/ HTTP/1.1 User-Agent: Jakarta Commons-HttpClient/3.0.1 Host: caldav.smartofficebuilding.de:8008 Content-Length: 980
<?xml version="1.0" encoding="utf-8" ?> <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop> <D:getetag/> <C:calendar-data> <C:comp name="VCALENDAR"> <C:prop name="VERSION"/> <C:comp name="VEVENT"> <C:prop name="SUMMARY"/> <C:prop name="UID"/> <C:prop name="DTSTART"/> <C:prop name="DTEND"/> <C:prop name="DURATION"/> <C:prop name="RRULE"/> <C:prop name="RDATE"/> <C:prop name="EXRULE"/> <C:prop name="EXDATE"/> <C:prop name="RECURRENCE-ID"/> </C:comp> <C:comp name="VTIMEZONE"/> </C:comp> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VEVENT"> <C:time-range start="20070610T000000Z" end="20070625T000000Z"/> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query>
And this was in the log of the Calendar Server:
2007-06-27 15:34:27+0200 [-] [caldav-8008] [HTTPChannel,391,134.102.204.238] REPORT /calendars/users/lenfers/test/ HTTP/1.1 2007-06-27 15:34:27+0200 [-] [caldav-8008] [HTTPChannel,391,134.102.204.238] REPORT /calendars/users/lenfers/test/ HTTP/1.1 2007-06-27 15:34:28+0200 [-] [caldav-8008] [-] Exception rendering: 2007-06-27 15:34:28+0200 [-] [caldav-8008] [-] Unhandled Error 2007-06-27 15:34:28+0200 [-] [caldav-8008] Traceback (most recent call last): 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 239, in callback 2007-06-27 15:34:28+0200 [-] [caldav-8008] self._startRunCallbacks(result) 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 304, in _startRunCallbacks 2007-06-27 15:34:28+0200 [-] [caldav-8008] self._runCallbacks() 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks 2007-06-27 15:34:28+0200 [-] [caldav-8008] self.result = callback(self.result, *args, **kw) 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 601, in gotResult 2007-06-27 15:34:28+0200 [-] [caldav-8008] _deferGenerator(g, deferred) 2007-06-27 15:34:28+0200 [-] [caldav-8008] --- <exception caught here> --- 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 576, in _deferGenerator 2007-06-27 15:34:28+0200 [-] [caldav-8008] result = g.next() 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/CalendarServer/twistedcaldav/method/report.py", line 131, in http_REPORT 2007-06-27 15:34:28+0200 [-] [caldav-8008] yield d.getResult() 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/internet/defer.py", line 555, in getResult 2007-06-27 15:34:28+0200 [-] [caldav-8008] self.result.raiseException() 2007-06-27 15:34:28+0200 [-] [caldav-8008] File "/opt/iCalServer/Twisted/twisted/python/failure.py", line 303, in raiseException 2007-06-27 15:34:28+0200 [-] [caldav-8008] raise self.type, self.value, self.tb 2007-06-27 15:34:28+0200 [-] [caldav-8008] exceptions.AttributeError: tzid 2007-06-27 15:34:28+0200 [-] [caldav-8008]
Regards & TIA, Jakob
Hi Jakob, --On June 27, 2007 3:45:08 PM +0200 Jakob Lenfers <mailinglisten@jl42.de> wrote:
I'm working on some CalDAV-Software, at the moment only a small java-library, and I'm trying to test the REPORT-method. I've send a modified example (only the dates modified) from the CalDAV-RfC (7.8.1) and got an internal server error. I'm running rev1602 and can't upgrade atm, but I couldn't find a similar bug in the bug tracker.
I think there may be a problem with the calendar data stored in /calendars/users/lenfers/test/, as I think that is what the exception is about. Can you locate the directory on disk for that calendar, zip it up and create a ticket on Trac and add that as an attachment. I can then take a look at it and see what might be going on. -- Cyrus Daboo
Cyrus Daboo schrieb:
Can you locate the directory on disk for that calendar, zip it up and create a ticket on Trac and add that as an attachment. I can then take a look at it and see what might be going on.
All right, its done: http://trac.calendarserver.org/projects/calendarserver/ticket/187 Jakob
participants (2)
-
Cyrus Daboo
-
Jakob Lenfers