[Mailman-Users] Python Version Mismatch

Carolyn Van Slyck vanslyck at gmail.com
Tue Aug 22 03:47:29 CEST 2006

My mistake, they are coming every 5 minutes.  I had an old version of
python and mailman but upgraded python a few months ago and just this
week upgraded mailman.  I downloaded the source and did a configure
and make install.  Perhaps I missed another key step involving python
(maybe it is compiling using the older version?)

Thanks for the crontab workaround.  Since I don't use Japanese or
Korean, I'm happy to just ignore the errors. :-)


On 8/20/06, Mark Sapiro <msapiro at value.net> wrote:
> Carolyn Van Slyck wrote:
> >I am getting this email sent to me every 10 minutes and am not sure
> >how to correct the problem.
> I am puzzled. I am sure this is coming from Mailman's cron/gate_news
> script, but that is run (at least by default) every 5 minutes, not
> every 10.
> >/var/mailman/pythonlib/japanese/c/euc_jp.py:3: RuntimeWarning: Python
> >C API version mismatch for module _japanese_codecs: This Python has
> >API version 1011, module _japanese_codecs has version 1012.
> >  import codecs, japanese.c._japanese_codecs
> >/var/mailman/pythonlib/korean/hangul.py:24: RuntimeWarning: Python C
> >API version mismatch for module hangul: This Python has API version
> >1011, module hangul has version 1012.
> >  from korean.c.hangul import *
> >
> >I am running python 2.4.3.  I have tried deleting the korean and
> >japanese pythonlib directories and then running make install again,
> >then restarting mailman but this doesn't correct the problem.
> Did you upgrade Python to 2.4.3 after installing Mailman on an older
> Python? If so, starting with 'configure' followed by 'make install'
> may help.
> >I would appreciate any ideas for either fixing the issue or at least
> >stopping the email warnings.
> If the warnings are coming from the cron jobs, you can suppress them by
> editing Mailman's crontab and adding a '-W ignore' option to the
> python commands.
> E.g. for a default crontab, you might have something like
> 0 8 * * * /usr/bin/python -S /var/mailman/cron/checkdbs
> and so on for the others. You could change this to
> 0 8 * * * /usr/bin/python -S -W ignore /var/mailman/cron/checkdbs
> and similarly for the others.
> --
> Mark Sapiro <msapiro at value.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