[Mailman-Users] python errors executing scripts

Mark Sapiro msapiro at value.net
Sun Feb 13 03:52:59 CET 2005


Mark Panahi wrote:

>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

Hmmmm....

It seems that starting with Mailman 2.1.5, bin/dumpdb can't dump
marshals, only pickles. This is because the DumperSwitchboard() class
has been deleted from Mailman/Queue/Switchboard.py even though it is
still invoked from dumpdb for marshals.

I don't *think* this is the underlying reason for your problem, but I
don't know without looking further.

Perhaps someone else has some info.

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