[Zope3-Users] Again unicode problem (in configure.zcml)
Jonathan
dev101 at magma.ca
Tue May 30 18:26:39 EDT 2006
----- Original Message -----
From: "Florian Lindner" <mailinglists at xgm.de>
To: <zope3-users at zope.org>
Sent: Tuesday, May 30, 2006 5:47 PM
Subject: [Zope3-Users] Again unicode problem (in configure.zcml)
> Hello,
> Zope gives this message on startup:
>
> File "/home/florian/Zope3/src/zope/schema/_bootstrapfields.py", line 165,
> in
> _validate
> raise WrongType(value, self._type)
> zope.configuration.xmlconfig.ZopeXMLConfigurationError:
> File "/home/florian/Desktop/zope/etc/site.zcml", line 7.2-7.55
> ZopeXMLConfigurationError:
> File "/home/florian/Desktop/zope/etc/package-includes/xgm-configure.zcml",
> line 1.0-1.25
> ZopeXMLConfigurationError:
> File "/home/florian/Desktop/zope/lib/python/xgm/configure.zcml", line
> 2.4-2.34
> ZopeXMLConfigurationError:
> File "/home/florian/Desktop/zope/lib/python/xgm/browser/configure.zcml",
> line
> 2.4-2.31
> ZopeXMLConfigurationError:
> File
> "/home/florian/Desktop/zope/lib/python/xgm/browser/skin/configure.zcml",
> line 3.4-7.6
> ConfigurationError: ('Invalid value for', 'layer', "('',
> <type 'unicode'>)")
>
>
> The directive Zope is complaining about:
>
> <resourceDirectory
> directory="files"
> name="files"
> layer="xgm.interfaces.IXGMSkin"
> />
>
>
> but when I remove this one, it complains about the next one.
Just a guess, but have a look at the lines before this one:
> <resourceDirectory
If it is still complaining when you remove that section, then something is
pooched earlier on.
Jonathan
More information about the Zope3-users
mailing list