[ mailman-Bugs-876255 ] Unsubscribe fails with buffer exception

SourceForge.net noreply at sourceforge.net
Tue Jan 13 13:19:54 EST 2004


Bugs item #876255, was opened at 2004-01-13 18:19
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=876255&group_id=103

Category: (un)subscribing
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred Stutzman (chimprawk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unsubscribe fails with buffer exception

Initial Comment:
A user subscribed themselves with a trailing space (%00), 
and now all efforts to unsubscribe the user fail:

>From the web interface, you can select the user and 
"unsubscribe" them, but they remain on the list (mailman 
returns no confirmation message)

With the remove_members utility, it tells me "No such 
member", even though find_members "finds" the member.  
I've munged the address every way possible (using python 
and shell regexps, adding Unicode, etc) and still can't get the 
member to unsubscribe.

I googled for an answer to this problem, and this seems to 
be the only solution:

http://www.mail-archive.com/mailman-users@python.org/
msg21153.html

I'd say since the solution requires editing a binary, this 
qualifies as a bug.

I've also searched the bug archive and couldn't really come 
up with an answer; I do realize that my searches might not 
have been correct, so if the answer is in the bug database, I 
apologize.

Thank you very much,
Fred

Included is the traceback:

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 169, in 
main
change_options(mlist, category, subcat, cgidata, doc)
File "/usr/local/mailman/Mailman/Cgi/admin.py", line 1376, 
in 
change_options
newname = Utils.canonstr(newname, 
mlist.preferred_language)
File "/usr/local/mailman/Mailman/Utils.py", line 722, in 
canonstr
parts = re.split(r'&(?P[^;]+);', s)
File "/usr/src/build/215241-i386/install/usr/lib/python2.2/
sre.py", line 
156, in split
return _compile(pattern, 0).split(string, maxsplit)
TypeError: expected string or buffer




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

Python information:
Variable Value 
sys.version 2.2.2 (#1, Jan 30 2003, 21:26:22) [GCC 
2.96 20000731 (Red Hat 
Linux 7.3 2.96-112)] 
sys.executable /usr/bin/python2 
sys.prefix /usr 
sys.exec_prefix /usr 
sys.path /usr 
sys.platform linux2 




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

Environment variables:
Variable Value 
PATH_INFO /contemporaries/members 
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, 
image/pjpeg, 
application/vnd.ms-excel, application/msword, 
application/vnd.ms-powerpoint, */* 
CONTENT_TYPE multipart/form-data; 
boundary=---------------------------7d4ae20610182 
HTTP_REFERER 
http://lists.ibiblio.org/mailman/admin/contemporaries/
members?letter=a&chunk=0 
SERVER_SOFTWARE Apache/1.3.29 (Unix) mod_ssl/2.8.16 
OpenSSL/0.9.6b 
PHP/4.3.3 mod_perl/1.29 
PYTHONPATH /usr/local/mailman 
SCRIPT_FILENAME /usr/local/mailman/cgi-bin/admin 
SERVER_ADMIN admin at ibiblio.org 
SCRIPT_NAME /mailman/admin 
SCRIPT_URI http://lists.ibiblio.org/mailman/admin/
contemporaries/members 
SERVER_SIGNATURE Apache/1.3.29 Server at lists.ibiblio.org 
Port 80 
REQUEST_METHOD POST 
HTTP_HOST lists.ibiblio.org 
SCRIPT_URL /mailman/admin/contemporaries/members 
SERVER_PROTOCOL HTTP/1.1 
QUERY_STRING 
HTTP_CACHE_CONTROL no-cache 
REQUEST_URI /mailman/admin/contemporaries/members 
CONTENT_LENGTH 2873 
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.5; 
Windows NT 5.0; (R1 
1.3)) 
HTTP_CONNECTION Keep-Alive 
HTTP_COOKIE 
contemporaries+admin=28020000006934c9fd3f73280000006
234353264653936346633613065306334626530633439356263
6437636238376261613131643430
SERVER_NAME lists.ibiblio.org 
REMOTE_ADDR 12.107.204.12 
REMOTE_PORT 14877 
HTTP_ACCEPT_LANGUAGE en-us 
PATH_TRANSLATED /home/www/contemporaries/members 
SERVER_PORT 80 
GATEWAY_INTERFACE CGI/1.1 
HTTP_ACCEPT_ENCODING gzip, deflate 
SERVER_ADDR 152.2.210.119 
DOCUMENT_ROOT /home/www 


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

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



More information about the Mailman-coders mailing list