Re: [Zope3-Users] Again unicode problem (in configure.zcml)

2006-05-31 Thread Florian Lindner
Am Mittwoch, 31. Mai 2006 00:26 schrieb Jonathan:
> - Original Message -
> From: "Florian Lindner" <[EMAIL PROTECTED]>
> To: 
> 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', "('',
> > )")
> >
> >
> > The directive Zope is complaining about:
> >
> > >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:
> >
> If it is still complaining when you remove that section, then something is
> pooched earlier on.

http://namespaces.zope.org/browser";>




This is everything I've also looked into it with a hex editor and noticed 
nothing special.

Since the file is very file I dare to simply attach it. If you want, you can 
have a look at it.

Thanks,

Florian
http://namespaces.zope.org/browser";>























___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Again unicode problem (in configure.zcml)

2006-05-30 Thread Jonathan


- Original Message - 
From: "Florian Lindner" <[EMAIL PROTECTED]>

To: 
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', "('',
)")


The directive Zope is complaining about:

   


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:


   

If it is still complaining when you remove that section, then something is 
pooched earlier on.



Jonathan 


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Again unicode problem (in configure.zcml)

2006-05-30 Thread Florian Lindner
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', "('', 
)")


The directive Zope is complaining about:




but when I remove this one, it complains about the next one.

Weird thing is: the file is not even unicode:

[EMAIL PROTECTED] ~/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
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users