[Mailman-Users] Newbie install problems (bug?)

marco at metm.org marco at metm.org
Wed Feb 4 10:25:42 CET 2004


hello all,

I have been trying to get mailman to work for a couple of days.  First I
tried the Debian testing package (version 2.1.3) which depends on Python 2.3

I got most things to work, setting up the aliases in Postfix etc. and I
can sign up for an email list by going to the subscribe page on my
webserver, I get the confirmation email.  If I reply to the email, I can
sign up, but if I try to confirm by using the web page linked in the
confirmation email, I hit a python bug (see below).  I get the same bug
if I try to use the online administrative interface.

I have tried compiling version 2.1.3 and 2.1.4 from source and I get the
same error.  I have tried with python2.2 and python2.3.  Perhaps I have
a configuration problem, python path not set up properly?

Any help is appreciated,

-- 
Marco

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/confirm.py", line 110, in main
    subscription_confirm(mlist, doc, cookie, cgidata)
  File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 333, in
subscription_confirm
    op, addr, pw, digest, lang = mlist.ProcessConfirmation(
  File "/usr/local/mailman/Mailman/MailList.py", line 1124, in
ProcessConfirmation
    self.ApprovedAddMember(userdesc, whence=whence)
  File "/usr/local/mailman/Mailman/MailList.py", line 903, in
ApprovedAddMember
    1 - self.mime_is_default_digest)
  File "/usr/local/mailman/Mailman/OldStyleMemberships.py", line 312, in
setMemberOption
    self.__mlist.user_options[memberkey] |= flag
TypeError: unsupported operand type(s) for |=: 'list' and 'int'



Python information:

Variable	Value
sys.version	2.3.3 (#2, Jan 13 2004, 00:47:05) [GCC 3.3.3 20040110
(prerelease) (Debian)]
sys.executable	/usr/bin/python
sys.prefix	/usr
sys.exec_prefix	/usr
sys.path	/usr
sys.platform	linux2

Environment variables:

Variable	Value
HTTP_REFERER
http://cfsg.org/cgi-bin/mailman/confirm/cfsg-forum/9f64e02c27c9330c6df75bed25c62e6fc371d747
SERVER_SOFTWARE 	Apache
SCRIPT_NAME 	/cgi-bin/mailman/confirm
SERVER_SIGNATURE 	
REQUEST_METHOD 	POST
HTTP_KEEP_ALIVE 	300
SERVER_PROTOCOL 	HTTP/1.1
QUERY_STRING 	
CONTENT_LENGTH 	120
HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_USER_AGENT 	Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4)
Gecko/20030714 Debian/1.4-2
HTTP_CONNECTION 	keep-alive
SERVER_NAME 	localhost
REMOTE_PORT 	36000
PATH_TRANSLATED 	/home/www/cfsg.org/cfsg-forum
SERVER_PORT 	80
SERVER_ADDR 	64.81.200.135
DOCUMENT_ROOT 	/home/www/cfsg.org
PYTHONPATH 	/usr/local/mailman
SCRIPT_FILENAME 	/usr/local/mailman/cgi-bin//confirm
SERVER_ADMIN 	webmaster at cfsg.org
HTTP_HOST 	cfsg.org
REQUEST_URI 	/cgi-bin/mailman/confirm/cfsg-forum
HTTP_ACCEPT
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_ADDR 	64.81.200.33
CONTENT_TYPE 	application/x-www-form-urlencoded
HTTP_ACCEPT_ENCODING 	gzip,deflate
UNIQUE_ID 	QCC6Hn8AAAEAACHwHCI
PATH_INFO 	/cfsg-forum




More information about the Mailman-Users mailing list