[Zope] Python Product doesn't appear in Products list in Control Panel

Richard Jones rjones@ekit-inc.com
Wed, 19 Jun 2002 10:32:24 +1000


On Wed, 19 Jun 2002 10:00, Richard Jones wrote:
> On Wed, 19 Jun 2002 09:44, Richard Jones wrote:
> > On Tue, 18 Jun 2002 21:52, Jens Vagelpohl wrote:
> > > if there are any errors that occur during the processing of your
> > > initialize method they might get swallowed up completely.
> >
> > I thought of that too, and nope, no exceptions are being raised and
> > swallowed.
> >
> > I also thought "hey, it's Zope, maybe it'll just magically get better
> > overnight" but no go. It's still broken. My product refuses to appear in
> > the products list. :(
>
> Freaky - it's appearing in the Add menu now (wasn't yesterday). Some of the
> tweaking I did this morning must've paid off. Still doesn't appear in the
> Products listing, but at least I can actually use it.

Heh, but the add doesn't work:

Error Type: AttributeError
Error Value: AccountMunger
 
Traceback (innermost last):
  File /export/01/zope/dev_csr_code/lib/python/ZPublisher/Publish.py, line 
223, in publish_module
  File /export/01/zope/dev_csr_code/lib/python/ZPublisher/Publish.py, line 
187, in publish
  File /export/01/zope/dev_csr_code/lib/python/Zope/__init__.py, line 226, in 
zpublisher_exception_hook
  File /export/01/zope/dev_csr_code/lib/python/ZPublisher/Publish.py, line 
162, in publish
  File /export/01/zope/dev_csr_code/lib/python/ZPublisher/BaseRequest.py, line 
340, in traverse
  File /export/01/zope/dev_csr_code/lib/python/App/FactoryDispatcher.py, line 
102, in __bobo_traverse__
  File /export/01/zope/dev_csr_code/lib/python/App/Product.py, line 137, in 
_product
    (Object: Products)
AttributeError: (see above)



    Richard (sigh)