On Mon, Apr 8, 2013 at 5:05 PM, Jochen Dekeyser
<[email protected]> wrote:
> Hi,
>
> I am migrating from Plone 4.1.6 to Plone 4.2.5. On both, I use
> collective.dancing 0.9.10. On Plone 4.1.6, it works good, but on Plone
> 4.2.5, I get an error, when I click on a channel to edit it, I get the
> following error:
>
> 2013-04-08 16:35:14 ERROR Zope.SiteErrorLog 1365431714.070.715143749055
> http://localhost:8080/w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test/@@index_html
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 126, in publish
>   Module ZPublisher.mapply, line 77, in mapply
>   Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
>   Module ZPublisher.Publish, line 46, in call_object
>   Module Products.Five.browser.pagetemplatefile, line 125, in __call__
>   Module Products.Five.browser.pagetemplatefile, line 59, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 888, in do_useMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 888, in do_useMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 946, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 954, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 954, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 888, in do_useMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 954, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 946, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 946, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
>   Module zope.tales.tales, line 696, in evaluate
>    - URL:
> /home/plone/20130405-161150/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/browser/controlpanel.pt
>    - Line 10, Column 4
>    - Expression: <PathExpr standard:u'view/contents'>
>    - Names:
>       {'args': (),
>        'container': <Channel at
> /w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test>,
>        'context': <Channel at
> /w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test>,
>        'default': ,
>        'here': <Channel at
> /w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
> 0x7f7ba78138e8>,
>        'request': <HTTPRequest,
> URL=http://localhost:8080/w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test/@@index_html>,
>        'root': <Application at >,
>        'template':
> <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> 0x81738d0>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>,
>        'view': <Products.Five.metaclass.ManageChannelView object at
> 0x7f7ba7756510>,
>        'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at
> 0x7f7ba7756110>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module Products.PageTemplates.Expressions, line 155, in _eval
>   Module Products.PageTemplates.Expressions, line 117, in render
>   Module collective.dancing.browser.channel, line 752, in contents
>   Module z3c.form.form, line 221, in __call__
>   Module z3c.form.form, line 158, in render
>   Module zope.browserpage.viewpagetemplatefile, line 83, in __call__
>   Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 522, in do_optTag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 821, in do_loop_tal
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
>   Module zope.tales.tales, line 696, in evaluate
>    - URL:
> /home/plone/20130405-161150/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/browser/form-with-subforms.pt
>    - Line 24, Column 8
>    - Expression: <PathExpr standard:u'form/render'>
>    - Names:
>       {'args': (),
>        'context': <Channel at
> /w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test>,
>        'default': ,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': {},
>        'request': <HTTPRequest,
> URL=http://localhost:8080/w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test/@@index_html>,
>        'template':
> <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at
> 0x81733d0>,
>        'view': <collective.dancing.browser.channel.EditComposersForm object
> at 0x7f7ba77e9250>,
>        'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at
> 0x7f7ba78bc750>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module zope.tales.expressions, line 211, in _eval
>   Module z3c.form.form, line 158, in render
>   Module zope.browserpage.viewpagetemplatefile, line 83, in __call__
>   Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 888, in do_useMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 821, in do_loop_tal
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 522, in do_optTag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 954, in do_defineSlot
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 858, in do_defineMacro
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 533, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 518, in do_optTag
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 531, in do_optTag_tal
>   Module zope.tal.talinterpreter, line 513, in no_tag
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
>   Module zope.tales.tales, line 696, in evaluate
>    - URL:
> /home/plone/20130405-161150/buildout-cache/eggs/plone.z3cform-0.7.8-py2.7.egg/plone/z3cform/templates/macros.pt
>    - Line 76, Column 26
>    - Expression: <PathExpr standard:u'widget/render'>
>    - Names:
>       {'args': (),
>        'context': <collective.dancing.composer.HTMLComposer object at
> 0x7f7ba4cff230>,
>        'default': ,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': {},
>        'request': <HTTPRequest,
> URL=http://localhost:8080/w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test/@@index_html>,
>        'template':
> <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at
> 0x81c65d0>,
>        'view': <collective.dancing.browser.composer.EditHTMLComposerForm
> object at 0x7f7ba78b6fd0>,
>        'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at
> 0x7f7ba78bc710>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module Products.PageTemplates.Expressions, line 155, in _eval
>   Module Products.PageTemplates.Expressions, line 117, in render
>   Module z3c.form.widget, line 141, in render
>   Module zope.browserpage.viewpagetemplatefile, line 51, in __call__
>   Module zope.pagetemplate.pagetemplate, line 113, in pt_render
>    - Warning: Macro expansion failed
>    - Warning: <type 'exceptions.KeyError'>: 'support'
>   Module zope.tal.talinterpreter, line 271, in __call__
>   Module zope.tal.talinterpreter, line 343, in interpret
>   Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
>   Module zope.tales.tales, line 696, in evaluate
>    - URL:
> /home/plone/20130405-161150/buildout-cache/eggs/plone.app.z3cform-0.6.2-py2.7.egg/plone/app/z3cform/wysiwyg/wysiwyg_input.pt
>    - Line 9, Column 5
>    - Expression: <PathExpr nocall:u'context/portal_url'>
>    - Names:
>       {'args': (),
>        'context': <collective.dancing.composer.HTMLComposer object at
> 0x7f7ba4cff230>,
>        'default': ,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': {},
>        'request': <HTTPRequest,
> URL=http://localhost:8080/w3p6b2/wwwplasticdekeyserbe/nl/nieuws/channels/test/@@index_html>,
>        'template':
> <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at
> 0x7363850>,
>        'view': <WysiwygWidget 'composers.html.widgets.header_text'>,
>        'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at
> 0x7f7ba78bced0>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module zope.tales.expressions, line 194, in _eval
>   Module zope.tales.expressions, line 124, in _eval
>   Module zope.pagetemplate.engine, line 66, in __call__
>   Module zope.traversing.adapters, line 136, in traversePathElement
>    - __traceback_info__: (<collective.dancing.composer.HTMLComposer object
> at 0x7f7ba4cff230>, 'portal_url')
>   Module zope.traversing.adapters, line 50, in traverse
>    - __traceback_info__: (<collective.dancing.composer.HTMLComposer object
> at 0x7f7ba4cff230>, 'portal_url', [])
> LocationError: (<collective.dancing.composer.HTMLComposer object at
> 0x7f7ba4cff230>, 'portal_url')
>> /home/plone/20130405-161150/buildout-cache/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py(50)traverse()
> -> raise LocationError(subject, name)
>
> I use the same versions of the UnifiedInstaller +
> StoneageHTML = 0.2.1
> collective.dancefloor = 1.0.0
> collective.dancing = 0.9.10
> collective.singing = 0.7.1
> collective.singingnotify = 1.0.0
> cssutils = 0.9.9
> five.intid = 1.0.3
> plone.app.intid = 1.0.2
>
> I also tried to reinstall collective.dancing, but that makes no
> difference... What am I doing wrong?
>
> Jochen
>
>

Probably the issue fixed in plone.app.z3cform 0.7.2 (see
https://github.com/plone/plone.app.z3cform/pull/4), but seems that
Plone 4.2.5 is using version 0.6.2.

Try to upgrade.


--
-- luca

twitter: http://twitter.com/keul
linkedin: http://linkedin.com/in/lucafbb
blog: http://blog.keul.it/
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to