[Grok-dev] Chameleon and five.grok

sylvain at infrae.com sylvain at infrae.com
Sun May 24 09:46:27 EDT 2009


> Hi,
>

  Hello,

> Plone 3.3rc3 is released and I wanted to try the new Chameleon engine.
> Oh and I use five.grok in one of my product of course. ;-)
>
> I pinned the same versions as plone-coredev:
> [versions]
> chameleon.core = 1.0b32
> chameleon.zpt = 1.0b16
> cmf.pt = 0.4
> sourcecodegen = 0.6.9
> z3c.pt = 1.0b15
> five.pt = 0.6
>
> [instance]
> eggs =
>    cmf.pt
> zcml =
>    cmf.pt
>
>
> But it appears chameleon doesn't like five.grok :-(
> File "eggs/five.grok-1.0a2-py2.4.egg/five/grok/components.py",
> line 113, in ?
>    class ViewPageTemplateFile(BaseViewPageTemplateFile):
> TypeError: Error when calling the metaclass bases
> Can't mix __of__ and descriptors
>
> Nobody has tested this combination yet? :-)


   I don't known about cmf.pt. it's probably not compliant with stantard
Zope since this start with cmf. You can use megrok.chameleon.

   There is a branch I am working on and I use in Silva/Zope 2. Just add
it and create .cpt templates after. I will release it as soon as the
tests are fixed (there is no zope.container in Zope 2 ....).

   Best regards,

  Sylvain,





More information about the Grok-dev mailing list