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

SourceForge.net noreply at sourceforge.net
Wed Apr 20 18:59:06 CEST 2005


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

Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
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


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

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