[Grok-dev] Can someone who has worked with template pluging review this doc

Paul Wilson paulalexwilson at gmail.com
Wed Sep 23 11:39:15 EDT 2009


2009/9/23 Uli Fouquet <uli at gnufix.de>:
> Hi there,
>
> Paul Wilson wrote:
>
>> 2009/9/23 Uli Fouquet <uli at gnufix.de>:
> [snip]
>> >
>> > Testing megrok.genshi was not possible as it looks like this package is
>> > outdated and does not work with current grok:
>> >
>> > --------------------%<----------------
>> > File
>> > "/home/.../eggs/megrok.genshi-1.0-py2.5.egg/megrok/genshi/components.py", line 45, in GenshiMarkupTemplateFactory
>> >    zope.interface.implements(grok.interfaces.ITemplateFileFactory)
>> > ...
>> >    AttributeError: 'module' object has no attribute
>> > 'ITemplateFileFactory'
>> > --------------------%<----------------
>> >
>> > AFAICS ITemplateFileFactory was removed from grok.interfaces (moved to
>> > grokcore.view.interfaces, right?) in december 2008. Time for an update?
>>
>> Yes it was:
>>
>> http://svn.zope.org/megrok.genshi/trunk/src/megrok/genshi/components.py?rev=101531&view=markup
>>
>> In fact, that's exactly the change I made to the documentation
>> mentioned at the beginning of this thread.
>
> megrok.genshi was fixed by Kevin Gill months ago and tests pass also for
> Grok 1.0b2. All we need is a new release. Lennart, could you do that?

While we're at it, is it advantageous for it to get its GlobalUtility
from grokcore.component too?

Thanks,
Paul


More information about the Grok-dev mailing list