[Zope-CMF] Re: Removing default from browser:skin layers?

Philipp von Weitershausen philipp at weitershausen.de
Sat Nov 19 05:45:58 EST 2005


Tres Seaver wrote:
> The error I am seeing is early, during product initialization, before
> any tests are actually running:
> 
>   File
> "/home/tseaver/projects/Zope-CVS/Zope-SVN-trunk/lib/python/zope/configuration/config.py",
> line 1390, in toargs
>     args[str(name)] = field.fromUnicode(s)
>   File
> "/home/tseaver/projects/Zope-CVS/Zope-SVN-trunk/lib/python/zope/configuration/fields.py",
> line 231, in fromUnicode
>     raise InvalidToken("%s in %s" % (v, u))
> ZopeXMLConfigurationError: File
> "/home/tseaver/projects/CMF/cmf_test/z29_cmfhead/Products/CMFDefault/configure.zcml",
> line 5.2-7.6
>     ZopeXMLConfigurationError: File
> "/home/tseaver/projects/CMF/cmf_test/z29_cmfhead/Products/CMFDefault/skin/configure.zcml",
> line 11.2-14.8
>     ConfigurationError: ('Invalid value for', 'layers', "Couldn't import
> default, No module named default in cmf default")
> 2005-11-15 14:05:11 ERROR Zope Couldn't install Five
> 
> That line in CMFDefault/skin/configure.zcml does:
> 
> 
>   <!-- 'default' layer breaks when run under 2.9! -->
>   <browser:skin
>       name="cmf"
>       layers="cmf default"
>       />

For the mailinglist archive:

This was a problem in Five 1.3b and 1.3b2. The 'default' layer wasn't
properly registered when Five was ported to Zope 3.2. This has been
fixed in Five 1.3b3 and the Zope 2.9 branch.

Philipp



More information about the Zope-CMF mailing list