[CalendarServer-dev] [Calendar and Contacts Server] #456: Crash if name in accounts.xml contains umlaut

Calendar and Contacts Server trac at macosforge.org
Tue Jul 12 14:20:34 PDT 2011


#456: Crash if name in accounts.xml contains umlaut
-----------------------------------+----------------------------------------
  Reporter:  mail@…                |       Owner:  sagen@…        
      Type:  Defect                |      Status:  reopened       
  Priority:  5: Not set            |   Milestone:                 
 Component:  Calendar Server       |    Severity:  Other          
Resolution:                        |    Keywords:                 
     Radar:  9723314               |  
-----------------------------------+----------------------------------------
Changes (by mail@…):

  * status:  closed => reopened
  * resolution:  Software changed =>


Comment:

 I get the following now:

 {{{
 2011-07-12 23:18:45+0200 [-] [caldav-0]  [PooledMemCacheProtocol,client]
 [twistedcaldav.scheduling.imip#debug] POSTing iMIP message to gateway...
 To: 'mailto:felix at derklecks.de', From :'urn:uuid:272c501f-366c-517d-
 8af3-44c37777ef83'
 2011-07-12 23:18:45+0200 [-] [caldav-0]         BEGIN:VCALENDAR
 2011-07-12 23:18:45+0200 [-] [caldav-0]         VERSION:2.0
 2011-07-12 23:18:45+0200 [-] [caldav-0]         METHOD:REQUEST
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
 2011-07-12 23:18:45+0200 [-] [caldav-0]         BEGIN:VTIMEZONE
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZID:Europe/Berlin
 2011-07-12 23:18:45+0200 [-] [caldav-0]         X-LIC-
 LOCATION:Europe/Berlin
 2011-07-12 23:18:45+0200 [-] [caldav-0]         BEGIN:DAYLIGHT
 2011-07-12 23:18:45+0200 [-] [caldav-0]         DTSTART:19700329T020000
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZNAME:CEST
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZOFFSETFROM:+0100
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZOFFSETTO:+0200
 2011-07-12 23:18:45+0200 [-] [caldav-0]         END:DAYLIGHT
 2011-07-12 23:18:45+0200 [-] [caldav-0]         BEGIN:STANDARD
 2011-07-12 23:18:45+0200 [-] [caldav-0]         DTSTART:19701025T030000
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZNAME:CET
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZOFFSETFROM:+0200
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TZOFFSETTO:+0100
 2011-07-12 23:18:45+0200 [-] [caldav-0]         END:STANDARD
 2011-07-12 23:18:45+0200 [-] [caldav-0]         END:VTIMEZONE
 2011-07-12 23:18:45+0200 [-] [caldav-0]         BEGIN:VEVENT
 2011-07-12 23:18:45+0200 [-] [caldav-0]         UID:f225ea27-92dc-4562
 -890c-fa34a0c31a85
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 DTSTART;TZID=Europe/Berlin:20110716T230000
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 DTEND;TZID=Europe/Berlin:20110717T000000
 2011-07-12 23:18:45+0200 [-] [caldav-0]         ATTENDEE;PARTSTAT=NEEDS-
 ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:felix
 2011-07-12 23:18:45+0200 [-] [caldav-0]          @derklecks.de
 2011-07-12 23:18:45+0200 [-] [caldav-0]         CREATED:20110712T210322Z
 2011-07-12 23:18:45+0200 [-] [caldav-0]         DTSTAMP:20110712T211845Z
 2011-07-12 23:18:45+0200 [-] [caldav-0]         LAST-
 MODIFIED:20110712T211844Z
 2011-07-12 23:18:45+0200 [-] [caldav-0]         ORGANIZER;CN=Felix
 Möller;EMAIL=mail at felixmoeller.de;PARTSTAT=ACCEPTED;RO
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 LE=CHAIR;RSVP=TRUE:urn:uuid:272c501f-366c-517d-8af3-44c37777ef83
 2011-07-12 23:18:45+0200 [-] [caldav-0]         SEQUENCE:2
 2011-07-12 23:18:45+0200 [-] [caldav-0]         SUMMARY:Neuer Termin
 2011-07-12 23:18:45+0200 [-] [caldav-0]         TRANSP:OPAQUE
 2011-07-12 23:18:45+0200 [-] [caldav-0]         END:VEVENT
 2011-07-12 23:18:45+0200 [-] [caldav-0]         END:VCALENDAR
 2011-07-12 23:18:45+0200 [-] [caldav-0]
 2011-07-12 23:18:45+0200 [-] [mailgateway] 2011-07-12 23:18:45+0200
 [HTTPChannel,0,127.0.0.1] [twext.web2.server#info] POST /inbox HTTP/1.0
 2011-07-12 23:18:45+0200 [-] [mailgateway] 2011-07-12 23:18:45+0200
 [HTTPChannel,0,127.0.0.1] [calendarserver.provision.root#debug] Internal
 authentication header (x-calendarserver-internal) detected
 2011-07-12 23:18:45+0200 [-] [mailgateway] 2011-07-12 23:18:45+0200
 [HTTPChannel,0,127.0.0.1] [calendarserver.provision.root#debug] Internal
 authentication header (x-calendarserver-internal) verified
 2011-07-12 23:18:45+0200 [-] [mailgateway] 2011-07-12 23:18:45+0200
 [HTTPChannel,0,127.0.0.1] [calendarserver.provision.root#debug] Internal
 principal B86ED9D3-49BD-44F8-8F5E-C89D08753DAC being assigned to authnUser
 and authzUser
 2011-07-12 23:18:45+0200 [-] [mailgateway] 2011-07-12 23:18:45+0200 [-]
 [twistedcaldav.mail.MailHandler#debug] Mail gateway reusing token
 48a35e22-31e3-4b43-968a-193452ca4df2 for urn:uuid:272c501f-366c-517d-
 8af3-44c37777ef83 (originator), mailto:felix at derklecks.de (recipient) and
 f225ea27-92dc-4562-890c-fa34a0c31a85 (icaluid)
 2011-07-12 23:18:46+0200 [-] [mailgateway] 2011-07-12 23:18:46+0200 [-]
 [twext.web2.server#info] Exception rendering:
 2011-07-12 23:18:46+0200 [-] [mailgateway] 2011-07-12 23:18:46+0200 [-]
 [twext.web2.server#error] [Failure instance: Traceback: <type
 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in
 position 45: ordinal not in range(128)
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:345:errback
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:424:_startRunCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:441:_runCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:949:gotResult
 2011-07-12 23:18:46+0200 [-] [mailgateway]      --- <exception caught
 here> ---
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:891:_inlineCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/python/failure.py:338:throwExceptionIntoGenerator
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twistedcaldav/resource.py:309:renderHTTP
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:891:_inlineCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/python/failure.py:338:throwExceptionIntoGenerator
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twext/web2/static.py:127:renderHTTP
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:891:_inlineCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/python/failure.py:338:throwExceptionIntoGenerator
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twext/web2/resource.py:109:renderHTTP
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twisted/internet/defer.py:893:_inlineCallbacks
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twistedcaldav/mail.py:334:http_POST
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twistedcaldav/mail.py:964:outbound
 2011-07-12 23:18:46+0200 [-] [mailgateway]      /usr/lib/python2.6/site-
 packages/twistedcaldav/mail.py:1205:generateEmail
 2011-07-12 23:18:46+0200 [-] [mailgateway]      ]
 2011-07-12 23:18:46+0200 [-] [caldav-0]  [AuthorizedHTTPGetter,client]
 /usr/lib/python2.6/site-packages/twisted/web/error.py:53:
 exceptions.DeprecationWarning: BaseException.message has been deprecated
 as of Python 2.6
 }}}

 Line 1205 is
 {{{
         htmlText = htmlTemplate % details
 }}}

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/456#comment:4>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list