Attention

This document was written for an unsupported version of Plone, Plone 2.1.x, and was last updated 1601 days ago.

For more information, see the version support policy.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

'isPrincipiaFolderish' of None, acquired through (Products)

by Mikko Ohtamaa last modified Dec 30, 2008 03:08 PM
Skin rendering fails and hiddenStructure becomes visible. Plone default styles are missing, because Plone default CSS seems to be not used. If one runs in debug mode, an exception traceback is available in event.log.

Sample traceback


2006-03-15 15:39:42 BLATHER Zope Security Policy Unauthorized: No container provided.  
Access to 'isPrincipiaFolderish' of None, acquired through
(Products.ResourceRegistries.tools.BaseRegistry.Skin object at 0x04C918D0), denied.
2006-03-15 15:39:42 BLATHER OFS Exception while rendering an error message
Traceback (most recent call last):
  File "F:\usability\Test\Plone21\Zope\lib\python\OFS\SimpleItem.py", line 209, in raise_standardErrorMessage
    v = s(**kwargs)
  File "F:\usability\Test\Plone21\Data\Products\CMFCore\FSPythonScript.py", line 108, in __call__
    return Script.__call__(self, *args, **kw)
  File "F:\usability\Test\Plone21\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "F:\usability\Test\Plone21\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "F:\usability\Test\Plone21\Data\Products\CMFCore\FSPythonScript.py", line 163, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 16, in standard_error_message
  File "F:\usability\Test\Plone21\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 311, in __call__
    return self._bindAndExec(args, kw, None)
  File "F:\usability\Test\Plone21\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 348, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "F:\usability\Test\Plone21\Data\Products\CMFCore\FSPageTemplate.py", line 195, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "F:\usability\Test\Plone21\Data\Products\CMFCore\FSPageTemplate.py", line 134, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 102, in pt_render
    tal=not source, strictinsert=0)()
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 206, in __call__
    self.interpret(self.program)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 709, in do_useMacro
    self.interpret(macro)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 426, in do_optTag_tal
    self.do_optTag(stuff)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 411, in do_optTag
    return self.no_tag(start, program)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 709, in do_useMacro
    self.interpret(macro)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 250, in interpret
    handlers[opcode](self, args)
  File "F:\usability\Test\Plone21\Zope\lib\python\TAL\TALInterpreter.py", line 481, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\TALES.py", line 221, in evaluate
    return expression(self)
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\Expressions.py", line 183, in __call__
    return self._eval(econtext)
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\Expressions.py", line 171, in _eval
    ob = self._subexprs[-1](econtext)
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\Expressions.py", line 127, in _eval
    ob = restrictedTraverse(ob, path, getSecurityManager())
  File "F:\usability\Test\Plone21\Zope\lib\python\Products\PageTemplates\Expressions.py", line 295, in restrictedTraverse
    if not validate(object, container, name, o):
  File "F:\usability\Test\Plone21\Zope\lib\python\AccessControl\ImplPython.py", line 530, in validate
    self._context)
  File "F:\usability\Test\Plone21\Zope\lib\python\AccessControl\ImplPython.py", line 277, in validate
    accessed, container, name, value, context)
  File "F:\usability\Test\Plone21\Zope\lib\python\AccessControl\ImplPython.py", line 775, in raiseVerbose
    raise Unauthorized(text)
Unauthorized: No container provided.  Access to 'isPrincipiaFolderish' of None, acquired through
(Products.ResourceRegistries.tools.BaseRegistry.Skin object at 0x04C918D0), denied.


Solution

You touched something you shouldn't have in base_properties.prop, the file giving Plone CSS color definitions. Restore orignal values.