Using Mailman 2.1.4 on FreeBSD

I am attempting to edit the listinfo.html template file so that the edit
subscriber options form appears before the subscription form as this is more
practical for supporting my user base.

I have successfully switched the two forms on the listinfo page and made
minor edits to make it more user friendly but have encountered one problem.
If a user enters an address that is not subscribed to the list and then
presses the "Unsubscribe or Edit Options" button (which I have renamed to
"Edit My Options") a bug traceback screen results.  In the original unedited
listinfo page if the address is not subscribed mailman is able to tell the
user this without producing a bug traceback.

A modified listinfo page for one of the lists is available for viewing here:
http://groups.michbar.org/mailman/listinfo/aces

Attached is my modified listinfo.html template file and the traceback
report.

Any help in pointing out how I might have incorrectly modified the
listinfo.html file to cause this error is greatly appreciated.

-Brendan 
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/local/mailman/scripts/driver", line 87, in run_main
    main()
  File "/usr/local/mailman/Mailman/Cgi/options.py", line 226, in main
    password, user):
  File "/usr/local/mailman/Mailman/SecurityManager.py", line 220, in WebAuthenticate
    ok = self.CheckCookie(ac, user)
  File "/usr/local/mailman/Mailman/SecurityManager.py", line 300, in CheckCookie
    ok = self.__checkone(c, authcontext, user)
  File "/usr/local/mailman/Mailman/SecurityManager.py", line 310, in __checkone
    key, secret = self.AuthContextInfo(authcontext, user)
  File "/usr/local/mailman/Mailman/SecurityManager.py", line 105, in AuthContextInfo
    secret = self.getMemberPassword(user)
  File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 102, in 
getMemberPassword
    raise Errors.NotAMemberError, member
NotAMemberError: [EMAIL PROTECTED]



Python information:

Variable        Value
sys.version     2.3.3 (#2, Apr 21 2004, 16:37:47) [GCC 2.95.4 20020320 [FreeBSD]]
sys.executable  /usr/local/bin/python
sys.prefix      /usr/local
sys.exec_prefix /usr/local
sys.path        /usr/local
sys.platform    freebsd4

Environment variables:

Variable        Value
HTTP_REFERER    http://groups.michbar.org/mailman/listinfo/aces
SERVER_SOFTWARE         Apache/1.3.27 OpenSSL/0.9.7 (Unix) PHP/4.3.6
SCRIPT_NAME     /mailman/options
SERVER_SIGNATURE        
Apache/1.3.27 OpenSSL/0.9.7 Server at groups.michbar.org Port 80
REQUEST_METHOD  POST
HTTP_KEEP_ALIVE         300
SERVER_PROTOCOL         HTTP/1.1
QUERY_STRING    
CONTENT_LENGTH  65
HTTP_ACCEPT_CHARSET     ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT         Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) 
Gecko/20040614 Firefox/0.8
HTTP_CONNECTION         keep-alive
HTTP_COOKIE     
site=280200000069a235fd40732800000031363234326633366263373430373238363966366235306462353965303164366239633965613633
SERVER_NAME     groups.michbar.org
REMOTE_ADDR     134.215.212.178
PATH_TRANSLATED         /usr/local/apache/htdocs/listserv/aces
SERVER_PORT     80
SERVER_ADDR     198.66.208.45
DOCUMENT_ROOT   /usr/local/apache/htdocs/listserv/
PYTHONPATH      /usr/local/mailman
SCRIPT_FILENAME         /usr/local/mailman/cgi-bin/options
SERVER_ADMIN    [EMAIL PROTECTED]
HTTP_HOST       groups.michbar.org
REQUEST_URI     /mailman/options/aces
HTTP_ACCEPT     
application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
GATEWAY_INTERFACE       CGI/1.1
REMOTE_PORT     17939
HTTP_ACCEPT_LANGUAGE    en-us,en;q=0.5
CONTENT_TYPE    application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING    gzip,deflate
PATH_INFO       /aces
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Reply via email to