Skip to content
This repository has been archived by the owner. It is now read-only.

Unicode error in the event name with imip notification #345

Closed
macosforgebot opened this issue May 2, 2011 · 3 comments
Closed

Unicode error in the event name with imip notification #345

macosforgebot opened this issue May 2, 2011 · 3 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented May 2, 2011

barbarisme@… originally submitted this as ticket:442

  • Keywords: Unicode, error
  • Cc: mail@…

Current trunk throws an unicode error with imip notification.
Creating a new event without imip notificaton with the event name containing accented characters (for example) works fine,
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
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented May 2, 2011

mail@… originally submitted this as comment:1:⁠ticket:442


Hi Barbarisme thanks for reporting this issue, I think this is a duplicate of my #⁠409 if I am not mistaken.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented May 2, 2011

mail@… originally submitted this as comment:2:⁠ticket:442

  • Cc mail@… added
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:3:⁠ticket:442

  • Status changed from new to closed
  • Resolution changed from to Duplicate

Yeah I think this is the same as #⁠409

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.