[Zope] Zope says ZEO_client added BTreeFolder2 has broken product

Chris Withers chris at simplistix.co.uk
Tue Aug 17 03:21:18 EDT 2004


Rodrigo Dias Arruda Senra wrote:
>      from BTreeFolder2 import BTreeFolder2

Here's your problem. On the client, you're adding 
BTreeFolder2.BTreeFolder2 instances.

Through the ZMI you're adding Products.BTreeFolder2.BTreeFolder2 instances.

These aren't the same ;-)

You should use zopectl run instead of your hacked up ZEO client code...

Or, at a minimum:

import Zope
app = Zope.startup()

Rather than your own python path hacking.

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list