[Grok-dev] IErrorReportingUtility component lookup error

Luciano Ramalho luciano at ramalho.org
Thu Oct 11 05:49:28 EDT 2007


Using a clean Grok app build with the latest grokproject I am getting
this ComponentLookupError for the IErrorReportingUtility when visiting
the admin ui. If you look at the log below you will see two errors
reported. The first one appeared on the first request to the instance
root, even before I logged in. The second one appeared when the admin
UI was displayed after I logged in. The error does not happen when I
visit the index page of an app inside the instance.

Ciao da Napoli!

Luciano



Sierra:~/projetos/fin_hist_demo/10/FinancialHistory luciano$ ./bin/zopectl fg
/Users/luciano/projetos/fin_hist_demo/10/FinancialHistory/parts/app/runzope
-C /Users/luciano/projetos/fin_hist_demo/10/FinancialHistory/parts/zopectl/zope.conf
------
2007-10-11T11:37:54 INFO root -- HTTP:localhost:10010 Server started.
        Hostname: localhost
        Port: 10010
------
2007-10-11T11:37:54 INFO root Startup time: 3.560 sec real, 3.150 sec CPU
------
2007-10-11T11:38:31 ERROR SiteError Error while reporting an error to
the Error Reporting utility
Traceback (most recent call last):
  File "/Users/luciano/buildout-eggs/tmpytjl6u/zope.app.publication-3.4.2-py2.4.egg/zope/app/publication/zopepublication.py",
line 225, in _logErrorWithErrorReportingUtility
  File "/Users/luciano/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py",
line 207, in getUtility
    raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass
zope.error.interfaces.IErrorReportingUtility>, '')
------
2007-10-11T11:38:43 ERROR SiteError Error while reporting an error to
the Error Reporting utility
Traceback (most recent call last):
  File "/Users/luciano/buildout-eggs/tmpytjl6u/zope.app.publication-3.4.2-py2.4.egg/zope/app/publication/zopepublication.py",
line 225, in _logErrorWithErrorReportingUtility
  File "/Users/luciano/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py",
line 207, in getUtility
    raise ComponentLookupError(interface, name)
ComponentLookupError: (<InterfaceClass
zope.error.interfaces.IErrorReportingUtility>, '')


More information about the Grok-dev mailing list