Apple Event: May 7th at 7 am PT

Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

500 Internal Server Error

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)

Posted on Feb 29, 2008 8:38 PM

Reply
3 replies

Mar 3, 2008 9:05 AM in response to Kyle Rove

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.

500 Internal Server Error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.