[Mailman-Users] Upgrading Python...
reb at taco.com
Thu Jul 26 12:23:44 CEST 2001
At 01:08 AM 7/26/2001 -0400, Barry A. Warsaw wrote:
>>>>>> "P" == Phydeaux <reb at taco.com> writes:
> P> I'm currently running Mailman 2.0.3 with Python 2.0 on Solaris
> P> 7. I'm looking to upgrade to Python 2.1.1 -- will this cause my
> P> existing mailing lists any problems?
>Yes. Upgrade to Mailman 2.0.6 first and you should be fine.
I upgraded to Mailman 2.0.6 and all went well. The lists and web pages
were all functioning fine.
Then I tried to upgrade Python from 2.0 to 2.1.1 ...
After the "make install" finished my lists stopped working. The web pages
produced "server error" messages that left messages like this in the
error log of the web server:
26/Jul/2001:05:07:07] failure (25069): for host cc1017332-a.ewndsr1.nj.home.com trying to GET /mailman/admin, cgieng_scan_headers reports:
the CGI program /home/mailman/cgi-bin/admin did not produce a valid header (name without value: got line "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")
At the same time, the qrunner cron jobs started failing like this:
/usr/local/bin/python -S /home/mailman/cron/qrunner
produced the following output:
Traceback (most recent call last):
File "/home/mailman/cron/qrunner", line 78, in ?
ImportError: No module named time
I got this message when installing Python, but all searches on the web about it seemed
to say that it could be safely ignored:
warning: install: modules installed to '/usr/local/lib/python2.1/lib-dynload/', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself
Python 2.1.1 seemed to start fine, but as I've not gotten very far at all into
the study of Python yet I wasn't able to get much past starting it and checking
that it did, in fact, run.
I went back to Python 2.0 for now and all is functioning again. As always, any
advice appreciated. The system is running Solaris 7 with gcc 2.95.3.
More information about the Mailman-Users