Hi,
I tried to create an external method for installation of my product that
fails with this message:
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: You are not allowed
to access 'aq_explicit' in this context)
On the console I have:
2006-01-11 10:55:05 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
Unauthorized: You are not allowed to access 'aq_explicit' in this context
I tried to create this external method outside a cps-instance with
zope-2.9 and that fails with:
The specified module, WAeUP.install, couldn't be found.
The WAeUP product is installed and contains an install.py.
With zope-2.8.2 this works fine.
--
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
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel