[CPS-devel] problem creating external method with CPS-3.4-beta

Joachim Schmitz js at aixtraware.de
Wed Jan 11 17:15:25 CET 2006


Florent Guillaume schrieb:
> For Unauthorized problems, please activate verbose security (see in  
> zope.conf).
> Also please get the traceback from the ZMI error_log as it contains  
> more information.
> (You have to remove Unauthorized from the exluded list).
> 
> Florent
with verbose security enabled I get a little bit more info, but no error 
log cause

The specified module, WAeUP.install, couldn't be found. (Also, the 
following error occurred while attempting to render the standard error 
message, please see the event log for full details: The container has no 
security assertions. Access to 'aq_explicit' of 
(App.ProductContext.__FactoryDispatcher__ object at 0xb2aca94c) denied.)


sind I run with zopectl fg I get on the console:

2006-01-11 17:09:39 ERROR root Exception while rendering an error message
Traceback (most recent call last):
   File "/ZP/z29/lib/python/OFS/SimpleItem.py", line 223, in 
raise_standardErrorMessage
     v = s(**kwargs)
   File "/ZP/z29/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in 
__call__    return self._bindAndExec(args, kw, None)
   File "/ZP/z29/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in 
_bindAndExec
     return self._exec(bound_data, args, kw)
   File "/ZP/i29/Products/CMFCore/FSPageTemplate.py", line 195, in _exec
     result = self.pt_render(extra_context=bound_names)
   File "/ZP/i29/Products/CMFCore/FSPageTemplate.py", line 134, in pt_render
     result = FSPageTemplate.inheritedAttribute('pt_render')(
   File "/ZP/z29/lib/python/Products/PageTemplates/PageTemplate.py", 
line 104, in pt_render
     tal=not source, strictinsert=0)()
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 238, in __call__
     self.interpret(self.program)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 281, in interpret
     handlers[opcode](self, args)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 457, in 
do_optTag_tal
     self.do_optTag(stuff)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 442, in do_optTag
     return self.no_tag(start, program)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 437, in no_tag
     self.interpret(program)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 281, in interpret
     handlers[opcode](self, args)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 749, in do_useMacro
     self.interpret(macro)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 281, in interpret
     handlers[opcode](self, args)
   File "/ZP/z29/lib/python/TAL/TALInterpreter.py", line 507, in 
do_setLocal_tal
     self.engine.setLocal(name, self.engine.evaluateValue(expr))
   File "/ZP/z29/lib/python/Products/PageTemplates/TALES.py", line 221, 
in evaluate
     return expression(self)
   File "/ZP/z29/lib/python/Products/PageTemplates/ZRPythonExpr.py", 
line 47, in __call__
     return eval(code, g, {})
   File "Python expression "here.getContextUrl(utool=utool)"", line 1, 
in <expression>
   File "/ZP/i29/Products/CMFCore/FSPythonScript.py", line 108, in __call__
     return Script.__call__(self, *args, **kw)
   File "/ZP/z29/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in 
__call__    return self._bindAndExec(args, kw, None)
   File "/ZP/z29/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in 
_bindAndExec
     return self._exec(bound_data, args, kw)
   File "/ZP/i29/Products/CMFCore/FSPythonScript.py", line 163, in _exec
     result = f(*args, **kw)
   File "Script (Python)", line 15, in getContextUrl
   File "/ZP/z29/lib/python/AccessControl/ImplPython.py", line 727, in 
guarded_getattr
     aq_acquire(inst, name, aq_validate, validate)
   File "/ZP/z29/lib/python/AccessControl/ImplPython.py", line 669, in 
aq_validate
     return validate(inst, object, name, v)
   File "/ZP/z29/lib/python/AccessControl/ImplPython.py", line 563, in 
validate
     self._context)
   File "/ZP/z29/lib/python/AccessControl/ImplPython.py", line 333, in 
validate
     accessed, container, name, value, context)
   File "/ZP/z29/lib/python/AccessControl/ImplPython.py", line 808, in 
raiseVerbose
     raise Unauthorized(text)
Unauthorized: The container has no security assertions.  Access to 
'aq_explicit' of (App.ProductContext.__FactoryDispatcher__ object at 
0xb2aca94c) denied.




-- 
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163




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.