[Zope3-Users] Again unicode problem (in configure.zcml)
    Florian Lindner 
    mailinglists at xgm.de
       
    Tue May 30 17:47:48 EDT 2006
    
    
  
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.
Weird thing is: the file is not even unicode:
florian at horus ~/Desktop/zope/lib/python/xgm/browser/skin $ file configure.zcml
configure.zcml: ASCII text, with CRLF line terminators
Anyone know what's wrong?
Thanks,
Florian
    
    
More information about the Zope3-users
mailing list