shelve broken on redhat 6.1

wolf at one.net wolf at one.net
Thu Feb 17 19:09:21 EST 2000


Hi Patricia,

On 16 Feb 2000 13:13:55 -0500, you wrote:

>Has anyone else noticed?  Shelve is broken on the RedHat 6.1
>distribution -- python-1.5.2-7.i386.rpm

Shelve seems to be broken in Win98 as well, although here it's the
keys() method that causes an error:

Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import shelve
>>> SavedGame = shelve.open("Test.psg")
>>> SavedGame.keys
<method Shelf.keys of DbfilenameShelf instance at 79b120>
>>> SavedGame.keys()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "C:\Program Files\Python\Lib\shelve.py", line 55, in keys
    return self.dict.keys()
bsddb.error: (22, 'Invalid argument')

Respectfully,

Wolf

"The world is my home, it's just that some rooms are draftier than
others". -- Wolf



More information about the Python-list mailing list