Bug with non-ascii characters during subscribe

Bug #266223 reported by Appleaaron
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

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
run_main
    main()
  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
    f.write(msg)
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/
Versions/2.3
sys.exec_prefix /System/Library/Frameworks/
Python.framework/Versions/2.3
sys.path /System/Library/Frameworks/Python.framework/
Versions/2.3
sys.platform darwin

[http://sourceforge.net/tracker/index.php?func=detail&aid=1186819&group_id=103&atid=100103]

Tags: web-cgi
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
<http://sourceforge.net/tracker/index.php?func=detail&aid=1235567&group_id=103&atid=300103>
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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