Unsubscribe fails with buffer exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Medium
|
Unassigned |
Bug Description
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://<email address hidden>/
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/
main()
File "/usr/local/
main
change_
File "/usr/local/
in
change_options
newname = Utils.canonstr(
mlist.preferred
File "/usr/local/
canonstr
parts = re.split(
File "/usr/src/
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
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg,
application/
application/
CONTENT_TYPE multipart/
boundary=
HTTP_REFERER
http://
members?
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/
SERVER_ADMIN <email address hidden>
SCRIPT_NAME /mailman/admin
SCRIPT_URI http://
contemporaries/
SERVER_SIGNATURE Apache/1.3.29 Server at lists.ibiblio.org
Port 80
REQUEST_METHOD POST
HTTP_HOST lists.ibiblio.org
SCRIPT_URL /mailman/
SERVER_PROTOCOL HTTP/1.1
QUERY_STRING
HTTP_CACHE_CONTROL no-cache
REQUEST_URI /mailman/
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+
234353264653936
643763623837626
SERVER_NAME lists.ibiblio.org
REMOTE_ADDR 12.107.204.12
REMOTE_PORT 14877
HTTP_ACCEPT_
PATH_TRANSLATED /home/www/
SERVER_PORT 80
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT_
SERVER_ADDR 152.2.210.119
DOCUMENT_ROOT /home/www
[http://