18 Jan
2006
18 Jan
'06
10:48 a.m.
On 1/18/06, Luca Olivetti <luca@wetron.es> wrote:
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.
Strange. If you are comfortable with the pdb debugger, you can debug the code in OFS.Application.install_products by adding a 'import pdb; pdb.set_trace()' before line 615 and see what get_products and install_product do, focussing on the product_dir variable, and how it eventually makes its way to the home property. -- Martijn Pieters