Zope not updating Control_Panel/Products?
Hi, I have a problem with a Zope-2.3.0 installation (running with ZEO): when I add products to the Products/ directory, Zope does initialize them, but they are not added to Control_Panel/Products and therefore you cannot create new instances of the classes contained in the products. Zope starts normally, I've tried removing the ZEO caches, restarting both nodes, to no avail. It happened before and that's why I upgraded from 2.2 to 2.3, which seemed to help, but now it's back to the old behavior. The development system had 2.2 and now has 2.3 without ZEO, and works like a charm; it's just the production system that has these problems (so I can tell you that the problems are not in the products: they initialize without exceptions and they are copies of products as they are installed on the development system). Anyone familiar with this problem? Cees -- Cees de Groot http://www.cdegroot.com <cg@cdegroot.com> GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B
On Monday 19 March 2001 04:56, Cees de Groot wrote:
Hi,
I have a problem with a Zope-2.3.0 installation (running with ZEO): when I add products to the Products/ directory, Zope does initialize them, but they are not added to Control_Panel/Products and therefore you cannot create new instances of the classes contained in the products.
not sure whether this is the problem, but you should *not* define ZEO_CLIENTS when starting after installing the new product(s). then only will the products be available. i think this is solved in 2.3.0b1
bak (kedai) <kedai@kedai.com.my> wrote:
not sure whether this is the problem, but you should *not* define ZEO_CLIENTS when starting after installing the new product(s). then only will the products be available. i think this is solved in 2.3.0b1
It is solved inasmuch as you can define a "FORCE_PRODUCT_LOAD" environment variable on one ZEO client that will force Products to be loaded into the ZODB. This has the same effect (as far as Product loading goes) on a ZEO client as *not* defining the ZEO_CLIENT environment variable.
kedai@kedai.com.my said:
not sure whether this is the problem, but you should *not* define ZEO_CLIENTS when starting after installing the new product(s). then only will the products be available. i think this is solved in 2.3.0b1
Thanks, that fixed it. -- Cees de Groot http://www.cdegroot.com <cg@cdegroot.com> GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD 1986 F303 937F E098 9E8B
participants (3)
-
bak -
cg@cdegroot.com -
Chris McDonough