i just put this line in the zope.conf:
"security-policy-implementation python"
I dont know how to activate VerboseSecurity.
Do i have to put an other line in the file?
The traceback i get is very huge :
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/cpsdocument_view used for
/cps/sections/news/newsletter-mars-2006>*
- 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 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 /cps>,
'context': <ProxyDocument at /cps/sections/news/newsletter-mars-2006>,
'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
'here': <ProxyDocument at /cps/sections/news/newsletter-mars-2006>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x04533DC8>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x013BE288>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x04533DC8>,
'request': <HTTPRequest,
URL=http://localhost:81/cps/sections/news/newsletter-mars-2006/cpsdocument_view>,
'root': <Application at >,
'template': <FSPageTemplate at /cps/cpsdocument_view used for
/cps/sections/news/newsletter-mars-2006>,
'traverse_subpath': [],
'user': <User 'seternal'>}
- 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.PortalBoxGroup, line 313, in render_cache
- Module Products.CPSSkins.PortalBoxGroup, line 258, in render
- Module Products.CPSPortlets.CPSPortlet, line 487, in render_cache
- Module Products.CPSDocument.CPSDocument, line 68, in render
- Module Products.CPSDocument.FlexibleTypeInformation, line 752, in
renderObject
- Module Products.CPSDocument.FlexibleTypeInformation, line 714, in
_renderLayouts
- Module Products.CPSSchemas.Layout, line 391, in
renderLayoutStructure
- Module Products.CPSSchemas.BasicWidgets, line 2045, in render
- Module Products.CPSPortlets.PortletWidgets.MainContentWidget, line
27, in renderMainContent
- Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
- Module Products.PageTemplates.PageTemplate, line 104, in pt_render
*<FSPageTemplate at /cps/cpsdocument_view used for
/cps/sections/news/newsletter-mars-2006>*
- 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 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 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 647, in do_insertStructure_tal
- Module Products.PageTemplates.TALES, line 221, in evaluate
*URL: file:CPSDocument/skins/cps_document/cpsdocument_view.pt*
*Line 14, Column 4*
*Expression: standard:'rendered_main | python:doc.render(proxy=here,
cluster=cluster)'*
*Names:*
{'container': <CPSDefaultSite at /cps>,
'context': <ProxyDocument at /cps/sections/news/newsletter-mars-2006>,
'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
'here': <ProxyDocument at /cps/sections/news/newsletter-mars-2006>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x04A4C2D8>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x013BE288>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x04A4C2D8>,
'request': <HTTPRequest,
URL=http://localhost:81/cps/sections/news/newsletter-mars-2006/cpsdocument_view>,
'root': <Application at >,
'template': <FSPageTemplate at /cps/cpsdocument_view used for
/cps/sections/news/newsletter-mars-2006>}
- Module Products.PageTemplates.Expressions, line 185, in __call__
- Module Products.PageTemplates.Expressions, line 173, in _eval
- Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: doc.render(proxy=here, cluster=cluster)
- Module Python expression "doc.render(proxy=here, cluster=cluster)",
line 1, in <expression>
- Module Products.CPSDocument.CPSDocument, line 68, in render
- Module Products.CPSDocument.FlexibleTypeInformation, line 752, in
renderObject
- Module Products.CPSDocument.FlexibleTypeInformation, line 714, in
_renderLayouts
- Module Products.CPSSchemas.Layout, line 391, in
renderLayoutStructure
- Module Products.CPSSchemas.BasicWidgets, line 2107, 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 195, in _exec
- Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
- Module Products.PageTemplates.PageTemplate, line 104, in pt_render
*<FSPageTemplate at /cps/widget_byline_render used for
/cps/portal_layouts/common/w__Byline>*
- Module TAL.TALInterpreter, line 238, in __call__
- 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 507, in do_setLocal_tal
- Module Products.PageTemplates.TALES, line 221, in evaluate
*URL: file:CPSSchemas/skins/cps_schemas/widget_byline_render.pt*
*Line 10, Column 2*
*Expression: <PythonExpr (here_url !=
utool.getPortalObject().absolute_url())
and doc.getContentInfo(doc=doc, level=2) or None>*
*Names:*
{'container': <CPSDefaultSite at /cps>,
'context': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
'here': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x04B1C710>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x013BE288>,
'nothing': None,
'options': {'args': (),
'mode': 'view',
'value': <ProxyDocument at
/cps/sections/news/newsletter-mars-2006>},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x04B1C710>,
'request': <HTTPRequest,
URL=http://localhost:81/cps/sections/news/newsletter-mars-2006/cpsdocument_view>,
'root': <Application at >,
'template': <FSPageTemplate at /cps/widget_byline_render used for
/cps/portal_layouts/common/w__Byline>,
'traverse_subpath': [],
'user': <User 'seternal'>}
- Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: (here_url != utool.getPortalObject().absolute_url())
and doc.getContentInfo(doc=doc, level=2) or None
- Module Python expression "(here_url !=
utool.getPortalObject().absolute_url())
and doc.getContentInfo(doc=doc, level=2) or None", line 1, in
<expression>
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PythonScripts.PythonScript, line 323, in _exec
- Module None, line 200, in getContentInfo
*<PythonScript at /cps/getContentInfo used for
/cps/sections/news/newsletter-mars-2006>*
*Line 200*
- Module AccessControl.ImplPython, line 727, in guarded_getattr
- Module AccessControl.ImplPython, line 669, in aq_validate
- Module AccessControl.ImplPython, line 563, in validate
- Module AccessControl.ImplPython, line 385, in validate
Unauthorized: You are not allowed to access 'getRevision' in this context
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060412/4374d19f/attachment.html
Hosting: Nuxeo: Zope service provider