En/na Andreas Jung ha escrit:

--On 18. Januar 2006 08:19:25 +0100 Martijn Pieters <[EMAIL PROTECTED]> wrote:

On 1/18/06, Andreas Jung <[EMAIL PROTECTED]> wrote:
What and where is the 'home' attribute?????

In lib/python/App/Product.py line 549:


'home' is the product path as determined by
OFS.Application.install_product; it looks, from a cursory glance, that
this should be reset every time Zope is restart.

I asked the same question a couple of days ago (see "wrong directoy in Control_Panel.Products.XXXX.home") and no, they aren't reset at zope restart, and deleting the pyc files doesn't help either.

huuh...never seen that...looks like a culprit...who actually uses that information?

CMFQuickInstaller does (and breaks if you move your zope instance)

Isn't package_home() doing the same?

funny that you ask since I just noticed that CMFQuickInstaller imports the function then never uses it.


Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004      Fax +34 93 5883007
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to