Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3491 closed defect (fixed)

Notification fails if the first recipient address contains non-ASCII characters

Reported by: Emmanuel Blot Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: ticket system Version: devel
Severity: normal Keywords: notification email
Cc: asterix@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

(initially reported by Yann on trac-dev mailing list)

Python traceback

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)

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 18 years ago

Milestone: 0.10
Resolution: fixed
Status: newclosed

Should be fixed in [3582].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.