|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Error message on upgradeI 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. I did some googling and found quite some people with the same error, but no real fixes. Does anyone have a fix for this? Im running 2.6.20-1.2944.fc6PAE #1 SMP Tue Apr 10 18:21:36 EDT 2007 i686 i686 i386 GNU/Linux, on Fedora. thanks, ddh -- 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@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradedhottinger@... 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@...> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradeQuoting Mark Sapiro <mark@...>:
> dhottinger@... 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@...> 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@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradedhottinger@... 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 noted in another reply that 2.1.12rc2 is not the latest version. Also, see the "Update - March 2009:" note at http://wiki.list.org/x/pYA9 about a Mailman 2.1.12/Python 2.4 incompatibility issue that may affect you. -- Mark Sapiro <mark@...> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradedhottinger@... wrote:
>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? Files with the same names get replaced and new files get added, but old, no longer used files don't get removed. Also Mailman's crontab does not get updated. You need to install a new one based on cron/crontab.in. -- Mark Sapiro <mark@...> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradeQuoting Mark Sapiro <mark@...>:
> dhottinger@... wrote: > >> 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? > > > Files with the same names get replaced and new files get added, but > old, no longer used files don't get removed. > > Also Mailman's crontab does not get updated. You need to install a new > one based on cron/crontab.in. > > -- > Mark Sapiro <mark@...> The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > Can I just copy cron/crontab.in from the dist? Also, I start mailmanctl and it starts: 20919 ? Ss 0:00 /usr/bin/python2.4 ./mailmanctl start 20942 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=ArchRunner:0:1 -s 20943 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=BounceRunner:0:1 -s 20944 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=CommandRunner:0:1 -s 20945 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s 20946 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=NewsRunner:0:1 -s 20948 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s 20951 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=VirginRunner:0:1 -s 20952 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner --runner=RetryRunner:0:1 -s Then I start getting these errors from the mailman: 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 -- 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@... 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/lists%40nabble.com |
|
|
Re: Error message on upgradedhottinger@... wrote:
> >Can I just copy cron/crontab.in from the dist? It depends where you put it. crontab.in in a user crontab so it needs to go in /var/spool/cron/mailman. If that's where the existing crontab is, that should be fine. If the existing crontab is somewhere like /etc/cron.d/mailman, the easiest thing is to remove that one and install crontab.in in /var/spool/cron/mailman. If you want to put it in /etc/cron.d/mailman, you need to add the user name (mailman) in between the times and the command on all command lines. >Also, I start >mailmanctl and it starts: > >20919 ? Ss 0:00 /usr/bin/python2.4 ./mailmanctl start >20942 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=ArchRunner:0:1 -s >20943 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=BounceRunner:0:1 -s >20944 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=CommandRunner:0:1 -s >20945 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=IncomingRunner:0:1 -s >20946 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=NewsRunner:0:1 -s >20948 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=OutgoingRunner:0:1 -s >20951 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=VirginRunner:0:1 -s >20952 ? S 0:00 /usr/bin/python2.4 /var/mailman/bin/qrunner >--runner=RetryRunner:0:1 -s Which is exactly correct. >Then I start getting these errors from the mailman: > >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 And this error doesn't come from Mailman 2.1.12 at all. It comes from the 2.0.x /var/mailman/cron/qrunner which is still being run by cron, and which no longer works because of other changes. -- Mark Sapiro <mark@...> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@... 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/lists%40nabble.com |
| Free embeddable forum powered by Nabble | Forum Help |