[Grok-dev] Re: megrok.kss AttributeError: 'module' object has no
attribute 'determine_class_context'
Godefroid Chapelle
gotcha at bubblenet.be
Wed Jun 11 09:02:30 EDT 2008
Andreas Knop wrote:
> My Problem is that I don't get KSS to work as it's explained here:
>
> http://grok.zope.org/documentation/how-to/adding-ajax-with-kss-to-grok
>
> Following the tutorial installs megrok.kss Package-Version 0.1dev-r84454 to my system
>
> The Readme in the Package told me to change 'configure.zcml' to:
>
> <configure xmlns="http://namespaces.zope.org/zope"
> xmlns:grok="http://namespaces.zope.org/grok">
> <include package="grok" />
> <includeDependencies package="." />
> <include package="megrok.kss" />
> <grok:grok package="." />
> </configure>
>
> Doing so is OK untill starting grok with ">bin/zopectl fg"
>
> Following Error Appears:
> ZopeXMLConfigurationError: File "c.\python25\scripts....\sample\configure.zcml", line 6.2-6.27
> AttributeError: 'module' object has no attribute 'determine_class_context'
>
> I get this Error when subclassing in 'app.py' like this:
>
> class AppKSS(KSSActions):
>
>
> Any suggestions?
>
> Regards Andreas
You have a problem with versions : you should get grok 0.12.1 and
megrok.kss 0.1 (without dev).
Sorry for delay before answering.
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Grok-dev
mailing list