[Mailman-Users] Error message on upgrade

Mark Sapiro mark at msapiro.net
Mon Oct 26 21:10:17 CET 2009

dhottinger at harrisonburg.k12.va.us 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 at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list