Yeah, I've been able to reproduce this error. A remaining piece of code from the pre-Unicode trunk. I've created a new ticket: #3491 and try to come with a patch later.
Cheers, Manu On 7/31/06, Le Boulanger Yann <[EMAIL PROTECTED]> wrote:
Hi, I just got a TB in trac logs about encoding. The concerned ticket is: http://trac.gajim.org/ticket/872 The problem probably comes from the name of the reporter that contain a ń 2006-07-31 15:32:56,703 Trac[web_ui] ERROR: Failure sending notification on change to ticket #872: 'ascii' codec can't encode character u'\u0144' in position 52: ordinal not in range(128) Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 531, in _do_save tn.notify(ticket, newticket=False, modtime=now) File "/usr/lib/python2.3/site-packages/trac/ticket/notification.py", line 127, in notify NotifyEmail.notify(self, ticket.id, subject) File "/usr/lib/python2.3/site-packages/trac/notification.py", line 208, in notify Notify.notify(self, resid) File "/usr/lib/python2.3/site-packages/trac/notification.py", line 107, in notify self.send(torcpts, ccrcpts) File "/usr/lib/python2.3/site-packages/trac/ticket/notification.py", line 248, in send hdrs['Message-ID'] = self.get_message_id(dest[0], self.modtime) File "/usr/lib/python2.3/site-packages/trac/ticket/notification.py", line 234, in get_message_id dig = md5.new(s).hexdigest() UnicodeEncodeError: 'ascii' codec can't encode character u'\u0144' in position 52: ordinal not in range(128) Thanks for your good job Yann _______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
-- Manu
_______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
