Stefano Schintu wrote: > Hello, > I get the following error when creating a Blog using CPS from trunk > revision 32304: > > Request URL http://localhost:8080/cps/sections/blogs/blog-13658/blog_view > Exception Type KeyError > Exception Value ('cps', 'mnotify') > > Traceback (innermost last): > > * Module ZPublisher.Publish, line 113, in publish > * Module ZPublisher.mapply, line 88, in mapply > * Module ZPublisher.Publish, line 40, in call_object > * Module Shared.DC.Scripts.Bindings, line 311, in __call__ > * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec > * Module Products.CMFCore.FSPageTemplate, line 195, in _exec > * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render > * Module Products.PageTemplates.PageTemplate, line 104, in pt_render > <FSPageTemplate at /cps/blog_view used for > /cps/sections/blogs/blog-13658> > * Module TAL.TALInterpreter, line 238, in __call__ > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 749, in do_useMacro > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 749, in do_useMacro > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 749, in do_useMacro > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 691, in do_loop_tal > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 691, in do_loop_tal > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 691, in do_loop_tal > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 446, in do_optTag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 772, in do_defineSlot > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 772, in do_defineSlot > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 772, in do_defineSlot > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 749, in do_useMacro > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 715, in do_condition > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 691, in do_loop_tal > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 457, in do_optTag_tal > * Module TAL.TALInterpreter, line 442, in do_optTag > * Module TAL.TALInterpreter, line 437, in no_tag > * Module TAL.TALInterpreter, line 281, in interpret > * Module TAL.TALInterpreter, line 507, in do_setLocal_tal > * Module Products.PageTemplates.TALES, line 221, in evaluate > URL: file:CPSBlog/skins/cpsblog/blog_actions.pt > Line 14, Column 10 > Expression: <PythonExpr here.getIconFor('cps', daction['id'])> > Names: > > {'container': <CPSDefaultSite at /cps>, > 'context': <ProxyBTreeFolderishDocument at /cps/sections/blogs/blog-13658>, > 'default': <Products.PageTemplates.TALES.Default instance at 0x2aaaaffabf80>, > 'here': <ProxyBTreeFolderishDocument at /cps/sections/blogs/blog-13658>, > 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x2aaab40c7440>, > 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter > instance at 0x2aaaaffad3f8>, > 'nothing': None, > 'options': {'args': ()}, > 'repeat': <Products.PageTemplates.TALES.SafeMapping object at > 0x2aaab40c7440>, > 'request': <HTTPRequest, > URL=http://localhost:8080/cps/sections/blogs/blog-13658/blog_view>, > 'root': <Application at >, > 'template': <FSPageTemplate at /cps/blog_view used for > /cps/sections/blogs/blog-13658>, > 'traverse_subpath': [], > 'user': <CPSUser manager>} > > * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > __traceback_info__: here.getIconFor('cps', daction['id']) > * Module Python expression "here.getIconFor('cps', > daction['id'])", line 1, in <expression> > * Module Products.CMFCore.FSPythonScript, line 108, in __call__ > * Module Shared.DC.Scripts.Bindings, line 311, in __call__ > * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec > * Module Products.CMFCore.FSPythonScript, line 163, in _exec > * Module None, line 9, in getIconFor > <FSPythonScript at /cps/getIconFor used for > /cps/sections/blogs/blog-13658> > Line 9 > * Module Products.CMFActionIcons.ActionIconsTool, line 184, in > getActionIcon > > KeyError: ('cps', 'mnotify') > > Should I create a ticket? >
Thank you for testing this beta release... Yes, please enter a ticket.
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
