[Mailman-Users] TypeError: not indexable???

David Gibbs david at midrange.com
Tue Aug 21 16:35:38 CEST 2001


I've been getting the following error pretty often ... I can usually
recover by simply refreshing the web page, but it's annoying.

Aug 21 09:20:42 2001 admin(6951): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(6951): [----- Mailman Version: 2.0.6 -----]
admin(6951): [----- Traceback ------]
admin(6951): Traceback (innermost last):
admin(6951):   File "/home/mailman/scripts/driver", line 96, in run_main
admin(6951):     main()
admin(6951):   File "/home/mailman/Mailman/Cgi/admindb.py", line 78, in main
admin(6951):     Auth.authenticate(mlist, cgidata)
admin(6951):   File "/home/mailman/Mailman/Cgi/Auth.py", line 65, in authenticate
admin(6951):     if cgidata.has_key('adminpw') and \
admin(6951):   File "/home/mailman/Mailman/pythonlib/cgi.py", line 564, in has_key
admin(6951):     raise TypeError, "not indexable"
admin(6951): TypeError: not indexable
admin(6951): [----- Python Information -----]
admin(6951): sys.version    = 1.5.2 (#1, Mar  3 2001, 01:35:43)  [GCC 2.96 20000731 (Red Hat Linux 7.1 2
admin(6951): sys.executable = /usr/bin/python
admin(6951): sys.prefix     = /usr
admin(6951): sys.exec_prefix= /usr
admin(6951): sys.path       = /usr
admin(6951): sys.platform   = linux-i386
admin(6951): [----- Environment Variables -----]
admin(6951):    DOCUMENT_ROOT: /home/mailman/html
admin(6951):    SERVER_ADDR:
admin(6951):    HTTP_ACCEPT_ENCODING: gzip, deflate
admin(6951):    SERVER_PORT: 80
admin(6951):    PATH_TRANSLATED: /home/mailman/html/java101
admin(6951):    REMOTE_ADDR:
admin(6951):    HTTP_ACCEPT_LANGUAGE: en-us
admin(6951):    GATEWAY_INTERFACE: CGI/1.1
admin(6951):    SERVER_NAME: lists.midrange.com
admin(6951):    HTTP_CONNECTION: Keep-Alive
admin(6951):    HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
admin(6951):    HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
admin(6951):    REQUEST_URI: /cgi-bin/admindb/java101
admin(6951):    QUERY_STRING: 
admin(6951):    SCRIPT_FILENAME: /home/mailman/cgi-bin/admindb
admin(6951):    PATH_INFO: /java101
admin(6951):    HTTP_HOST: lists.midrange.com
admin(6951):    REQUEST_METHOD: adminpw=<mypassword was here>GET
admin(6951):    SERVER_SIGNATURE: <ADDRESS>Apache/1.3.19 Server at lists.midrange.com Port 80</ADDRESS>

admin(6951):    SCRIPT_NAME: /cgi-bin/admindb/java101
admin(6951):    SERVER_ADMIN: david at midrange.com
admin(6951):    SERVER_SOFTWARE: Apache/1.3.19 (Unix)  (Red-Hat/Linux) mod_layout/3.0 PHP/4.0.4pl1
admin(6951):    PYTHONPATH: /home/mailman
admin(6951):    REMOTE_PORT: 38228

Notice on the REQUEST_METHOD entry ... my password was stuck in front of the 

Anyone know of a fix?



More information about the Mailman-Users mailing list