I'm trying to use CMFContentPanels 1.7a and when I try to view a
content panel which I created with 1.6, it gives the following error:
Traceback (innermost last):
Module ZPublisher.Publish, line 100, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 191, in _exec
Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
Module Products.PageTemplates.PageTemplate, line 96, in
pt_render
- <FSPageTemplate at /brcbranch/contentpanels_config_form
used for /brcbranch/default_member_content/index_html>
Module TAL.TALInterpreter, line 189, in __call__
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 663, in do_useMacro
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 408, in do_optTag_tal
Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 686, in do_defineSlot
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 605, in do_loop_tal
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 408, in do_optTag_tal
Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 408, in do_optTag_tal
Module TAL.TALInterpreter, line 393, in do_optTag
Module TAL.TALInterpreter, line 388, in no_tag
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 605, in do_loop_tal
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 629, in do_condition
Module TAL.TALInterpreter, line 233, in interpret
Module TAL.TALInterpreter, line 483, in do_insertText_tal
Module Products.PageTemplates.TALES, line 226, in evaluateText
Module Products.PageTemplates.TALES, line 220, in evaluate
- URL: /brcbranch/main_template
- Line 217, Column 24
- Expression: <PythonExpr
here.portal_contentpanels.getViewletName(panel['panelObjectViewl
et'])>
- Names:
{'container': <PloneSite instance at 3d43890>,
'context': <ContentPanels at /brcbranch/
default_member_content/index_html>,
'default': <Products.PageTemplates.TALES.Default instance at
0x23ff418>,
'here': <ContentPanels at /brcbranch/
default_member_content/index_html>,
'loop': <SafeMapping instance at 36acab0>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x23f08a0>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 36acab0>,
'request': <HTTPRequest, URL=http://127.0.0.1:9282/
brcbranch/default_member_content/index_html/
contentpanels_config_form>,
'root': <Application instance at 38a26b0>,
'template': <FSPageTemplate at /brcbranch/
contentpanels_config_form used for /brcbranch/
default_member_content/index_html>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.ZRPythonExpr, line 47, in
__call__
- __traceback_info__:
here.portal_contentpanels.getViewletName(panel['panelObjectViewl
et'])
Module Python expression
"here.portal_contentpanels.getViewletName(panel['panelObjectView
let'])", line 1, in <expression>
Module Products.CMFContentPanels.ContentPanelsTool, line 58, in
getViewletName
Module Products.CMFContentPanels.ContentPanelsTool, line 73, in
_listAllActions
Module Products.CMFCore.ActionsTool, line 184, in
listFilteredActionsFor
Module Products.CMFCore.ActionsTool, line 253, in _listActions
Module Products.CMFCore.ActionInformation, line 90, in
testCondition
Module Products.CMFCore.Expression, line 44, in __call__
Module Products.PageTemplates.ZRPythonExpr, line 47, in
__call__
- __traceback_info__: object.isPrincipiaFolderish
Module Python expression "object.isPrincipiaFolderish", line 1, in
<expression>
AttributeError: 'NoneType' object has no attribute
'isPrincipiaFolderish'
Logged In: YES
user_id=331892
Clarification: the error does not occur when I try to view the item (it
shows only the title and description, but none of the content panels show
up), but when I click on the "Config" tab.
Logged In: YES
user_id=601368
you must reinstall CMFContentPanels.