Steve Greenland writes:
> Package: python2.5
> Version: 2.5.2-1
> Severity: normal
> 
> 
> Traceback (most recent call last):
>   File "python/main.py", line 519, in ?
>     sys.exit(main())
>   File "python/main.py", line 446, in main
>     db = shelve.open(sfile, protocol=2, writeback=False)
>   File "/usr/lib/python2.4/shelve.py", line 234, in open
>     return DbfilenameShelf(filename, flag, protocol, writeback, binary)
>   File "/usr/lib/python2.4/shelve.py", line 215, in __init__
>     Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, 
> binary)
>   File "/usr/lib/python2.4/anydbm.py", line 83, in open
>     return mod.open(file, flag, mode)
>   File "/usr/lib/python2.4/dbhash.py", line 16, in open
>     return bsddb.hashopen(file, flag, mode)
>   File "/usr/lib/python2.4/bsddb/__init__.py", line 298, in hashopen
>     d.open(file, db.DB_HASH, flags, mode)
> bsddb.db.DBInvalidArgError: (22, 'Invalid argument -- 
> /home/steveg/.main.files: unsupported hash version: 9')
> 
> What are my options from here? "Recreate the shelf from scratch" is not
> a good answer. Yeah, I *can* do it, but breaking compatibility like this
> is generally a no-no...if there's a way to use the db4 utilities to
> rescue this, it should be in the README.Debian.

sorry for the "mess". you should be able to use the db4.6-utils to
export the database and then use the db4.5-utils to recreate the
database. An suggested text for README.Debian would be very welcome.

  Matthias



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to