#442: Unicode error in the event name with imip notification ----------------------------------+----------------------------------------- Reporter: barbarisme@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Crash/data loss Keywords: Unicode error | Radar: ----------------------------------+----------------------------------------- Current trunk throws an unicode error with imip notification.[[BR]] Creating a new event without imip notificaton with the event name containing accented characters (for example) works fine,[[BR]]but if you add an external participant (with imip notification), DCS throws this error :
{{{ 2011-05-02 11:05:03+0200 [-] [mailgateway] 2011-05-02 11:05:03+0200 [-] [twext.web2.server#info] Exception rendering: 2011-05-02 11:05:03+0200 [-] [mailgateway] 2011-05-02 11:05:03+0200 [-] [twext.web2.server#error] [Failure instance: Traceback: <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:345:errback 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:424:_startRunCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:441:_runCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:949:gotResult 2011-05-02 11:05:03+0200 [-] [mailgateway] --- <exception caught here> --- 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:891:_inlineCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/python/failure.py:338:throwExceptionIntoGenerator 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twistedcaldav/resource.py:310:renderHTTP 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:891:_inlineCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/python/failure.py:338:throwExceptionIntoGenerator 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twext/web2/static.py:127:renderHTTP 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:891:_inlineCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/python/failure.py:338:throwExceptionIntoGenerator 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twext/web2/resource.py:109:renderHTTP 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/Twisted/build/lib.linux-i686-2.6/twisted/internet/defer.py:893:_inlineCallbacks 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twistedcaldav/mail.py:334:http_POST 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twistedcaldav/mail.py:940:outbound 2011-05-02 11:05:03+0200 [-] [mailgateway] /home/barbuk/caltest/CalendarServer/twistedcaldav/mail.py:1032:generateEmail 2011-05-02 11:05:03+0200 [-] [mailgateway] ] }}} The new event is modified, but there is no communication with postfix. '''INFO''' - DCS current trunk version - Debian Squeeze - Openldap directory - Imip via postfix '''ERROR STEPS''' - create a new event with a name containing special char (like "réunion") - add an external participant (for imip notification) - Save the new event -- Ticket URL: <http://trac.calendarserver.org/ticket/442> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev