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

Williams, Theona TW150001 at ncr.com
Fri Oct 29 20:40:56 CEST 2010


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 at msapiro.net]
Sent: Friday, October 29, 2010 12:14 PM
To: Williams, Theona; mailman-users at 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 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