[Mailman-Users] Bug in Mailman version 2.1.4

Mark Sapiro msapiro at value.net
Sat Feb 26 05:49:51 CET 2005


Camila Canto wrote:
>
>This bug appear when I try to use the tool listinfo in Mailman.
>What can I do?
>Thanks
>
>Camila Canto
>
><>________________________________________________________________________________________________________
>
>*Bug in Mailman version 2.1.4*<>
>
>
>      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/lib/mailman/scripts/driver", line 87, in run_main
>    main()
>  File "/usr/lib/mailman/Mailman/Cgi/roster.py", line 85, in main
>    password, addr)
>  File "/usr/lib/mailman/Mailman/SecurityManager.py", line 220, in WebAuthenticate
>    ok = self.CheckCookie(ac, user)
>  File "/usr/lib/mailman/Mailman/SecurityManager.py", line 300, in CheckCookie
>    ok = self.__checkone(c, authcontext, user)
>  File "/usr/lib/mailman/Mailman/SecurityManager.py", line 310, in __checkone
>    key, secret = self.AuthContextInfo(authcontext, user)
>  File "/usr/lib/mailman/Mailman/SecurityManager.py", line 105, in AuthContextInfo
>    secret = self.getMemberPassword(user)
>  File "/usr/lib/mailman/Mailman/OldStyleMemberships.py", line 102, in getMemberPassword
>    raise Errors.NotAMemberError, member
>NotAMemberError: div_d-g
>
>
>
>------------------------------------------------------------------------
>
>
>        Python information:
>
>Variable 	Value
>sys.version 	2.2.2 (#1, Mar 6 2003, 13:36:19) [GCC 3.2.2]
>sys.executable 	/usr/bin/python
>sys.prefix 	/usr
>sys.exec_prefix 	/usr
>sys.path 	/usr
>sys.platform 	linux-i386
>
>------------------------------------------------------------------------
>
>
>        Environment variables:
>
>Variable 	Value
>PATH_INFO 	/div_d-g
>CONTENT_LENGTH 	100
>CONTENT_TYPE 	application/x-www-form-urlencoded
>HTTP_COOKIE 
>div_a-c+admin=28020000006910871c42732800000036363638623066643538633438646662626131396432366538353937333533383731323731383038 
>
>SCRIPT_FILENAME 	/usr/lib/mailman/cgi-bin/roster
>PYTHONPATH 	/usr/lib/mailman
>SERVER_SOFTWARE 	Apache/2.0.45 (Unix) mod_ssl/2.0.45 OpenSSL/0.9.7a 
>PHP/4.3.3
>SERVER_ADMIN 	you at your.address
>SCRIPT_NAME 	/mailman/roster
>SERVER_SIGNATURE 	
>Apache/2.0.45 (Unix) mod_ssl/2.0.45 OpenSSL/0.9.7a PHP/4.3.3 Server at 
>www.cps.softex.br Port 80
>
>REQUEST_METHOD 	POST
>HTTP_HOST 	www.cps.softex.br
>HTTP_KEEP_ALIVE 	300
>SERVER_PROTOCOL 	HTTP/1.1
>QUERY_STRING 	
>PATH_TRANSLATED 	/srv/www/default/html/div_d-g
>REQUEST_URI 	/mailman/roster/div_d-g
>HTTP_ACCEPT 
>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 
>
>HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
>HTTP_USER_AGENT 	Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.3) 
>Gecko/20040930
>HTTP_CONNECTION 	keep-alive
>HTTP_REFERER 	http://www.cps.softex.br/mailman/listinfo/div_d-g
>SERVER_NAME 	www.cps.softex.br
>REMOTE_ADDR 	192.168.1.249
>REMOTE_PORT 	33439
>HTTP_ACCEPT_LANGUAGE 	pt-br,pt;q=0.5
>UNIQUE_ID 	31jHgciIoRMAADq4Va0AAAAE
>SERVER_PORT 	80
>GATEWAY_INTERFACE 	CGI/1.1
>HTTP_ACCEPT_ENCODING 	gzip,deflate
>SERVER_ADDR 	200.136.161.19
>DOCUMENT_ROOT 	/srv/www/default/html

It appears from the above information that you have attempted to get a
roster of list members from the listinfo page for the div_d-g list,
and you have entered the listname div_d-g and maybe the list password
in the e-mail and password fields.

You also have a login cookie for the div_a-c list maybe because you
just visited that roster.

I've seen this problem in Mailman 2.1.4 in similar contexts and it may
or may not occur in more recent versions, but Mailman seems to get
confused if there is a cookie that is not applicable to the current
request and errors like this occur.

I would suggest you either go to an admin page for the div_a-c list and
explicitly logout before trying to get the div_d-g roster or use the
list admin's e-mail address and password instead of the list name and
list password.

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list