[Zope] Accessing zope through command-line python
Chris McDonough
chrism@zope.com
24 Feb 2003 12:05:57 -0500
Using ZEO is the best way.
On Mon, 2003-02-24 at 12:09, Mark Gibson wrote:
> 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.
>
> Is there a way to access a running zope instance in this way?
>
> Thanks,
> Mark
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )