[Zope] reading zope.config file for ClientStorage

Chris Withers chris at simplistix.co.uk
Tue Oct 11 02:26:41 EDT 2005


Mika, David P (Research) wrote:
>         from Zope.Startup import options, handlers
>         opts = options.ZopeOptions()
>         opts.configfile='c:\Zope-Instance-Test\etc\zope-with-zeo.conf'
>         opts.load_schema()
>         opts.load_configfile()

What does your zope-with-zeo.conf file look like?

> The schema file that is being used by ZopeOptions is Zope/Startup/zopeschema.xml.  This only has a skeleton zodb_db section.  It looks like the meat & potatoes are in ZODB/component.xml, but I don't see how that is actually pulled in.

There will be an import statement in zopeschema.xml

cheers,

Chris

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



More information about the Zope mailing list