[CalendarServer-users] problem with iPhone 5/iOS 6.1.3

Julian Y Koh kohster at northwestern.edu
Wed Oct 2 19:34:57 PDT 2013


Greetings all,

I'm running a truly ancient version of Darwin CalendarServer (I honestly don't even know what version, but it's from ~January 2008) on an equally ancient iMac G5 running Mac OS X 10.5.8.  This setup has been working perfectly for all of my clients since then, with the current crop being iCal on Mac OS X 10.6, 10.7, and 10.8 machines as well as my iPhone 4S which was running iOS 6 and is now running iOS 7.  

The only client that is not cooperating is an iPhone 5 running iOS 6.1.3.  When it adds the CalDAV account and tries to load the calendars, I get a whole bunch of log messages in access.log and error.log that look like this:

=============
66.245.68.154 - ical [02/Oct/2013:21:29:59 -0500] "PROPFIND /calendars/users/ical/5A131DBC-7199-4BF7-906F-010C1DE00ADC/ HTTP/1.1" 207 518 "-" "iOS/6.1.3 (10B329) dataaccessd/1.0" [83.1 ms]
2013-10-02 21:29:59-0500 [-] [caldav-8008]  [HTTPChannel,17,66.245.68.154] REPORT /calendars/users/ical/5A131DBC-7199-4BF7-906F-010C1DE00ADC/ HTTP/1.1
2013-10-02 21:29:59-0500 [-] [caldav-8008]  [-] Exception rendering:
2013-10-02 21:29:59-0500 [-] [caldav-8008]  [-] Unhandled Error
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	Traceback (most recent call last):
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 239, in callback
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self._startRunCallbacks(result)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 304, in _startRunCallbacks
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self._runCallbacks()
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self.result = callback(self.result, *args, **kw)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 601, in gotResult
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    _deferGenerator(g, deferred)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	--- <exception caught here> ---
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 576, in _deferGenerator
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    result = g.next()
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/CalendarServer/twistedcaldav/method/report.py", line 62, in http_REPORT
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    doc = doc.getResult()
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 555, in getResult
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self.result.raiseException()
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/internet/defer.py", line 317, in _runCallbacks
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self.result = callback(self.result, *args, **kw)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/web2/dav/util.py", line 66, in gotAllData
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    return filter(result)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/web2/dav/util.py", line 79, in parse
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    doc = davxml.WebDAVDocument.fromString(xml)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/web2/dav/element/parser.py", line 223, in parse
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    parser.parse(source)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    xmlreader.IncrementalParser.parse(self, source)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self.feed(buffer)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self._parser.Parse(data, isFinal)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self._cont_handler.endElementNS(pair, None)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/Twisted/twisted/web2/dav/element/parser.py", line 178, in endElementNS
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    element = top["class"](*top["children"], **top["attributes"])
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/CalendarServer/twistedcaldav/caldavxml.py", line 1187, in __init__
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    super(TimeRange, self).__init__(*children, **attributes)
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	  File "/Library/CalendarServer/twistedcaldav/caldavxml.py", line 85, in __init__
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	    self.end   = parse_date_or_datetime(attributes["end"  ])
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	exceptions.KeyError: 'end'
2013-10-02 21:29:59-0500 [-] [caldav-8008] 	
===============

I have no idea what is different about this client compared to all of the others.  Does anyone want to offer any troubleshooting advice other than to upgrade?  :):)

Thanks in advance!!

-- 
Julian Y. Koh
Acting Associate Director, Telecommunications and Network Services
Northwestern University Information Technology (NUIT)

2001 Sheridan Road #G-166
Evanston, IL 60208
847-467-5780
NUIT Web Site: <http://www.it.northwestern.edu/>
PGP Public Key:<http://bt.ittns.northwestern.edu/julian/pgppubkey.html>





More information about the calendarserver-users mailing list