[Zope] Python console

Dan L. Pierson dan@control.com
Thu, 15 Mar 2001 16:17:01 -0500


Aha!  I forgot to copy custom_zodb.py from the directory I use for running 
the client into
my main Zope directory.  Dumb!

BTW: I've currently got three sibling directories set up: 'c1', 'zope', and 
'c2' with only
the minimum needed to run a client using CLIENT_HOME for a separate logging 
directory in the
c* directories.  The storage server runs out of the zope directory, which 
is the only one
that actually has a lib/python so that's where I have to run python 
manually.

I don't know if this is a good layout or not.  The names are certainly 
debatable for anything
but initial testing, other than that does this make sense?

Thanks a lot for getting me on the right track,

Dan

--On Thursday, March 15, 2001 01:04:22 PM -0800 "Randall F. Kern" 
<randy@spoke.net> wrote:

> I do this all the time.  Looking at your traceback, I think your
> custom_zodb.py file isn't quite right, and you aren't really running
> with a ZEO.ClientStorage, but actually using a ZODB.FileStorage
> directly.
>
> -Randy
>
>> -----Original Message-----
>> From: Dan L. Pierson [mailto:dan@control.com]
>> Sent: Thursday, March 15, 2001 1:00 PM
>> To: zope@zope.org
>> Subject: Re: [Zope] Python console
>>
>>
>> That's exactly why I asked about the ZEO "magic".  What Jim
>> did and what
>> I'm trying to do
>> is run a ZEO storage server, then run python as a ZEO client
>> for debugging
>> while running
>> another ZEO client with a browser working on the site.  All
>> off of a single
>> laptop at the
>> conference.
>>
>> --On Thursday, March 15, 2001 03:51:15 PM -0500 Joel Burton
>> <jburton@scw.org> wrote:
>>
>> > On Thu, 15 Mar 2001, Dan L. Pierson wrote:
>> >
>> >> Hmm, what am I doing wrong?
>> >
>> >> ZODB.POSException.StorageSystemError: Could not lock the
>> database file.
>> >> There must be
>> >> another process that has opened the file.
>> >
>> > Can only do it this way if you're not using Zope right now.
>> >
>> > Check out doc/DEBUGGING.txt in your installation for info on using
>> > medua monitor to do it while Zope is running.
>> >
>> > --
>> > Joel Burton   <jburton@scw.org>
>> > Director of Information Systems, Support Center of Washington
>> >
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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 )
>>
>