[Zope-Coders] Importing BTrees fails in 2.5 branch

Andreas Jung andreas@andreas-jung.com
Tue, 24 Sep 2002 18:30:18 +0200


--On Dienstag, 24. September 2002 12:21 -0400 Jeremy Hylton 
<jeremy@zope.com> wrote:

> BTrees imports a module named cPersistence.  This import will only
> succeed if ZODB is imported first.  The __init__ in the ZODB package
> adds cPersistence to sys.modules.
>
> As far as I can tell, BTrees has always worked this way.  Are you sure
> you're doing exactly the same thing to test with the different
> versions of Zope?
>

I am *really* sure. This failure never happened before. Try it
with a checkout from HEAD for Zope-2_6-branch. It will work there.

Andreas