Migration 2.0.5 to 2.1.5 bug + fix

Bug #558244 reported by mneteler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

Hi,

we are happy mailman users for many years and
finally made the update yesterday. But there
was a detail which needs to be fixed:

## from 2.0.5 to
## mailman-2.1.5.1-34.rhel4.2

# modify in file /usr/lib/mailman/bin/dumpdb

        # BAW: this probably doesn't work if there are
mixed types of .db
        # files (i.e. some marshals, some bdbs).
        d = DumperSwitchboard().read(filename)

to

import marshal

...
        # BAW: this probably doesn't work if there are
mixed types of .db
        # files (i.e. some marshals, some bdbs).
        fp = open(filename)
        d = marshal.load(fp)
        fp.close()

Only then it will work (we were seeking for two hours
to figure out... :-)

This would solve this problem as well apparently:
 http://mail.python.org/pipermail/mailman-users/2005-February/042654.html

Kind regards

 Markus Neteler
 http://grass.itc.it

Revision history for this message
msapiro (msapiro-users) wrote :

Logged In: YES
user_id=1123998

Fixed in subversion trunk.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.