3 Replies Latest reply: Apr 18, 2008 6:50 AM by Cyrus Daboo
Kyle Rove Level 1 Level 1 (0 points)
One of my iCal clients who edits a delegated calendar cannot sync changes to the server per the following error: "HTTP/1.1 500 Internal Server Error" to operation CalDAVRemoveCalendarQueueableOperation. The option is given to go online, but the error just simply repeats.

Unfortunately, she made a number of changes that I'm afraid we'll lose if I turn off her delegate and turn it back on.

On the server, the error is as follows:
2008-02-29 22:30:03-0600 [-] [caldav-8009] [AMP,client] DELETE /calendars/users/kylerove/9AA76441-F8A4-4D68-AD91-A3FF09EFD0CE/ HTTP/1.1
2008-02-29 22:30:03-0600 [-] [caldav-8009] [AMP,client] 'File not found: /Library/CalendarServer/Documents/calendars/users/kylerove/9AA76441-F8A4-4D68-A D91-A3FF09EFD0CE'
2008-02-29 22:30:03-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/inbox/ HTTP/1.1
2008-02-29 22:30:03-0600 [-] [caldav-8009] [-] Exception rendering:
2008-02-29 22:30:03-0600 [-] [caldav-8009] [-] Unhandled Error
2008-02-29 22:30:03-0600 [-] [caldav-8009] Traceback (most recent call last):
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 239, in callback
2008-02-29 22:30:03-0600 [-] [caldav-8009] self._startRunCallbacks(result)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 304, in _startRunCallbacks
2008-02-29 22:30:03-0600 [-] [caldav-8009] self._runCallbacks()
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 317, in _runCallbacks
2008-02-29 22:30:03-0600 [-] [caldav-8009] self.result = callback(self.result, *args, **kw)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 601, in gotResult
2008-02-29 22:30:03-0600 [-] [caldav-8009] _deferGenerator(g, deferred)
2008-02-29 22:30:03-0600 [-] [caldav-8009] --- <exception caught here> ---
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 576, in _deferGenerator
2008-02-29 22:30:03-0600 [-] [caldav-8009] result = g.next()
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/method/propfind.py", line 193, in http_PROPFIND
2008-02-29 22:30:03-0600 [-] [caldav-8009] yield MultiStatusResponse(xml_responses)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/http.py", line 121, in _init_
2008-02-29 22:30:03-0600 [-] [caldav-8009] stream=davxml.MultiStatus(*xml_responses).toxml())
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 303, in toxml
2008-02-29 22:30:03-0600 [-] [caldav-8009] self.writeXML(output)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 228, in writeXML
2008-02-29 22:30:03-0600 [-] [caldav-8009] self.writeToStream(output, "", 0, True)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 284, in writeToStream
2008-02-29 22:30:03-0600 [-] [caldav-8009] child.writeToStream(output, ns, level+1, pretty)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 284, in writeToStream
2008-02-29 22:30:03-0600 [-] [caldav-8009] child.writeToStream(output, ns, level+1, pretty)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 284, in writeToStream
2008-02-29 22:30:03-0600 [-] [caldav-8009] child.writeToStream(output, ns, level+1, pretty)
2008-02-29 22:30:03-0600 [-] [caldav-8009] File "/usr/share/caldavd/lib/python/twisted/web2/dav/element/base.py", line 284, in writeToStream
2008-02-29 22:30:03-0600 [-] [caldav-8009] child.writeToStream(output, ns, level+1, pretty)
2008-02-29 22:30:03-0600 [-] [caldav-8009] exceptions.AttributeError: 'tuple' object has no attribute 'writeToStream'
2008-02-29 22:30:03-0600 [-] [caldav-8009]
2008-02-29 22:30:40-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/ HTTP/1.1
2008-02-29 22:30:41-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/C9E3BD7D-132A-475A-8D7F-B6C060045E30/ HTTP/1.1
2008-02-29 22:30:41-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/B5A637C8-7F38-44B5-9493-5BB8B2D47FF2/ HTTP/1.1
2008-02-29 22:30:41-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/D231CDBF-CF42-40C4-8CC7-73E60C74D283/ HTTP/1.1
2008-02-29 22:30:41-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/18D98FFF-9771-4ED8-8702-055D475CFC27/ HTTP/1.1
2008-02-29 22:30:42-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/82966F99-DE7F-46B8-8B3E-426A723163BC/ HTTP/1.1
2008-02-29 22:30:42-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/368B8F0E-B569-4323-B7B3-996805AC3903/ HTTP/1.1
2008-02-29 22:30:42-0600 [-] [caldav-8009] [AMP,client] PROPFIND /calendars/users/kylerove/inbox/ HTTP/1.1

Mac OS X (10.5.1)
  • Cyrus Daboo Level 2 Level 2 (230 points)
    To correct this you will need to do the following:

    1) Turn off iCalServer.
    2) Locate the /calendars/users/<<userid>>/inbox file in the server's document root directory.
    3) If there are any .ics files in the inbox moves those to a temporary location as a backup.
    4) Delete the inbox directory once all .ics have been moved out (only delete that one directory - nothing else).
    5) Restart the server and have the user try their iCal.
    6) Move the .ics files into the inbox directory that should have been created by the server.
  • Mathieu Lapointe Level 1 Level 1 (10 points)
    Can you tell me please where exactely is the "/calendars/users/<<userid>>/inbox file in the server's document root directory."... i can't find it on my server...
  • Cyrus Daboo Level 2 Level 2 (230 points)
    Check the server's Document Root path in Server Admin. Then, under that path look for calendars/users/<<userid>>/inbox and follow the instructions as before.