HighDots Forums  

Re: Error message on upgrade

Python Python programming language mailing list


Discuss Re: Error message on upgrade in the Python forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Sapiro
 
Posts: n/a

Default Re: Error message on upgrade - 10-26-2009 , 03:18 PM






dhottinger (AT) harrisonburg (DOT) k12.va.us wrote:

Quote:
I upgraded our version of mailman from 2.0.x to the newest release of
2.1.12rc2 using ./configure --prefix=/var/mailman
--with-cgi-gid=apache --with-python=/usr/bin/python2.4. I started
mailman using the mailmanctl script. As soon as I did, I started
getting the following error from the qrunner:
Traceback (most recent call last):
File "/var/mailman/cron/qrunner", line 89, in ?
from Mailman.Handlers import HandlerAPI
File "/var/mailman/Mailman/Handlers/HandlerAPI.py", line 26, in ?
from Mailman.pythonlib.StringIO import StringIO
ImportError: No module named pythonlib.StringIO.

The latest official release is 2.1.12, not 2.1.12rc2. There was at
least one significant bug fix between rc2 and the final.

As far as the above error is concerned, qrunners are no longer run by
cron in mailman 2.1.x. cron is running /var/mailman/cron/qrunner which
is from 2.0 and clearly won't work. You need to update Mailman's
crontab to run the 2.1 cron jobs only.

Actually, your 2.1.12rc1 Mailman is probably working fine. It's just
that
/var/mailman/cron/qrunner should be removed and the entry that runs it
removed from Mailman's crontab.

--
Mark Sapiro <mark (AT) msapiro (DOT) net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users (AT) python (DOT) org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/python%40highdots.com

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Error message on upgrade - 10-26-2009 , 03:24 PM






Quoting Mark Sapiro <mark (AT) msapiro (DOT) net>:

Quote:
dhottinger (AT) harrisonburg (DOT) k12.va.us wrote:

I upgraded our version of mailman from 2.0.x to the newest release of
2.1.12rc2 using ./configure --prefix=/var/mailman
--with-cgi-gid=apache --with-python=/usr/bin/python2.4. I started
mailman using the mailmanctl script. As soon as I did, I started
getting the following error from the qrunner:
Traceback (most recent call last):
File "/var/mailman/cron/qrunner", line 89, in ?
from Mailman.Handlers import HandlerAPI
File "/var/mailman/Mailman/Handlers/HandlerAPI.py", line 26, in ?
from Mailman.pythonlib.StringIO import StringIO
ImportError: No module named pythonlib.StringIO.


The latest official release is 2.1.12, not 2.1.12rc2. There was at
least one significant bug fix between rc2 and the final.

As far as the above error is concerned, qrunners are no longer run by
cron in mailman 2.1.x. cron is running /var/mailman/cron/qrunner which
is from 2.0 and clearly won't work. You need to update Mailman's
crontab to run the 2.1 cron jobs only.

Actually, your 2.1.12rc1 Mailman is probably working fine. It's just
that
/var/mailman/cron/qrunner should be removed and the entry that runs it
removed from Mailman's crontab.

--
Mark Sapiro <mark (AT) msapiro (DOT) net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan

Mark,
Thanks for the reply. I ran mailmanctl and was still getting the same
error. I'll try recompiling again with 2.1.12. Does the cron
directory not get replaced when running make install?



--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

"Everything should be made as simple as possible, but not simpler."
-- Albert Einstein

"The hottest places in Hell are reserved for those who, in times of moral
crisis, preserved their neutrality."
-- Dante

------------------------------------------------------
Mailman-Users mailing list Mailman-Users (AT) python (DOT) org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-users/python%40highdots.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.