[Zope] Accessing zope through command-line python
Dieter Maurer
dieter@handshake.de
Mon, 24 Feb 2003 21:11:05 +0100
Mark Gibson wrote at 2003-2-24 10:09 -0700:
> I understand this:
>
> ----
> import Zope
> root=Zope.app()
> #do stuff now.
>
> ----
>
> However, if zope is running I receive an error:
>
>
> File "/home/local/zope_2_6/lib/python/ZODB/lock_file.py", line 33,
> in lock_file
> raise error, (
> ZODB.POSException.StorageSystemError: Could not lock the database
> file. There must be
> another process that has opened the file.
Have a look at ZEO.
There are fine HowTos, too....
Dieter