Well, I tried 'check_db -a -v' and it complains that there are no config.pck and config.pck.last files for each list. The thing is, I had moved the lists and archive directories from an older installation (we had upgraded everything in our server). Seems like these pck files are something recent? Anyway to create these? Hmmm, I suppose we didn't upgrade properly.
The "version" command on the old installation doesn't work, but I think it was abt 5 years old. Thanks, Mark On Sat, 12 Feb 2005 09:32:43 -0800, Mark Sapiro <[EMAIL PROTECTED]> wrote: > Mark Panahi wrote: > > >Hello, I'm getting errors like the following when executing some of > >the scripts in the bin directory. Any ideas? > > > >mailman/bin# ./list_lists > >Traceback (most recent call last): > > File "./list_lists", line 122, in ? > > main() > > File "./list_lists", line 102, in main > > longest = max(len(mlist.real_name), longest) > > File "/usr/local/mailman/Mailman/MailList.py", line 144, in __getattr__ > > raise AttributeError, name > >AttributeError: real_name > > My best guess is some list has a corrupted config.pck. > > bin/checkdb --all > > may find it, but it may not. You could try patching list_lists as > follows to find the offending list: > > --- bin/list_lists 2005-02-06 14:27:16.593750000 -0800 > +++ bin/list_lists.test 2005-02-12 09:09:11.578125000 -0800 > @@ -99,7 +99,10 @@ > mlist.web_page_url.find(vhost) == -1: > continue > mlists.append(mlist) > - longest = max(len(mlist.real_name), longest) > + try: > + longest = max(len(mlist.real_name), longest) > + except: > + print 'mlist.real_name exception', n > > if not mlists and not bare: > print _('No matching mailing lists found') > > -- > Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org