Hello, I got the error described below after clicking on the unused portlets buttons in cpsskins. All the other buttons works fine until I click the unused portlets. After getting the error all other buttons stop working and I get the same error. Restarting zope solves the problem but it arises again clicking on the unused portlets buttons. I'm using the cps3-full from subversion and zope 2.8.1 on fedora 4. It isn't a vital problem not clicking on that button but I would like to know if it's caused or not by my installation. Thank you, Stefano
--------------------------------------------------------------------------------------------------------------------------- User Name (User Id) manager (manager) Request URL http://localhost:8080/cps/cpsskins_portlet_manage_form Exception Type KeyError Exception Value 'portlet' 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 188, in _exec * Module Products.CMFCore.FSPageTemplate, line 127, in pt_render * Module Products.PageTemplates.PageTemplate, line 102, in pt_render <FSPageTemplate at /cps/cpsskins_portlet_manage_form> * Module TAL.TALInterpreter, line 206, in __call__ * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 675, in do_condition * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 675, in do_condition * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 675, in do_condition * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 709, in do_useMacro * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 651, in do_loop_tal * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 675, in do_condition * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 709, in do_useMacro * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 651, in do_loop_tal * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 426, in do_optTag_tal * Module TAL.TALInterpreter, line 411, in do_optTag * Module TAL.TALInterpreter, line 406, in no_tag * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 607, in do_insertStructure_tal * Module Products.PageTemplates.TALES, line 221, in evaluate URL: file:CPSSkins/skins/cpsskins_cmf/cpsskins_portlet_manage_lib.pt Line 603, Column 4 Expression: <PythonExpr portlet.render_cache(context_obj=here)> Names: {'container': <CPSDefaultSite at /cps>, 'context': <CPSDefaultSite at /cps>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb76e3aac>, 'here': <CPSDefaultSite at /cps>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2b6820c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76e9aec>, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2b6820c>, 'request': <HTTPRequest, URL=http://localhost:8080/cps/cpsskins_portlet_manage_form>, 'root': <Application at >, 'template': <FSPageTemplate at /cps/cpsskins_portlet_manage_form>, 'traverse_subpath': [], 'user': manager} * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ __traceback_info__: portlet.render_cache(context_obj=here) * Module Python expression "portlet.render_cache(context_obj=here)", line 1, in <expression> * Module Products.CPSPortlets.CPSPortlet, line 503, in render_cache * Module Products.CPSDocument.CPSDocument, line 63, in render * Module Products.CPSDocument.FlexibleTypeInformation, line 868, in renderObject * Module Products.CPSDocument.FlexibleTypeInformation, line 839, in _renderLayouts * Module Products.CPSSchemas.Layout, line 381, in renderLayoutStructure * Module Products.CPSPortlets.CPSPortletWidget, line 78, in render * Module Shared.DC.Scripts.Bindings, line 311, in __call__ * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec * Module Products.CMFCore.FSPageTemplate, line 188, in _exec * Module Products.CMFCore.FSPageTemplate, line 127, in pt_render * Module Products.PageTemplates.PageTemplate, line 102, in pt_render <FSPageTemplate at /cps/widget_portlet_language used for /cps/portal_layouts/language_portlet/w__language> * Module TAL.TALInterpreter, line 206, in __call__ * Module TAL.TALInterpreter, line 250, in interpret * Module TAL.TALInterpreter, line 477, in do_setLocal_tal * Module Products.PageTemplates.TALES, line 221, in evaluate URL: file:CPSPortlets/skins/cpsportlets_widgets/widget_portlet_language.pt Line 1, Column 0 Expression: nocall:'options/portlet' Names: {'container': <CPSDefaultSite at /cps>, 'context': <CPSPortletWidget at /cps/portal_layouts/language_portlet/w__language>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb76e3aac>, 'here': <CPSPortletWidget at /cps/portal_layouts/language_portlet/w__language>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2a5a16c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb76e9aec>, 'nothing': None, 'options': {'args': (), 'context_obj': <CPSDefaultSite at /cps>, 'datastructure': {'disable_override': '0', 'Description': '', 'language': '', 'Title': 'Language selector', 'slot_override': '0', 'visibility_range': [0, 0], 'action': 'change'}, 'layout_mode': 'view', 'mode': 'view', 'widget_infos': {'action': {'widget': <CPSSelectWidget at /cps/portal_layouts/language_portlet/w__action>, 'widget_css_class': '', 'widget_input_area_id': None, 'widget_javascript': '', 'widget_mode': 'hidden'}, 'language': {'widget': <CPSPortletWidget at /cps/portal_layouts/language_portlet/w__language>, 'widget_css_class': '', 'widget_input_area_id': None, 'widget_javascript': '', 'widget_mode': 'view'}}}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2a5a16c>, 'request': <HTTPRequest, URL=http://localhost:8080/cps/cpsskins_portlet_manage_form>, 'root': <Application at >, 'template': <FSPageTemplate at /cps/widget_portlet_language used for /cps/portal_layouts/language_portlet/w__language>, 'traverse_subpath': [], 'user': manager} * Module Products.PageTemplates.Expressions, line 183, in __call__ * Module Products.PageTemplates.Expressions, line 171, in _eval * Module Products.PageTemplates.Expressions, line 127, in _eval __traceback_info__: options * Module Products.PageTemplates.Expressions, line 306, in restrictedTraverse __traceback_info__: {'path': ['portlet'], 'TraversalRequestNameStack': []} KeyError: 'portlet' _______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
