Skip to content. | Skip to navigation

Personal tools


You are here: Home / Blog / z3c.componentdebug


by Ross Patterson last modified Nov 23, 2008 03:09 AM
verbose ComponentLookupErrors

The Zope component registry is a black box in normal operation. Requests are made of the registry for components appropriate to the request and it returns them. If something goes wrong, it raises ComponentLookupError. This is very much as it should be since the inner workings of the registry should no more be apart of application design than should the inner workings of Python.

In the process, however, of developing an application that uses the registry, it is often desirable to have more introspection of the registry available.

z3c.componentdebug provides a set of tools for inspecting the component registry of site managers. It also provides a patch that catches various different ComponentLookupError exceptions and adds more verbose reporting.

Related content
Zope 3
The Groupery
OpenID Login


IRC: rossp
Yahoo IM: patterson_ross
AIM: rosspatters
Skype: merpattersonnet

PO Box 7775 #10587
San Francisco, CA

+1 (415) 894-5323