Hello,

I have trouble making chameleon work on Plone-3.3rc5.
I realized some have the similar problem.

http://n2.nabble.com/Plone-3.2-and-Chameleon-td2333604.html

It seems that global define is not working properly.

Here is the traceback I got.
Is there work around for this, or am I doing something wrong?

I have put cmf.pt to buildout and described following to zcml as
described in http://pypi.python.org/pypi/cmf.pt

<include package="cmf.pt" />

    + Traceback (innermost last):
    +   Module ZPublisher.Publish, line 119, in publish
    +   Module ZPublisher.mapply, line 88, in mapply
    +   Module ZPublisher.Publish, line 42, in call_object
    +   Module cmf.pt.fs, line 53, in __call__
    +   Module z3c.pt.pagetemplate, line 134, in __call__
    +   Module z3c.pt.pagetemplate, line 250, in __call__
    +   Module z3c.pt.pagetemplate, line 125, in render
    +   Module chameleon.core.template, line 338, in render
    +   Module chameleon.zpt.template, line 18, in render
    +   Module chameleon.core.template, line 191, in render
    +   Module chameleon.core.template, line 317, in cook_and_render
    +   Module chameleon.core.template, line 182, in cook_and_render
    +    - __traceback_info__: (<FSPageTemplate
/home/taito/Development/eggs/Plone-3.3rc5-py2.4.egg/Products/CMFPlone/skins/plone_content/document_view.pt>,)
    +   Module <string>, line 143, in render
    +   Module chameleon.core.template, line 382, in render
    +   Module five.pt.pagetemplate, line 35, in render_macro
    +   Module chameleon.zpt.template, line 22, in render_macro
    +   Module chameleon.core.template, line 201, in render_macro
    +   Module chameleon.core.template, line 317, in cook_and_render
    +   Module chameleon.core.template, line 182, in cook_and_render
    +    - __traceback_info__: (<FSPageTemplate
/home/taito/Development/eggs/Plone-3.3rc5-py2.4.egg/Products/CMFPlone/skins/plone_templates/main_template.pt>,)
    +   Module <string>, line 237, in render
    +   Module chameleon.core.utils, line 287, in __getitem__
    + NameError: portal_url
    + <BLANKLINE>


Taito

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to