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

Tres Seaver tseaver at palladion.com
Mon Nov 21 14:25:44 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Philipp von Weitershausen wrote:
> 
> 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.

Thanks for clearing that up!  CMF unit tests are now passing with the
Zope 2.9 branch and trunk.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDgh8r+gerLs4ltQ4RAj2/AJ4wR2kRkB+vU+LwQyPI1HczSOuc6wCgyFtm
t/L5pLVgC2OAiXdxLlM5+mM=
=Ojrf
-----END PGP SIGNATURE-----

-- 
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com



More information about the Zope-CMF mailing list