[DB-SIG] shelve and hash function
roy
roydobbins at earthlink.net
Mon Jul 26 03:16:47 CEST 2004
I have a small app running under python 2.3, and I am trying to port this to a
notebook running python 2.3.1.
The trouble is that there are some data files using shelves to store objects,
and there seems to be a compatibility problem.
The error message I get is:-
File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
d.open(file, db.DB_HASH, flags, mode)
DBInvalidArgError: (22, 'Invalid argument -- data/foods: unsupported hash
version: 8')
Does this mean that an app using shelves is not really portable?
How can I make the data files in a form that they can be opened in any version
of Python?
Does anyone have any experience with this kind of problem?
Thank you
--roy
More information about the DB-SIG
mailing list