[Mailman-Users] errors after hd crash

Mark Sapiro mark at msapiro.net
Thu Jun 19 16:30:18 CEST 2008


Zbigniew Szalbot wrote:
>
>We have had a HD crash and I had to bring the data back from a backup. I 
>fixed permissions, etc and it should work well now but on the website I get
>Bug in Mailman version 2.1.10
>
>We're sorry, we hit a bug!
>
>Please inform the webmaster for this site of this problem. Printing of 
>traceback and other system information has been explicitly inhibited, 
>but the webmaster can find this information in the Mailman error logs.
>
>and in error logs I can see this:
>
>Jun 19 11:05:01 2008 gate_news(30949): Traceback (most recent call last):
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/cron/gate_news", line 284, in <module>
>Jun 19 11:05:01 2008 gate_news(30949):      main()
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/cron/gate_news", line 264, in main
>Jun 19 11:05:01 2008 gate_news(30949):      process_lists(lock)
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/cron/gate_news", line 199, in process_lists
>Jun 19 11:05:01 2008 gate_news(30949):      mlist = 
>MailList.MailList(listname, lock=0)
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/Mailman/MailList.py", line 130, in __init__
>Jun 19 11:05:01 2008 gate_news(30949):      self.Load()
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/Mailman/MailList.py", line 668, in Load
>Jun 19 11:05:01 2008 gate_news(30949):      self.CheckVersion(dict)
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/Mailman/MailList.py", line 707, in CheckVersion
>Jun 19 11:05:01 2008 gate_news(30949):      if self.data_version >= 
>mm_cfg.DATA_FILE_VERSION:
>Jun 19 11:05:01 2008 gate_news(30949):   File 
>"/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
>Jun 19 11:05:01 2008 gate_news(30949):      raise AttributeError, name
>Jun 19 11:05:01 2008 gate_news(30949): AttributeError :  data_version
>


This specific traceback is from cron/gate_news (there's probably one of
these every 5 minutes), not from the web CGI, but the error is
probably the same.

The issue above is a corrupt config.pck file for some list. To find
which list, cd to Mailman's bin/ directory and do

echo > noop.py "def noop(mlist): return"
./withlist -a -r noop

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