On Wednesday 07 June 2006 15:53, you wrote:
> You are missing Zope init/configuration (which initialize all Zope Products
> and python paths to them).
>
> I use this minimal script:
>
> import sys
> zope_home='/opt/pperegri/builds/F2.12/opt/Zope-2.8.6-final'
> instance_home='/opt/pperegri/builds/F2
On Wednesday 07 June 2006 19:44, you wrote:
> Richard Jennings wrote at 2006-6-7 11:53 +0200:
> >I have a Zope2.7.2/Zeo2.2.2 instance running, using the standard zope.conf
> > & zeo.conf settings (exception: port=8081) and it works fine. I want
> > read-only access to the instance zodb to read sit
> You are reinventing the wheel. You should investigate if you could
> run your script using the ZEO client's "zopectl" script with "zopectl
> run ". There's also Chris Withers' Stepper product, but I don't
> know if it is compatible with Zope versions earlier than 2.8:
thanks for your advice
Richard Jennings wrote at 2006-6-7 11:53 +0200:
>I have a Zope2.7.2/Zeo2.2.2 instance running, using the standard zope.conf &
>zeo.conf settings (exception: port=8081) and it works fine. I want read-only
>access to the instance zodb to read site object properties. In a test
>script, I have used t
You are missing Zope init/configuration (which initialize all Zope Products and
python paths to them).
I use this minimal script:
import sys
zope_home='/opt/pperegri/builds/F2.12/opt/Zope-2.8.6-final'
instance_home='/opt/pperegri/builds/F2.12/instances/zope_rw'
sys.path.append('%s/lib/python'%zo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 7 Jun 2006, at 11:53, Richard Jennings wrote:
Hi,
I have a Zope2.7.2/Zeo2.2.2 instance running, using the standard
zope.conf &
zeo.conf settings (exception: port=8081) and it works fine. I want
read-only
access to the instance zodb to read