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 ZEO.ClientS
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
zope-w
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 li
that is actually pulled in.
Any 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 (Re
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
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 I try to follow how it happens