[Mailman-Users] Upgrade to 2.1.4 failed - user lost - recover via backup unsuccessful - any ideas?
Tokio Kikuchi
tkikuchi at is.kochi-u.ac.jp
Mon Jun 7 14:35:12 CEST 2004
Hi, it's time to go to bed here in Japan. ;-)
>>Hmm, but the traceback says your config.pck is broken. You should
>>use 'cat' or 'od' to read what your config.pck really has.
>
>
> "od" gives me an almost endless list of 9 columns with numbers. The
(snip)
then how about 'strings' ?
Other useful tool may be bin/check_db. Use -h option for usage.
If the .pck file is really a pickle file and not broken, following
operations give you no error. I suspect the package maintainer
had done something to the DB structure.
mailman% cd <prefix>/lists/<listname>
mailman% cp <prefix>/bin/paths.py .
mailman% python
Python 2.2.3 (#1, Jun 23 2003, 15:54:19)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import paths
>>> import pickle
>>> x = pickle.load(file('config.pck'))
>>> print x (.... gives you contents of database)
--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
More information about the Mailman-Users
mailing list