[Zope3-dev] Failing tests

Sidnei da Silva sidnei@x3ng.com
Fri, 23 May 2003 09:11:53 -0300


On Thu, May 22, 2003 at 06:40:18PM -0400, Barry Warsaw wrote:
| > Theres anything I can do to help debugging?
| 
| What version, or do you even have, BerkeleyDB installed?  What version
| of Python?  Are you running the tests with --all?
| 
| Try this:
| 
| % pythonPython 2.3b1+ (#1, May  5 2003, 11:50:40) 
| [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
| Type "help", "copyright", "credits" or "license" for more information.
| >>> import bsddb
| >>> bsddb.db.version()
| (4, 1, 25)
| >>> bsddb.db.__version__
| '4.1.5'

>>> import bsddb
>>> bsddb.db.version()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'db'
>>> dir(bsddb)
['__doc__', '__file__', '__name__', 'btopen', 'error', 'hashopen', 'rnopen']
>>> import bsddb3
>>> dir(bsddb3)
['_DBWithCursor', '__builtins__', '__doc__', '__file__', '__name__',
'__path__', '__version__', '_checkflag', '_db', 'btopen', 'error',
'hashopen', 'rnopen']
>>> bsddb3._db.__version__
'3.3.0'
>>> bsddb3.__version__
'3.3.0'

Just for the records, I have the following packages installed:
Package: libdb4.1
Version: 4.1.25-4

Package: libdb4.0
Version: 4.0.14-1.2

Package: libdb3
Version: 3.2.9-17

Package: python2.2
Version: 2.2.2-6

Package: python2.2-bsddb3
Version: 3.3.0-5.2

-- 
Sidnei da Silva (dreamcatcher) <sidnei@x3ng.com.br>
X3ng Web Technology <http://www.x3ng.com.br>
GNU/Linux user 257852
Debian GNU/Linux 3.0 (Sid) 2.4.20-powerpc ppc

PURGE COMPLETE.