iCal server web interface broken for one user
Imported from the Apple Support Forums via the Wayback Machine 🔗
I have a user that's unable to access the web interface. The calendar error log contains stuff like this:
2010-02-01 22:26:59-0600 [-] [caldav-8010] [QueryProtocol,client] Exception rendering:
2010-02-01 22:26:59-0600 [-] [caldav-8010] [QueryProtocol,client] Unhandled Error
2010-02-01 22:26:59-0600 [-] [caldav-8010] Traceback (most recent call last):
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/method/report_calquery.py", line 148, in queryCalendarObjectResource
2010-02-01 22:26:59-0600 [-] [caldav-8010] return report_common.responseForHref(request, responses, href, resource, calendar, timezone, propertiesForResource, query, isowner)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/method/report_common.py", line 133, in responseForHref
2010-02-01 22:26:59-0600 [-] [caldav-8010] d = propertiesForResource(request, propertyreq, resource, calendar, timezone, isowner)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/method/report_common.py", line 199, in propertyListForResource
2010-02-01 22:26:59-0600 [-] [caldav-8010] return _namedPropertiesForResource(request, prop.children, resource, calendar, timezone, isowner)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 832, in unwindGenerator
2010-02-01 22:26:59-0600 [-] [caldav-8010] return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
2010-02-01 22:26:59-0600 [-] [caldav-8010] --- <exception caught here> ---
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 749, in _inlineCallbacks
2010-02-01 22:26:59-0600 [-] [caldav-8010] result = g.send(result)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/method/report_common.py", line 256, in _namedPropertiesForResource
2010-02-01 22:26:59-0600 [-] [caldav-8010] propvalue = property.elementFromCalendarWithAccessRestrictions(calendar, access, timezone)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/caldavxml.py", line 647, in elementFromCalendarWithAccessRestrictions
2010-02-01 22:26:59-0600 [-] [caldav-8010] return CalendarData.fromCalendar(filtered_calendar)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/caldavxml.py", line 403, in fromCalendar
2010-02-01 22:26:59-0600 [-] [caldav-8010] return clazz(davxml.PCDATAElement(str(calendar)))
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/ical.py", line 361, in
_str_
2010-02-01 22:26:59-0600 [-] [caldav-8010] def
_str_ (self): return self._vobject.serialize()
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/vobject/base.py", line 186, in serialize
2010-02-01 22:26:59-0600 [-] [caldav-8010] return behavior.serialize(self, buf, lineLength, validate)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/vobject/behavior.py", line 148, in serialize
2010-02-01 22:26:59-0600 [-] [caldav-8010] if validate: cls.validate(obj, raiseException=True)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/vobject/behavior.py", line 83, in validate
2010-02-01 22:26:59-0600 [-] [caldav-8010] if not child.validate(raiseException, complainUnrecognized):
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/vobject/base.py", line 69, in validate
2010-02-01 22:26:59-0600 [-] [caldav-8010] return self.behavior.validate(self, *args, **kwds)
2010-02-01 22:26:59-0600 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/vobject/icalendar.py", line 989, in validate
2010-02-01 22:26:59-0600 [-] [caldav-8010] raise ValidateError(m)
2010-02-01 22:26:59-0600 [-] [caldav-8010] vobject.base.ValidateError: 'VEVENT components cannot contain both DTEND and DURATION components'
Presumably, I can go find the request that actually caused that (well, I've done that) and then go dig through the collection to see if he's got a malformed entry. But that's just painful sounding. And it's ugly. iCal does't have a problem reading and writing the collection. And it sure didn't have a problem creating the collection, either. (There are about 600 entries in the collection. and it's a small collection for this user.)
Is there a better course of action?
1 reply
Sign in or join Beachball Help to reply.
- 0