[DB-SIG] shelve and hash function
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
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
Does anyone have any experience with this kind of problem?
More information about the DB-SIG