[Mailman-Users] upgrade issue

Mark Sapiro msapiro at value.net
Mon Sep 25 22:09:43 CEST 2006


Help Desk wrote:
>
>We get the following string of errors during the upgrade phase, then a stop:
>
>
>Updating mailing list: river_city_referrals
>Traceback (most recent call last):
>  File "bin/update", line 789, in ?
>    errors = main()
>  File "bin/update", line 679, in main
>    errors = errors + dolist(listname)
>  File "bin/update", line 192, in dolist
>    mlist = MailList.MailList(listname, lock=0)
>  File "/usr/local/mailman/Mailman/MailList.py", line 130, in __init__
>    self.Load()
>  File "/usr/local/mailman/Mailman/MailList.py", line 629, in Load
>    dict, e = self.__load(file)
>  File "/usr/local/mailman/Mailman/MailList.py", line 602, in __load
>    dict = loadfunc(fp)
>AttributeError: 'str' object has no attribute 'append'
>*** Error code 1
>
>Stop in /usr/ports/mail/mailman/work/mailman-2.1.9.
>*** Error code 1
>
>Stop in /usr/ports/mail/mailman.
>*** Error code 1
>
>Stop in /usr/ports/mail/mailman.


It appears that the list river_city_referrals may have a corrupted
configuration file (lists/river_city_referrals/config.pck). The update
process may or may not have updated all the lists, but they will be
updated anyway as the lists are accessed. The software update was
finished at this point.

Assuming you get the same error when attempting to access the list
(after fixing the problem below, try copying or moving the config.pck
aside and replacing it with the config.pck.last

>In addition, when attempting to use the CGI interface, it does not run.  We get the following errors (in the httpd-error log -- we're running Apache 2.0.54)
>
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42] [----- Mailman Version: 2.1.9 -----]
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42] [----- Traceback ------]
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42] Traceback (most recent call last):
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]   File "/usr/local/mailman/scripts/driver", line 82, in run_main
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]     immediate=1)
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]   File "/usr/local/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]     Logger.__init__(self, category, nofail, immediate)
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]   File "/usr/local/mailman/Mailman/Logging/Logger.py", line 50, in __init__
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]     self.__get_f()
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]   File "/usr/local/mailman/Mailman/Logging/Logger.py", line 68, in __get_f
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]     1)
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]   File "/usr/local/lib/python2.4/codecs.py", line 666, in open
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42]     file = __builtin__.open(filename, mode, buffering)
>[Mon Sep 25 10:46:49 2006] [error] [client 67.103.106.42] IOError: [Errno 13] Permission denied: '/usr/local/mailman/logs/error'


There is a permissions problem on your Mailman logs. Try running
"bin/check_perms -f" as root until it reports no errors.

-- 
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