[Mailman-Users] Urgent newbie help - "Hit a bug" page

Mark Sapiro msapiro at value.net
Sat Mar 3 04:08:33 CET 2007


John Fleming wrote:
>
>The .pck files are OK.  My lists are working again after -another- qrunner 
>restart and nothing else changed.  However, there's still a problem.  I can 
>view any individual list's information via the usual web pages 
>(www.domain.name/mailman/listinfo/<listname>), but I get the "We hit a bug" 
>page when I try to view the lists -overview- page for any of my domains. 
>Here's the error log entry for when I try. Does anyone see what's wrong? 
>This used to work, and  I haven't changed anything in my configuration. 
>(Mailman 2.1.5 Debian Stable) Thanks - John
>
>Mar 02 21:35:33 2007 admin(18864): 
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>admin(18864): [----- Mailman Version: 2.1.5 -----]
>admin(18864): [----- Traceback ------]
>admin(18864): Traceback (most recent call last):
>admin(18864):   File "/var/lib/mailman/scripts/driver", line 110, in 
>run_main
>admin(18864):     main()
>admin(18864):   File "/usr/lib/mailman/Mailman/Cgi/listinfo.py", line 42, in 
>main
>admin(18864):     listinfo_overview()
>admin(18864):   File "/usr/lib/mailman/Mailman/Cgi/listinfo.py", line 88, in 
>listinfo_overview
>admin(18864):     if mlist.advertised:
>admin(18864):   File "/var/lib/mailman/Mailman/MailList.py", line 144, in 
>__getattr__
>admin(18864):     raise AttributeError, name
>admin(18864): AttributeError: advertised


You have one list whose saved state in config.pck does not have an
'advertised' attribute.

Try the following shell script

#! /bin/sh
for list in `/path/to/bin/list_lists --bare`
do echo ----------------------------------
echo list: $list
/path/to/bin/dumpdb /path/to/lists/$list/config.pck | grep advertised
echo -----------------------------------
done


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