Re: [Zope] reading zope.config file for ClientStorage

2005-10-12 Thread Chris Withers
Mika, David P (Research) wrote: OK, the opts object really did have everything loaded. On careful inspection the opts.configroot has an attribute databases with a list of Zope.Startup.datatypes.ZopeDatabase instances. I can do what I originally set out to do which was to open a

Re: [Zope] reading zope.config file for ClientStorage

2005-10-11 Thread Chris Withers
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

RE: [Zope] reading zope.config file for ClientStorage

2005-10-11 Thread Mika, David P (Research)
OK, the opts object really did have everything loaded. On careful inspection the opts.configroot has an attribute databases with a list of Zope.Startup.datatypes.ZopeDatabase instances. I can do what I originally set out to do which was to open a ZEO.ClientStorage configured from the

Re: [Zope] reading zope.config file for ClientStorage

2005-10-10 Thread Chris Withers
Mika, David P (Research) wrote: To initialize ZEO clients with ClientStorage I need info such as host, port, etc. All the needed stuff is tucked away nicely in the zope.config file and I would like to be using the zope machinery access it. I know that what I need is in there somewhere, but when

RE: [Zope] reading zope.config file for ClientStorage

2005-10-10 Thread Mika, David P (Research)
more ideas? Dave -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 8:57 AM To: Mika, David P (Research) Cc: zope@zope.org Subject: Re: [Zope] reading zope.config file for ClientStorage Mika, David P (Research) wrote: To initialize ZEO clients