Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Martijn Pieters
On 1/18/06, Dieter Maurer <[EMAIL PROTECTED]> wrote: > >If you don't trust this procedure, back up the ZODB, but from my > >reading this should happen every time you start Zope anyway. > > Please don't: it would make running from a read only storage > much more difficult Indeed. Had I the time

Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Dieter Maurer
Martijn Pieters wrote at 2006-1-18 08:19 +0100: > ... >It should be perfectly safe to delete the Products from your Control >Panel Products folder and restart Zope to have them recreated though. >If you don't trust this procedure, back up the ZODB, but from my >reading this should happen every time

Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Martijn Pieters
On 1/18/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > huuh...never seen that...looks like a culprit...who actually uses that > information? Isn't package_home() doing the same? package_home serves a different use-case, I think; you use it within a Product to determine paths to templates and such.

Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Martijn Pieters
On 1/18/06, Luca Olivetti <[EMAIL PROTECTED]> wrote: > I asked the same question a couple of days ago (see "wrong directoy in > Control_Panel.Products..home") and no, they aren't reset at zope > restart, and deleting the pyc files doesn't help either. Strange. If you are comfortable with the p

Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Luca Olivetti
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: product.home=home 'home' is the product

Re: [Zope] Products have incorrect "home" attribute

2006-01-18 Thread Martijn Pieters
On 1/18/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > What and where is the 'home' attribute? In lib/python/App/Product.py line 549: product.home=home 'home' is the product path as determined by OFS.Application.install_product; it looks, from a cursory glance, that this should be reset eve

Re: [Zope] Products have incorrect "home" attribute

2006-01-17 Thread Andreas Jung
--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: product.home=home 'home' is the product path as determined by OFS.Appli

Re: [Zope] Products have incorrect "home" attribute

2006-01-17 Thread Dario Lopez-Kästen
George Lee wrote: After migrating to a new server, several of my Zope products have an incorrect "home" attribute that specifies where they live on the filesystem. However, when I try to change these attributes using an external method, the attributes do not change. Any help? Peace, George I d

Re: [Zope] Products have incorrect "home" attribute

2006-01-17 Thread Andreas Jung
--On 18. Januar 2006 01:24:34 -0500 George Lee <[EMAIL PROTECTED]> wrote: After migrating to a new server, several of my Zope products have an incorrect "home" attribute that specifies where they live on the filesystem. What and where is the 'home' attribute? -aj pgpnG4zLUkZ1u.pgp De