[Zope] a whole lot of db related Q's

Patrick Phalen zope@teleo.net
Thu, 24 Feb 2000 12:09:21 -0800


[Raymund Ramos, on Thu, 24 Feb 2000]
:: I installed python 1.5.2 with RPMs and installed
:: a Zope 2.1.2 source package.
:: 
:: However, I get this with databases I've done using
:: External Methods and shelve [which seems to make
:: bsd dbm files]:
:: 
:: Zope Error
:: Zope has encountered an error while publishing this resource. 
:: 
:: Error Type: error
:: Error Value: db type could not be determined
:: -----
:: How do I fix this without recompiling whole packages?


You don't say what distribution, but I'll assume Red Hat, which I think
has a problem with anydbm since 6.x.

Somewhere in my recent background noise, I remember hearing that there
is a glitch in Python's anydbm attempting to find a suitable database
driver under RH. (It's supposed to look for dbhash, gdbm, dbm, dumbdbm,
in that order, but fails to find gdbm.) RH uses gdbm, for licensing
reasons, although Berkeley DB is a better choice, generally.