[Zope-Coders] Import of BTrees module broken for Python 2.2

Andreas Jung andreas@andreas-jung.com
Wed, 13 Feb 2002 18:26:35 -0500


On a fresh Zope 2.5 checkout I tried 
"python2.2 -c 'from BTrees.IOBTree import IOBtree".

This gives the following traceback:

andreas@yetix:/tmp/Zope: python2.2 -c "from BTrees.IOBTree import IOBTree"
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/tmp/Zope/lib/python/BTrees/__init__.py", line 8, in ?
    try: import Interface
  File "/tmp/Zope/lib/python/Interface/__init__.py", line 2, in ?
    from Standard import Base
  File "/tmp/Zope/lib/python/Interface/Standard.py", line 2, in ?
    import iclass, Util
  File "/tmp/Zope/lib/python/Interface/iclass.py", line 169, in ?
    class Named(Base):
  File "/tmp/Zope/lib/python/Interface/iclass.py", line 59, in __init__
    raise Exceptions.InvalidInterface(
Interface.Exceptions.InvalidInterface: Concrete attribute, __module__

Is there anything completely broken here ?

Andreas