[Zope-dev] Registering Product with Control Panel

Brian R Brinegar brinegar@ecn.purdue.edu
Tue, 21 Jan 2003 18:48:44 -0500 (EST)


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