API version 1012-module hangul 1011 runtime error

Hi, 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 * 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? 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.
Thanks, Theona

On Fri, Oct 29, 2010 at 10:46:15AM -0400, Williams, Theona wrote:
IOError: [Errno 13] Permission denied: '/u004/mailman/lists/mailman/config.pck
How do I go about resolving this problem?
The clue might be in there ("IOError..."). What are the permissions on that file/directory.
Maybe look at bin/check_perms (I don't think I've seen a fix to the Debian '/var/lib/mailman' symlink issue (see this list's archive) committed)
-- "All women become like their mothers. That is their tragedy. No man does. That's his." -- The Importance of Being Earnest

Williams, Theona wrote:
Hi, 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 Python.
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

I ran the bin/check_perms and that resolved all errors except the API version warning. I am still not able to send out messages. I will attempt to rebuild Mailman. Thanks Theona
-----Original Message----- From: Mark Sapiro [mailto:mark@msapiro.net] Sent: Friday, October 29, 2010 12:14 PM To: Williams, Theona; mailman-users@python.org Subject: Re: [Mailman-Users] API version 1012-module hangul 1011 runtime error
Williams, Theona wrote:
Hi, 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 Python.
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Adam McGreggor
-
Mark Sapiro
-
Williams, Theona