From owner-freebsd-python@FreeBSD.ORG  Thu Oct 21 17:44:02 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C5D8916A4CE
	for <freebsd-python@freebsd.org>;
	Thu, 21 Oct 2004 17:44:02 +0000 (GMT)
Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6B2FC43D1D
	for <freebsd-python@freebsd.org>;
	Thu, 21 Oct 2004 17:44:02 +0000 (GMT)
	(envelope-from pgrunwald@comcast.net)
Received: from silversurfer
	(pcp01879374pcs.sandia01.nm.comcast.net[68.35.34.187])
	by comcast.net (sccrmhc11) with SMTP
	id <200410211743590110071k5me>; Thu, 21 Oct 2004 17:43:59 +0000
From: "Paul Grunwald" <pgrunwald@comcast.net>
To: <freebsd-python@freebsd.org>
Date: Thu, 21 Oct 2004 11:45:41 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Thread-Index: AcS3lcg+Qz3hYA8kRaGi483FIZICbw==
Message-Id: <20041021174402.6B2FC43D1D@mx1.FreeBSD.org>
Subject: Zope/Plone Products question
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 17:44:02 -0000

Installed zope 2.7.2 and plone 2.04 from ports on FreeBSD 4.10. did
mkzopeinstance to /var/zope. Products directory is empty in /var/zope. Plone
et. all are in /usr/local/www/Zope/Products. Should I copy them to
/var/zope/Product? the zope.conf seems to indicate that they should be
linked but they are not showing in the instance I make. 


I installed as root but did  "chown -R /var/zope www" and set effective-user
to www


from zope.conf: 

%define INSTANCE /var/zope
%define ZOPE /usr/local/www/Zope


"The master Products directory exists in Zope's software home,
and cannot be removed from the products path (and should not be added to it
here)."

Doesn't this imply that I should be able to see the products installed in
/usr/local/www/Zope/Products in every instance?

What am I missing here?

Thanks,
P.







From owner-freebsd-python@FreeBSD.ORG  Thu Oct 21 18:49:59 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C76516A4CE
	for <freebsd-python@freebsd.org>;
	Thu, 21 Oct 2004 18:49:59 +0000 (GMT)
Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF9343D1D
	for <freebsd-python@freebsd.org>;
	Thu, 21 Oct 2004 18:49:59 +0000 (GMT)
	(envelope-from pgrunwald@comcast.net)
Received: from silversurfer
	(pcp01879374pcs.sandia01.nm.comcast.net[68.35.34.187])
	by comcast.net (sccrmhc13) with SMTP
	id <20041021184956016000i7ole>; Thu, 21 Oct 2004 18:49:56 +0000
From: "Paul Grunwald" <pgrunwald@comcast.net>
To: <freebsd-python@freebsd.org>
Date: Thu, 21 Oct 2004 12:50:57 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
Thread-Index: AcS3lcg+Qz3hYA8kRaGi483FIZICbwACEYRA
In-Reply-To: 
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Message-Id: <20041021184959.3FF9343D1D@mx1.FreeBSD.org>
Subject: RE: Zope/Plone Products question
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Oct 2004 18:49:59 -0000

> 
> Installed zope 2.7.2 and plone 2.04 from ports on FreeBSD 4.10. did
> mkzopeinstance to /var/zope. Products directory is empty in /var/zope.
> Plone et. all are in /usr/local/www/Zope/Products. Should I copy them to
> /var/zope/Product? the zope.conf seems to indicate that they should be
> linked but they are not showing in the instance I make.
> 
> 
> I installed as root but did  "chown -R /var/zope www" and set effective-
> user to www
> 
> 
> from zope.conf:
> 
> %define INSTANCE /var/zope
> %define ZOPE /usr/local/www/Zope
> 
> 
> "The master Products directory exists in Zope's software home,
> and cannot be removed from the products path (and should not be added to
> it here)."
> 
> Doesn't this imply that I should be able to see the products installed in
> /usr/local/www/Zope/Products in every instance?
> 
> What am I missing here?
> 
> Thanks,
> P.
> 

Ok,  I did an pkg_deinstall of Zope and Plone and reinstalled with
"portupgrade plone".

I caught the message about adding the below to zope.conf :
products /usr/local/www/Zope/Products
products $INSTANCE/Products



I did that and it is working as I expect.  I don't understand however why I
need to do that based on this comment in the zope.conf.examples and the
defines above:


# Directive: products
#
# Description:
#     Name of a directory that contains additional Product packages.  This
#     directive may be used as many times as needed to add additional
#     collections of products.  Each directory identified will be
#     added to the __path__ of the Products package.  All Products are
#     initialized in ascending alphabetical order by product name.  If
#     two products with the same name exist in two Products directories,
#     the order in which the packages appear here defines the load
#     order.  The master Products directory exists in Zope's software home,
#     and cannot be removed from the products path (and should not be added
#     to it here).

Anyway,  I solved my own problem for now,  I just wanted to make sure I had
not uncovered a bug or something.

P.