unsupported hash version error on py2.4+hashlib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doit |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If you install hashlib to python 2.4 in order to be able to run doit you get this:
Traceback (most recent call last):
File "/usr/bin/doit", line 37, in main
return m.process()
File "/usr/lib/
return runner.run()
File "/usr/lib/
dependencyM
File "/usr/lib/
self._db = anydbm.
File "/usr/lib/
return mod.open(file, flag, mode)
File "/usr/lib/
return bsddb.hashopen(
File "/usr/lib/
d.open(file, db.DB_HASH, flags, mode)
DBInvalidArgError: (22, 'Invalid argument -- ./.doit.dbm: unsupported hash version: 9')
Exception exceptions.
From the traceback I can see this that it actually has no relation at all to hashlib. you have some problem with bsddb...
i cant reproduce it... can you debug it?
can you try a simple program that uses bsddb (see http:// docs.python. org/library/ anydbm. html)