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-with-zeo.conf file (the ZEO.ClientStorage is now wrapped in a ZEOClient 

from Zope.Startup import options, handlers
opts = options.ZopeOptions()
for db in opts.configroot.databases:
     if is instance(db.config.storage, ZODB.config.ZEOClient):

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

My zope-with-zeo.conf file is pretty standard except for a designation to use a 
zeoclient.  I've also included a username and password as my zeo server is 
using digest authentication:

 <zodb_db main>
   mount-point /
     server localhost:8090
     storage 1
     name zeostorage
     var $INSTANCE/var
     username metalfor
     password my_zeo_cleartext_password

Thanks much!
Dave Mika
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to