Hi!

Want to use shelve in a program I'm writing, but I encounter a problem.

This is the tail of the traceback I get back:

File "/sw/lib/python2.3/shelve.py", line 231, in open
return DbfilenameShelf(filename, flag, protocol, writeback, binary)
File "/sw/lib/python2.3/shelve.py", line 212, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary)
File "/sw/lib/python2.3/anydbm.py", line 83, in open
return mod.open(file, flag, mode)
File "/sw/lib/python2.3/dbhash.py", line 16, in open
return bsddb.hashopen(file, flag, mode)
File "/sw/lib/python2.3/bsddb/__init__.py", line 186, in hashopen
d.set_flags(hflags)
bsddb._db.DBInvalidArgError: (22, 'Invalid argument')
Illegal instruction

This is on a MacOSX machine with python 2.3.3 and db 4.2

What's going on ?

And what can I do about it ?

-- Roland

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to