[Mailman-Users] python errors executing scripts

Mark Panahi mpanahi at gmail.com
Sun Feb 13 03:09:11 CET 2005


Well, now I get this:

doc local/mailman# bin/dumpdb lists/birn/config.db
Traceback (most recent call last):
  File "bin/dumpdb", line 156, in ?
    msg = main()
  File "bin/dumpdb", line 126, in main
    d = DumperSwitchboard().read(filename)
NameError: global name 'DumperSwitchboard' is not defined



On Sat, 12 Feb 2005 17:45:40 -0800, Mark Sapiro <msapiro at value.net> wrote:
> Mark Panahi wrote:
> 
> >Well I get this:
> >
> >doc local/mailman# bin/update -f
> >Upgrading from version 0x20105f0 to 0x20105f0
> >getting rid of old source files
> >Updating mailing list: birn
> >Traceback (most recent call last):
> >  File "bin/update", line 780, in ?
> >    errors = main()
> >  File "bin/update", line 670, in main
> >    errors = errors + dolist(listname)
> >  File "bin/update", line 206, in dolist
> >    for addr, (reason, when) in mlist.delivery_status.items():
> >  File "/usr/local/mailman/Mailman/MailList.py", line 144, in __getattr__
> >    raise AttributeError, name
> >AttributeError: delivery_status
> >
> >Seems like it needs to know that the old lists are from a previous
> >version. Any way I can indicate this?
> 
> I don't think it needs to know. The -f option told it to process the
> lists and it is trying, but it can't.
> 
> I think there is something wrong with the config for at least the
> 'birn' list. Try running bin/dumpdb against the config.db and/or
> config.pck file(s) for this list and comparing what attributes (names,
> not necessarily values) are dumped with those from a "good" list. We
> know bin/list_lists complained about real_name (probably not existing)
> for some list, and bin/update is complaining similarly about
> delivery_status for this list. Note that output from bin/dumpdb can be
> quite large if a list has many members.
> 
> --
> 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