[Mailman-Users] Problem with members subscribing using the web interface

Bill Hayles groups at billnot.com
Fri Aug 21 16:03:46 CEST 2009


I'm setting up Mailman using the package (2.1.11) supplied with OpenSuSE
11.1, using Apache as the web server (and exim as MTA, but I don't think
that's relevant).

I have a group of volunteers testing various things.

On the e-mail side, everything is fine - they can subscribe or unsubscribe
by e-mail, and send and receive messages.  I, as administrator, can use the
web interface without problem.

However, when somebody tries to subscribe on the web, when they click
"Subscribe" they get the "We're sorry, we hit a bug!" screen.

I have looked at the error log, but I don't really understand it.  I've
changed nothing in the configs except enter my hosts etc.

Here is the relevant entry from the log; I have substituted "mydomain" for
my true domain name:

Aug 21 15:56:17 2009 admin(12480): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
admin(12480): [----- Mailman Version: 2.1.11 -----] 
admin(12480): [----- Traceback ------] 
admin(12480): Traceback (most recent call last):
admin(12480):   File "/usr/lib/mailman/scripts/driver", line 101, in run_main
admin(12480):     main()
admin(12480):   File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line 96, in main
admin(12480):     process_form(mlist, doc, cgidata, language)
admin(12480):   File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line 176, in process_form
admin(12480):     mlist.AddMember(userdesc, remote)
admin(12480):   File "/usr/lib/mailman/Mailman/MailList.py", line 916, in AddMember
admin(12480):     raise Errors.MMSubscribeNeedsConfirmation
admin(12480): TypeError: exceptions must be classes or instances, not str
admin(12480): [----- Python Information -----] 
admin(12480): sys.version     =   2.6 (r26:66714, Feb  3 2009, 20:52:03) 
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] 
admin(12480): sys.executable  =   /usr/bin/python 
admin(12480): sys.prefix      =   /usr 
admin(12480): sys.exec_prefix =   /usr 
admin(12480): sys.path        =   /usr 
admin(12480): sys.platform    =   linux2 
admin(12480): [----- Environment Variables -----] 
admin(12480): 	HTTP_COOKIE: testlist+admin=280200000069b66f8e4a732800000038623062656464353335353830383562313766643866633239343434666562373830363631353937 
admin(12480): 	SERVER_SOFTWARE: Apache/2.2.10 (Linux/SUSE) 
admin(12480): 	SCRIPT_NAME: /mailman/subscribe 
admin(12480): 	SERVER_SIGNATURE: <address>Apache/2.2.10 (Linux/SUSE) Server at
mydomain.com Port 80</address>
admin(12480): 	REQUEST_METHOD: POST 
admin(12480): 	HTTP_KEEP_ALIVE: 300 
admin(12480): 	SERVER_PROTOCOL: HTTP/1.1 
admin(12480): 	QUERY_STRING:  
admin(12480): 	CONTENT_LENGTH: 105 
admin(12480): 	HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7 
admin(12480): 	HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv: Gecko/20090729 Firefox/3.5.2 
admin(12480): 	HTTP_CONNECTION: keep-alive 
admin(12480): 	HTTP_REFERER: http://mydomain.com/mailman/listinfo/testlist/ 
admin(12480): 	SERVER_NAME: mydomain.com 
admin(12480): 	REMOTE_ADDR: 
admin(12480): 	PATH_TRANSLATED: /srv/www/htdocs/testlist 
admin(12480): 	SERVER_PORT: 80 
admin(12480): 	SERVER_ADDR: 
admin(12480): 	DOCUMENT_ROOT: /srv/www/htdocs 
admin(12480): 	PYTHONPATH: /usr/lib/mailman 
admin(12480): 	SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/subscribe 
admin(12480): 	SERVER_ADMIN: groups at billnot.com 
admin(12480): 	HTTP_HOST: mydomain.com 
admin(12480): 	REQUEST_URI: /mailman/subscribe/testlist 
admin(12480): 	HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
admin(12480): 	GATEWAY_INTERFACE: CGI/1.1 
admin(12480): 	REMOTE_PORT: 50440 
admin(12480): 	HTTP_ACCEPT_LANGUAGE: en-gb,en;q=0.5 
admin(12480): 	CONTENT_TYPE: application/x-www-form-urlencoded 
admin(12480): 	HTTP_ACCEPT_ENCODING: gzip,deflate 
admin(12480): 	PATH_INFO: /testlist 

'Tis far better to have snipped too much than to never 
have snipped at all. -- (author unknown)
Bill Hayles
groups at billnot.com

More information about the Mailman-Users mailing list