[ mailman-Bugs-1186819 ] Bug with non-ascii characters during subscribe

SourceForge.net noreply at sourceforge.net
Fri Feb 15 19:51:17 CET 2008


Bugs item #1186819, was opened at 2005-04-20 09:59
Message generated for change (Comment added) made by msapiro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1186819&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web/CGI
Group: 2.1 (stable)
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Aaron (appleaaron)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug with non-ascii characters during subscribe

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Mark Sapiro (msapiro)
Date: 2008-02-15 10:51

Message:
Logged In: YES 
user_id=1123998
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1186819&group_id=103


More information about the Mailman-coders mailing list