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

DIVINE, PAUL (PAUL) paul.divine at alcatel-lucent.com
Fri Feb 25 10:14:02 EST 2011


Thanks a lot.

-----Message d'origine-----
De : grok-dev-bounces at zope.org [mailto:grok-dev-bounces at zope.org] De la part de Jan-Wijbrand Kolman
Envoyé : mercredi 23 février 2011 15:02
À : grok-dev at zope.org
Objet : Re: [Grok-dev] ./bin/paster serve blobfile error

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

_______________________________________________
Grok-dev mailing list
Grok-dev at zope.org
https://mail.zope.org/mailman/listinfo/grok-dev


More information about the Grok-dev mailing list