It appears you're not actually using ZEO... make sure your custom_zodb.py file is set up right in that instance. ----- Original Message ----- From: "Dan L. Pierson" <dan@control.com> To: <zope@zope.org> Sent: Thursday, March 15, 2001 3:39 PM Subject: Re: [Zope] Python console
Hmm, what am I doing wrong?
[dan@daystar python]$ pwd /home/dan/site/zope/lib/python [dan@daystar python]$ python Python 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
import Zope Traceback (innermost last): File "<stdin>", line 1, in ? File "/home/dan/site/zope/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/home/dan/site/zope/lib/python/ZODB/FileStorage.py", line 262, in __init__ lock_file(f) File "/home/dan/site/zope/lib/python/ZODB/lock_file.py", line 101, in lock_file raise error, ( ZODB.POSException.StorageSystemError: Could not lock the database file. There must be another process that has opened the file. <p>
--On Thursday, March 15, 2001 03:34:13 PM -0500 Chris McDonough <chrism@digicool.com> wrote:
No magic. Same thing.
----- Original Message ----- From: "Dan L. Pierson" <dan@control.com> To: <zope@zope.org> Sent: Thursday, March 15, 2001 3:00 PM Subject: Re: [Zope] Python console
What's the magic for getting this to work with a ZEO client? I saw Jim demonstrate it last week, but didn't realize the need for a ZEO bit to note it down until later.
By the way, I'm still waiting for Jim's slides...
Dan Pierson
--On Thursday, March 15, 2001 03:06:39 PM -0500 Chris McDonough <chrism@digicool.com> wrote:
Hi Stefano,
cd to the "lib/python" directory of your Zope.
then invoke python.
At the python prompt:
> import Zope > app = Zope.app() > app.Control_Panel <ApplicationManager instance at 7128372>
----- Original Message ----- From: <spinwing@inwind.it> To: <zope@zope.org> Sent: Thursday, March 15, 2001 1:15 PM Subject: [Zope] Python console
Hello
I have been reading some times that it is possible to start up the Pyhton interpreter and dialog with Zope while it is running. However, I have no clue how to do it, nor I found anything around, nor I do not know what I can ask it.
Would somebody be so kind to give me some pointers?
Thanks and regards Stefano Vedovelli
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )