[Mailman-Users] API version 1012-module hangul 1011 runtime error

Mark Sapiro mark at msapiro.net
Fri Oct 29 19:14:29 CEST 2010

Williams, Theona wrote:

>The server on which Mailman was installed was upgraded from Linux 3 to 4 to 5 (32 bit). Mailman no longer works on this server. I am receiving the error:
>/u004/mailman/pythonlib/korean/hangul.py:24: RuntimeWarning: Python C API versio
>n mismatch for module hangul: This Python has API version 1012, module hangul ha
>s version 1011.
>  from korean.c.hangul import *

The above is only a warning, but as you note below it is because
Mailman was built with a different Python version than it is being run
with. This is very bad. You should rebuild Mailman with the current

>Traceback (most recent call last):
>  File "./mailmanctl", line 548, in ?
>    main()
>  File "./mailmanctl", line 367, in main
>    check_for_site_list()
>  File "./mailmanctl", line 277, in check_for_site_list
>    sitelist = MailList(sitelistname, lock=0)
>  File "/u004/mailman/Mailman/MailList.py", line 130, in __init__
>    self.Load()
>  File "/u004/mailman/Mailman/MailList.py", line 629, in Load
>    dict, e = self.__load(file)
>  File "/u004/mailman/Mailman/MailList.py", line 595, in __load
>    fp = open(dbfile)
>IOError: [Errno 13] Permission denied: '/u004/mailman/lists/mailman/config.pck
>How do I go about resolving this problem?

Run Mailman's bin/check_perms to fix this.

>I am running
>Mailman version 2.1.9.  Currently,  Python 2.4.3 is on the server but I believe Mailman was originally built with a lower version of Python.

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