[ZODB-Dev] Accessing Plone through ZEO back door?

Chris Withers chris at simplistix.co.uk
Mon Aug 23 07:18:34 EDT 2004


Christian Robottom Reis wrote:
> You're probably getting a traceback that complains about a module
> loading (peeks below... right!). This happens because you need to have
> local access to the modules that implement your Persistent classes --
> and the ZODB isn't finding them where it's looking.

Indeed, and this is made worse by the nasty way in which Zope's Products 
package gets set up.

>>PS:  I thought I might solve the whole issue by putting a path to my 
>>zope instance (/var/zope) in PYTHONPATH, but that didn't help.
> 
> That sounds odd. It *should* work -- 

Nope, the Products package isn't a package in the INSTANCE_HOME, it's 
just a folder containing packages :-(

cheers,

Chris

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



More information about the ZODB-Dev mailing list