[ZODB-Dev] No module named BTree

Steverding, Kai steverding at gws.ms
Wed Jan 21 09:26:17 EST 2004


Hi !
I just installed zope-2.6.4-rc1 and zodb-3-3.1.5c1. Everything worked fine,
i followed the readme's no error messages. After this i started a
Zope-Zeo-Server on port 5673 and connected to it via python. I tried the
statements from zhe zeoup script from the distribution. It says "No module
named Btree" and nothing works. Shouldn't it be "BTrees" ? Here is my
output:

timmy:~# python2.1 
Python 2.1.3+ (#1, Jul  5 2003, 00:42:30) 
[GCC 3.3.1 20030626 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import getopt
>>> import socket
>>> import sys
>>> 
>>> import ZODB
>>> from ZODB.POSException import ConflictError
>>> from ZEO.ClientStorage import ClientStorage
>>> 
>>> ZEO_VERSION = 2
>>> conn =ClientStorage(('127.0.0.1',5673))
>>> db = ZODB.DB(conn)
>>> cn = db.open()
>>> dbroot = cn.root()
>>> dbroot['zeoup'] = dbroot.get('zeoup', 0)+ 1
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/ZODB/Connection.py", line 554, in
setstate
    self._set_ghost_state(obj, p)
  File "/usr/lib/python2.1/site-packages/ZODB/Connection.py", line 590, in
_set_ghost_state
    state = unpickler.load()
  File "/usr/lib/python2.1/site-packages/ZODB/Connection.py", line 196, in
_persistent_load
    return self[oid]
  File "/usr/lib/python2.1/site-packages/ZODB/Connection.py", line 156, in
__getitem__
    klass=self._db._classFactory(self, module, name)
  File "/usr/lib/python2.1/site-packages/ZODB/DB.py", line 127, in
_classFactory
    return getattr(__import__(location, _globals, _globals, _silly),
ImportError: No module named BTree
>>> 

Mit freundlichen Grüßen

Kai Steverding	

GWS Gesellschaft für Warenwirtschafts-Systeme mbH
Krögerweg 10 - 48155 Münster - Germany
eMail: mailto:steverding at gws.ms
Telefon: +49 251 7000-02 / Fax -3910
Besuchen Sie uns im Internet: http://www.gws.ms____




More information about the ZODB-Dev mailing list