[ mailman-Bugs-1471487 ] ASCII decoding error in membership management

SourceForge.net noreply at sourceforge.net
Fri Apr 28 23:32:52 CEST 2006


Bugs item #1471487, was opened at 2006-04-16 23:32
Message generated for change (Comment added) made by ixsnet
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1471487&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: None
Priority: 5
Submitted By: Andreas Thienemann (ixsnet)
Assigned to: Nobody/Anonymous (nobody)
Summary: ASCII decoding error in membership management

Initial Comment:
When opening the list membership management view in the
admin interface, a notice about hitting a bug in 2.1.7
appears.

The error log has some more information:

admin(31507): [----- Mailman Version: 2.1.7 -----]
admin(31507): [----- Traceback ------]
admin(31507): Traceback (most recent call last):
admin(31507):   File
"/opt/mailman-2.1.7/scripts/driver", line 101, in run_main
admin(31507):     main()
admin(31507):   File
"/opt/mailman-2.1.7/Mailman/Cgi/admin.py", line 197, in
main
admin(31507):     show_results(mlist, doc, category,
subcat, cgidata)
admin(31507):   File
"/opt/mailman-2.1.7/Mailman/Cgi/admin.py", line 497, in
show_results
admin(31507):    
form.AddItem(membership_options(mlist, subcat, cgidata,
doc, form))
admin(31507):   File
"/opt/mailman-2.1.7/Mailman/Cgi/admin.py", line 869, in
membership_options
admin(31507):     all = [_m.encode() for _m in
mlist.getMembers()]
admin(31507): UnicodeError: ASCII decoding error:
ordinal not in range(128)
admin(31507): [----- Python Information -----]
admin(31507): sys.version     =   2.2.3 (#1, Nov 11
2003, 17:44:56)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-113)]
admin(31507): sys.executable  =   /usr/bin/python2
admin(31507): sys.prefix      =   /usr
admin(31507): sys.exec_prefix =   /usr
admin(31507): sys.path        =   /usr
admin(31507): sys.platform    =   linux2


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

>Comment By: Andreas Thienemann (ixsnet)
Date: 2006-04-28 21:32

Message:
Logged In: YES 
user_id=1450459

It seems, the problem is caused by an illegal email address
"marionmüller at t-online.de".

And yes, this was an upgrade from 2.0.x.

Would an illegal address such as this be filtered nowadays?


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

Comment By: Mark Sapiro (msapiro)
Date: 2006-04-17 01:51

Message:
Logged In: YES 
user_id=1123998

Did you just upgrade from Mailman 2.1.2 or older?

It appears that this list has one or more members with
(invalid?) non-ascii characters in their email address. I
think any version from 2.1.3 on would throw this exception,
and no recent version would allow the address to be added.

You might try something like

 bin/list_members listname | egrep '[^[:alnum:]@.-]'

to find the offending address.

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

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


More information about the Mailman-coders mailing list