[CPS-devel] Unauthorized error when changing CPSSkins theme

Thomas Clement Mogensen tmog at mmmanager.org
Thu May 4 10:56:54 CEST 2006


Hi,
This error only occurs when changing to specific CPSSkins themes. Any ideas?
I'm running CPSSkins 2.7.0.

regards
Thomas Clement Mogensen
------
2006-05-04T10:17:16 ERROR root Exception while rendering an error message
Traceback (most recent call last):
  File "E:\Program Files\Zope-2.8.6-final\lib\python\OFS\SimpleItem.py",
line 211, in raise_standardErrorMessage
    v = s(**kwargs)
  File "E:\netdesign-cms\Products\CMFCore\FSPythonScript.py", line 108, in
__call__
    return Script.__call__(self, *args, **kw)
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Shared\DC\Scripts\Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Shared\DC\Scripts\Bindings.py", line 348, in
_bindAndExec
    return self._exec(bound_data, args, kw)
  File "E:\netdesign-cms\Products\CMFCore\FSPythonScript.py", line 163, in
_exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in standard_error_message
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Shared\DC\Scripts\Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Shared\DC\Scripts\Bindings.py", line 348, in
_bindAndExec
    return self._exec(bound_data, args, kw)
  File "E:\netdesign-cms\Products\CMFCore\FSPageTemplate.py", line 195, in
_exec
    result = self.pt_render(extra_context=bound_names)
  File "E:\netdesign-cms\Products\CMFCore\FSPageTemplate.py", line 134, in
pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Products\PageTemplates\PageTemplate.py", line 104, in
pt_render
    tal=not source, strictinsert=0)()
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 206, in __call__
    self.interpret(self.program)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 250, in interpret
    handlers[opcode](self, args)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 711, in do_useMacro
    self.interpret(macro)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 250, in interpret
    handlers[opcode](self, args)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 411, in do_optTag
    return self.no_tag(start, program)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 406, in no_tag
    self.interpret(program)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 250, in interpret
    handlers[opcode](self, args)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 711, in do_useMacro
    self.interpret(macro)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 250, in interpret
    handlers[opcode](self, args)
  File "E:\Program Files\Zope-2.8.6-final\lib\python\TAL\TALInterpreter.py",
line 477, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Products\PageTemplates\TALES.py", line 221, in
evaluate
    return expression(self)
  File "E:\Program Files\Zope-
2.8.6-final\lib\python\Products\PageTemplates\ZRPythonExpr.py", line 47, in
__call__
    return eval(code, g, {})
  File "Python expression "page_container.color"", line 1, in <expression>
Unauthorized: You are not allowed to access 'color' in this context
------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060504/6cba8d5c/attachment-0001.htm


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.