[CalendarServer-users] Problems with report
Jakob Lenfers
mailinglisten at jl42.de
Wed Jun 27 06:45:08 PDT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.macosforge.org/pipermail/calendarserver-users/attachments/20070627/e59eee22/signature.bin
More information about the calendarserver-users
mailing list