Bug with non-ascii characters during subscribe

Bug #266223 reported by Appleaaron
Affects Status Importance Assigned to Milestone
GNU Mailman

Bug Description

We have users from all over the world that access our mailing
lists. Recently we have found an error with users that include
their full name if it includes non-ascii characters such as é î and
æ. Here is the traceback:

Traceback (most recent call last):
  File "/Volumes/ngs/app/listsp/mailman/scripts/driver", line 87, in
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Cgi/
subscribe.py", line 96, in main
    process_form(mlist, doc, cgidata, language)
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Cgi/
subscribe.py", line 176, in process_form
    mlist.AddMember(userdesc, remote)
  File "/Volumes/ngs/app/listsp/mailman/Mailman/MailList.py", line
887, in AddMember
    self.internal_name(), who, by)
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Logging/
Syslog.py", line 40, in write
    self.write_ex(kind, msg, args, kws)
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Logging/
Syslog.py", line 58, in write_ex
    logf.write(msg + '\n')
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Logging/
StampedLogger.py", line 73, in write
    Logger.write(self, "%s %s" % (prefix, msg))
  File "/Volumes/ngs/app/listsp/mailman/Mailman/Logging/
Logger.py", line 91, in write
UnicodeEncodeError: 'ascii' codec can't encode character '\ue6' in
position 51: ordinal not in range(128)

Python information:

Variable Value
sys.version 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304
(Apple Computer, Inc. build 1495)]
sys.executable /usr/bin/python
sys.prefix /System/Library/Frameworks/Python.framework/
sys.exec_prefix /System/Library/Frameworks/
sys.path /System/Library/Frameworks/Python.framework/
sys.platform darwin


Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

I am unable to duplicate this in recent Mailman. This may be another
manifestation of the problem at
which was fixed in Mailman 2.1.7.

If anyone is still seeing this error, can you provide more specifics such
as the list's preferred language and the subscriber's preferred language.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.