Bug Hit on User Signup?
Upon clicking on the confirmation link and after being asked to confirm their address and name, the following is returned:
Bug in Mailman version 2.1.5
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 116, in main subscription_confirm(mlist, doc, cookie, cgidata) File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 351, in subscription_confirm op, addr, pw, digest, lang = mlist.ProcessConfirmation( File "/usr/local/mailman/Mailman/MailList.py", line 1156, in ProcessConfirmation self.HoldSubscription(addr, fullname, password, digest, lang) File "/usr/local/mailman/Mailman/ListAdmin.py", line 362, in HoldSubscription id = self.__nextid() File "/usr/local/mailman/Mailman/ListAdmin.py", line 113, in __nextid while True: NameError: global name 'True' is not defined
The list has been working fine for some time. We are up to 45,000 members.
Are we doing something wrong?
Thanks, Hunter
So, reading the FAQ (should have done that first), it looks like it is a Python version problem. We are on 2.2.
I'm still doing my reading but I don't think there is a later version of Python for my system (RHEL2).
From: Hunter Hillegas <lists@lastonepicked.com> Date: Wed, 29 Sep 2004 15:11:24 -0700 To: Mailman <mailman-users@python.org> Subject: [Mailman-Users] Bug Hit on User Signup?
Upon clicking on the confirmation link and after being asked to confirm their address and name, the following is returned:
Bug in Mailman version 2.1.5
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 116, in main subscription_confirm(mlist, doc, cookie, cgidata) File "/usr/local/mailman/Mailman/Cgi/confirm.py", line 351, in subscription_confirm op, addr, pw, digest, lang = mlist.ProcessConfirmation( File "/usr/local/mailman/Mailman/MailList.py", line 1156, in ProcessConfirmation self.HoldSubscription(addr, fullname, password, digest, lang) File "/usr/local/mailman/Mailman/ListAdmin.py", line 362, in HoldSubscription id = self.__nextid() File "/usr/local/mailman/Mailman/ListAdmin.py", line 113, in __nextid while True: NameError: global name 'True' is not defined
The list has been working fine for some time. We are up to 45,000 members.
Are we doing something wrong?
Thanks, Hunter
Mailman-Users mailing list Mailman-Users@python.org 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/
At 3:21 PM -0700 2004-09-29, Hunter Hillegas wrote:
So, reading the FAQ (should have done that first), it looks like it is a Python version problem. We are on 2.2.
Yup. Python 2.3 is required for Mailman 2.1.5.
I'm still doing my reading but I don't think there is a later version of Python for my system (RHEL2).
I would be surprised if RPMs for Python 2.3 are not available,
but you could always choose to build from source. Or, you could build your own packages and then install them.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
If I install 2.3, is there an easy way to get Mailman to use that instead of an older Python2 version?
Hunter
From: Brad Knowles <brad@stop.mail-abuse.org> Date: Thu, 30 Sep 2004 00:40:29 +0200 To: Hunter Hillegas <lists@lastonepicked.com> Cc: Mailman <mailman-users@python.org> Subject: Re: [Mailman-Users] Bug Hit on User Signup?
At 3:21 PM -0700 2004-09-29, Hunter Hillegas wrote:
So, reading the FAQ (should have done that first), it looks like it is a Python version problem. We are on 2.2.
Yup. Python 2.3 is required for Mailman 2.1.5.
I'm still doing my reading but I don't think there is a later version of Python for my system (RHEL2).
I would be surprised if RPMs for Python 2.3 are not available, but you could always choose to build from source. Or, you could build your own packages and then install them.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
At 4:21 PM -0700 2004-09-29, Hunter Hillegas wrote:
If I install 2.3, is there an easy way to get Mailman to use that instead of an older Python2 version?
I think that depends on how you install it. If you install it
over the existing Python 2.2 installation, that should work. Alternatively, if you stop Mailman, de-install Python 2.2, then install Python 2.3, that should also work.
Otherwise, you're likely to have to play some interesting games
with alternative directories, unusual paths, perhaps some symbolic links, and who knows what else.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
FYI for the list:
- Downloaded Python 2.3 tgz.
- Configured with alternate prefix (/usr/local/python2.3)
- Built 2.3
- Reconfigured mailman 2.1.5 with new python binary location.
- Recompiled mailman.
Mailman was off during this procedure.
Seems to be working fine.
From: Brad Knowles <brad@stop.mail-abuse.org> Date: Thu, 30 Sep 2004 01:33:27 +0200 To: Hunter Hillegas <lists@lastonepicked.com> Cc: Brad Knowles <brad@stop.mail-abuse.org>, Mailman <mailman-users@python.org> Subject: Re: [Mailman-Users] Bug Hit on User Signup?
At 4:21 PM -0700 2004-09-29, Hunter Hillegas wrote:
If I install 2.3, is there an easy way to get Mailman to use that instead of an older Python2 version?
I think that depends on how you install it. If you install it over the existing Python 2.2 installation, that should work. Alternatively, if you stop Mailman, de-install Python 2.2, then install Python 2.3, that should also work.
Otherwise, you're likely to have to play some interesting games with alternative directories, unusual paths, perhaps some symbolic links, and who knows what else.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
participants (2)
-
Brad Knowles
-
Hunter Hillegas