[CPS-devel] Re: CPSLDAPsetup problem

Georges Racinet gracinet at nuxeo.com
Wed Apr 12 10:21:24 CEST 2006


Le 12 avr. 2006, à 10:09, lopez adrian a écrit :

> Sorry for the direct mail, but my mail to the list has been rejected  
> due to the size of the mail.

It's okay.

> 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?

You got it right apparently.

>  The traceback i get is very huge :

Indeed. Note that most of the time, the TAL.* stuff is useless

>
>
> Traceback (innermost last):
>
>
> 	• 	  Module ZPublisher.Publish, line 113, in publish

(snip)

> 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.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

(...)

> <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
>



More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.