[Mailman-Users] New install Mailman 2.0 - odd python errors in cron jobs

ScaryG freymann at scaryg.shacknet.nu
Thu Feb 28 16:38:43 CET 2002


Hey folks!

I installed mailman2.0 yesterday on one of my FreeBSD (4.4-R) systems. I
installed Python from ports:

Python 2.2 (#1, Feb 27 2002, 14:11:31)
GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4

Everything is working fine, except for when the cron jobs run, each one
spits back some python errors. I get about 4-5 emails with these error
messages every 3 or 4 minutes. This means HUNDREDS in a day and they are
really annoying!

I get stuff like:

/home/mailman/cron/qrunner:0: SyntaxWarning: name '_listcache' is assigned
to before global declaration/usr/local/lib/python2.2/regsub.py:15:
DeprecationWarning: the regsub module is deprecated; please use re.sub() 
DeprecationWarning)

and

/usr/local/lib/python2.2/regsub.py:15: DeprecationWarning: the regsub
module is deprecated; please use re.sub()  DeprecationWarning)

I added a filter rule to direct the cron job emails to the trash and got
442 back in about a 12 hour period.

Any suggestions on how to tame this beast?

Thanks.
Gerry.




More information about the Mailman-Users mailing list