[ mailman-Bugs-828381 ] ASCII decoding error
SourceForge.net
noreply at sourceforge.net
Mon Nov 24 23:42:18 EST 2003
Bugs item #828381, was opened at 2003-10-22 13:53
Message generated for change (Settings changed) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=828381&group_id=103
Category: Web/CGI
Group: 2.1 (stable)
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Benjamin Reed (rangerrick)
Assigned to: Nobody/Anonymous (nobody)
Summary: ASCII decoding error
Initial Comment:
I get the following when trying to hit the "members"
page on a mailing list we have. If you need more
information for debugging or similar, let me know.
Traceback (most recent call last):
File "/var/mailman/scripts/driver", line 87, in run_main
main()
File "/var/mailman/Mailman/Cgi/admin.py", line 192,
in main
show_results(mlist, doc, category, subcat, cgidata)
File "/var/mailman/Mailman/Cgi/admin.py", line 491,
in show_results
form.AddItem(membership_options(mlist, subcat,
cgidata, doc, form))
File "/var/mailman/Mailman/Cgi/admin.py", line 799,
in membership_options
all = [_m.encode() for _m in mlist.getMembers()]
UnicodeError: ASCII decoding error: ordinal not in
range(128)
Python information:
Variable Value
sys.version 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC
3.2.2 20030222 (Red Hat Linux 3.2.2-4)]
sys.executable /usr/bin/python
sys.prefix /usr
sys.exec_prefix /usr
sys.path /usr
sys.platform linux2
----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-11-24 23:41
Message:
Logged In: YES
user_id=12800
It was possible in older versions of Mailman to get
non-ascii characters into the email addresses. Mailman
2.1.3 should prevent this, and removing invalid addresses as
you've done below is the way to fix older lists.
----------------------------------------------------------------------
Comment By: Jon Stevens (latchkey)
Date: 2003-10-27 13:53
Message:
Logged In: YES
user_id=234781
I recently posted this on the developer mailing list...no
response...=(
------ Forwarded Message
From: Jon Scott Stevens
Date: Tue, 21 Oct 2003 15:22:56 -0700
To: <mailman-developers at python.org>
Subject: [Mailman-Developers] Bug in mailman 2.1.3
Hello everyone.
I just got the stack trace below from one of my list
admins...not sure how
he screwed things up...but I figured I would let you
know...based on the
traceback, it seems that he somehow got a strange character
into the list of
members...
[share] 3:16pm ~ > ./bin/check_db -v sfindie-fence
List: sfindie-fence
/usr/local/mailman/lists/sfindie-fence/config.pck: okay
/usr/local/mailman/lists/sfindie-fence/config.pck.last: okay
/usr/local/mailman/lists/sfindie-fence/config.db: okay
/usr/local/mailman/lists/sfindie-fence/config.db.last: okay
[share] 3:17pm ~ > ./bin/list_members -u sfindie-fence
[no output]
[share] 3:18pm ~ > ./bin/list_members -i sfindie-fence
Êknights_bishop at yahooooooo.com
[share] 3:18pm ~ > ./bin/list_members -i sfindie-fence > bad.txt
[share] 3:19pm ~ > ./bin/remove_members -f bad.txt sfindie-fence
Yup...removing that address solved the problem.
Note: this list admin only has access to the web interface.
So, somehow he
was able to send corrupt data to the server which caused
this problem.
Probably not a good thing. =)
---------------------------------------------------------------------------
Bug in Mailman version 2.1.3
We're sorry, we hit a bug!
If you would like to help us identify the problem, please
email a copy of
this page to the webmaster for this site with a description
of what
happened. Thanks!
Traceback:
Traceback (most recent call last):
File "/usr/local/mailman/scripts/driver", line 87, in run_main
main()
File "/usr/local/mailman/Mailman/Cgi/admin.py", line 192,
in main
show_results(mlist, doc, category, subcat, cgidata)
File "/usr/local/mailman/Mailman/Cgi/admin.py", line 491,
in show_results
form.AddItem(membership_options(mlist, subcat, cgidata,
doc, form))
File "/usr/local/mailman/Mailman/Cgi/admin.py", line 799, in
membership_options
all = [_m.encode() for _m in mlist.getMembers()]
UnicodeError: ASCII decoding error: ordinal not in range(128)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=828381&group_id=103
More information about the Mailman-coders
mailing list