[Grok-dev] ./bin/paster serve blobfile error

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Feb 23 09:02:04 EST 2011


On 2/23/11 14:29 PM, DIVINE, PAUL (PAUL) wrote:
>    File "/root/.buildout/eggs/grokcore.view-2.3-py2.5.egg/grokcore/view/meta/views.py", line 53, in check_templates
>      module_info, factory, component_name, self.has_render, self.has_no_render)
>    File "/root/.buildout/eggs/grokcore.view-2.3-py2.5.egg/grokcore/view/templatereg.py", line 254, in checkTemplates
>      (component_name.title(), factory), factory)
> zope.configuration.config.ConfigurationExecutionError:<class 'martian.error.GrokError'>: View<class 'npotools.app_old.Index'>  has
>   no associated template or 'render' method.
>    in:
>    File "/home/npo/virtual_env_05/npotools/src/npotools/configure.zcml", line 5.2-5.27
>      <grok:grok package="." />

Provided i read the traceback well, this means exactly that: the 
npotools.app_old.Index has no render() method or template associated.

Note that template association changed in the most recent grok version, 
so maybe you need to cater for the changed behavior in the npotools package.

regards, jw



More information about the Grok-dev mailing list