shelve files
Jim
jkring at calbay.com
Tue Apr 2 11:30:36 EST 2002
I moved a shelve file from one machine to another and I cannot open it
on the new machine. Is there something that I should be aware of? I
moved it from a Redhat 6.X machine to a 7.X machine.
-Jim
>>> db = shelve.open('shelveFile')
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/usr/lib/python1.5/shelve.py", line 152, in open
return DbfilenameShelf(filename, flag)
File "/usr/lib/python1.5/shelve.py", line 142, in __init__
Shelf.__init__(self, anydbm.open(filename, flag))
File "/usr/lib/python1.5/anydbm.py", line 86, in open
return mod.open(file, flag, mode)
File "/usr/lib/python1.5/dbhash.py", line 8, in open
return bsddb.hashopen(file, flag, mode)
bsddb.error: (22, 'Invalid argument')
More information about the Python-list
mailing list