Okay, I've got a product (Basic content object) Called HTMLBlock. When I start my ZEO Client with the product installed I don't recieve any error messages. The product is listed in the "Select type to add..." menu. However if I try to add an instance of the Product I recieve an AttributeError on HTMLBlock. After a little poking around I realized that the product is not listed in the /Control_Panel/Products/ list. The traceback I get when trying to add an instance is below. Thanks, -Brian Traceback (innermost last): File /data/www/Zope.mysql.pes161.HB10/src/Zope-2.5.1-src/lib/python/ZPublisher/Publish.py, line 89, in publish File /data/www/Zope.mysql.pes161.HB10/src/Zope-2.5.1-src/lib/python/ZPublisher/BaseRequest.py, line 278, in traverse File /data/www/Zope.mysql.pes161.HB10/src/Zope-2.5.1-src/lib/python/App/FactoryDispatcher.py, line 30, in __bobo_traverse__ File /data/www/Zope.mysql.pes161.HB10/src/Zope-2.5.1-src/lib/python/App/Product.py, line 66, in _product (Object: Products) AttributeError: HTMLBlock
Brian R Brinegar wrote at 2003-1-21 18:48 -0500:
I've got a product (Basic content object) Called HTMLBlock. When I start my ZEO Client with the product installed I don't recieve any error messages. The product is listed in the "Select type to add..." menu. However if I try to add an instance of the Product I recieve an AttributeError on HTMLBlock. After a little poking around I realized that the product is not listed in the /Control_Panel/Products/ list. The traceback I get when trying to add an instance is below. You should have one (!) ZEO client (ZOPE instance) which defines the environment variable "FORCE_PRODUCT_LOAD".
This ZEO client will then build the products list for all of your ZEO clients (when it is restarted). Read the ZEO documentation, to find out more... Dieter
participants (2)
-
Brian R Brinegar -
Dieter Maurer