Olivier Grisel wrote:
> AFAIK, this is not a portlet but a pure CPSSkins templet (in the theme
> manage form, not the portlet manage form).
Thanks, that is right.
I place it in my theme and made it viewable in a branch of the sections. I
did not find a place to configure the source of the events to display. And
now I get the following error when I try to enter that branch:
Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 194, in publish_module_standard
* Module Products.Localizer, line 58, in new_publish
* Module ZPublisher.Publish, line 146, in publish
* Module Zope2.App.startup, line 222, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Shared.DC.Scripts.Binsites, line 311, in __call__
* Module Shared.DC.Scripts.Binsites, 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 /site/folder_view used for /site/sections/termine>
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 728, in do_defineMacro
* 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 507, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt
Line 41, Column 16
Expression: <PythonExpr isRenderable and
content.render_cache(shield=shield, context_obj=context_obj,
enable_esi=enable_esi, boxedit=boxedit, template=template,
options=options)>
Names:
{'container': <CPSDefaultSite at /site used for /site>,
'context': <ProxyFolder at /site/sections/termine>,
'default': <Products.PageTemplates.TALES.Default instance at
0x40d65a2c>,
'here': <ProxyFolder at /site/sections/termine>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x4671dc8c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40d9390c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x4671dc8c>,
'request': <HTTPRequest,
URL=https://machine/site/site/sections/termine/folder_view>,
'root': <Application at >,
'template': <FSPageTemplate at /site/folder_view used
for /site/sections/termine>,
'traverse_subpath': [],
'user': <CPSUser user>}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: isRenderable and
content.render_cache(shield=shield, context_obj=context_obj,
enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)
* Module Python expression "isRenderable and
content.render_cache(shield=shield, context_obj=context_obj,
enable_esi=enable_esi, boxedit=boxedit, template=template,
options=options)", line 1, in <expression>
* Module Products.CPSSkins.BaseTemplet, line 550, in render_cache
* Module Products.CPSSkins.BaseTemplet, line 492, in render
* Module Products.CPSSkins.BaseTemplet, line 533, in render_skin
* Module Shared.DC.Scripts.Binsites, line 311, in __call__
* Module Shared.DC.Scripts.Binsites, 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 /site/cpsskins_calendar used
for /site/portal_themes/site_theme/Default/main/1174818100>
* Module TAL.TALInterpreter, line 238, in __call__
* 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:CPSSkins/skins/cpsskins_cmf/cpsskins_calendar.pt
Line 1, Column 0
Expression: standard:'here/cpsskins_getCalendar'
Names:
{'container': <CPSDefaultSite at /site>,
'context': <Calendar
at /site/portal_themes/site_theme/Default/main/1174818100>,
'default': <Products.PageTemplates.TALES.Default instance at
0x40d65a2c>,
'here': <Calendar
at /site/portal_themes/site_theme/Default/main/1174818100>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x469d472c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40d9390c>,
'nothing': None,
'options': {'args': (),
'boxedit': None,
'context_obj': <ProxyFolder at /site/sections/termine>,
'options': {'args': ()},
'template': <FSPageTemplate at /site/folder_view used
for /site/sections/termine>},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x469d472c>,
'request': <HTTPRequest,
URL=https://machine/site/site/sections/termine/folder_view>,
'root': <Application at >,
'template': <FSPageTemplate at /site/cpsskins_calendar used
for /site/portal_themes/site_theme/Default/main/1174818100>,
'traverse_subpath': [],
'user': <CPSUser user>}
* Module Products.PageTemplates.Expressions, line 185, in __call__
* Module Products.PageTemplates.Expressions, line 180, in _eval
* Module Products.PageTemplates.Expressions, line 77, in render
* Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
* Module Products.CMFCore.FSPythonScript, line 103, in
__render_with_namespace__
* Module Shared.DC.Scripts.Binsites, line 325, in
__render_with_namespace__
* Module Shared.DC.Scripts.Binsites, line 348, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 164, in _exec
* Module None, line 9, in cpsskins_getCalendar
<FSPythonScript at /site/cpsskins_getCalendar used
for /site/portal_themes/site_theme/Default/main/1174818100>
Line 9
AttributeError: portal_calendar (Also, the following error occurred while
attempting to render the standard error message, please see the event log
for full details: portal_calendar)
Troubleshooting Suggestions
* The URL may be incorrect.
* The parameters passed to this resource may be incorrect.
* A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error
log.
If the error persists please contact the site maintainer. Thank you for your
patience.
/m
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users