ZODB and Zope on one Linux machine, how?

Terry Hancock hancock at anansispaceworks.com
Wed Jan 25 18:48:10 EST 2006


On Tue, 24 Jan 2006 15:24:47 +0100
Rene Pijlman <reply.in.the.newsgroup at my.address.is.invalid>
wrote:
> Option 1:
> Install ZODB in the Python installation in the usual way.
> Should I expect problems when I install and run zope with
> that Python installation? 

I think this should work, actually.

ZODB is just like other databases in that each application
is going to make its own database.  That is, there is a
different top-level object. At least I think this is true.

> Option 3:
> Use separate Python installations for Zope and the
> application. Install ZODB in the application's Python
> installation, not in Zope's.

If they don't have to interact with each other, this may be
safest.  I don't think you really want to make calls from
one into the other, though, if they are different Python
installations (I suppose it should be possible, but I'd be a
 little afraid of problems cropping up).

> I'm using:
> - Python 2.3.5
> - ZODB 3.2.10 (same as in Zope 2.7.8)
> - Zope 2.7.8
> - Plone 2.1.1
> ... all built from source on Debian Woody.

The first option, if it works, would require that the ZODB
used by your application is the same as what Zope uses,
of course.

-- 
Terry Hancock (hancock at AnansiSpaceworks.com)
Anansi Spaceworks http://www.AnansiSpaceworks.com




More information about the Python-list mailing list