[Zope-Coders] TAL:i18n warnings and ZopeStarterTestCase errors

Chris Withers chrisw at nipltd.com
Thu Aug 28 15:42:02 EDT 2003


Hi,

finally got the Zope HEAD tests working again on Windows, by dropping back to using:

python setup.py built_ext -i

...rather than the configure make make dance which doesn't work :-S

Can anyone who knows comment on what's going on with these tests?

cheers,

Chris

zope-tests at squishdot.org wrote:

> ======================================================================
> Python Version:2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)]
> 
> Modules included:
> Zope (HEAD)
> 
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (5, 3)
> Attributes alt
>   , DeprecationWarning)
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (1, 0)
> Attributes name
>   , DeprecationWarning)
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:862: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (14, 0)
> Attributes name title
>   , DeprecationWarning)
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:862: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (17, 0)
> Attributes name title
>   , DeprecationWarning)
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (1, 0)
> Attributes value
>   , DeprecationWarning)
> D:\ZopeTests\sandbox\Zope\lib\python\TAL\TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
> File None at row, column (1, 0)
> Attributes alt
>   , DeprecationWarning)
> ======================================================================
> ERROR: testMakeLockFile (testStarter.ZopeStarterTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "testStarter.py", line 293, in testMakeLockFile
> IOError: [Errno 13] Permission denied
> 
> ======================================================================
> ERROR: testSetupLocale (testStarter.ZopeStarterTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "testStarter.py", line 86, in testSetupLocale
>   File "testStarter.py", line 78, in load_config_text
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\loader.py", line 78, in loadFile
>     return self.loadResource(r)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\loader.py", line 172, in loadResource
>     result = sm.finish(), CompositeHandler(sm.handlers, self.schema)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\matcher.py", line 242, in finish
>     v = BaseMatcher.finish(self)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\matcher.py", line 170, in finish
>     return self.constuct()
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\matcher.py", line 212, in constuct
>     v = v.convert(ci.datatype)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZConfig\info.py", line 67, in convert
>     raise ZConfig.DataConversionError(e, self.value, self.position)
> DataConversionError: The specified locale "fr_FR" is not supported by your system.
> See your operating system documentation for more
> information on locale support. (line 3)
> 
> ======================================================================
> ERROR: testSetupServers (testStarter.ZopeStarterTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "testStarter.py", line 188, in testSetupServers
>   File "C:\PYTHON22\lib\unittest.py", line 273, in failUnlessRaises
>     apply(callableObj, args, kwargs)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\Zope\Startup\__init__.py", line 184, in setupServers
>     servers.append(server.create())
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZServer\datatypes.py", line 93, in create
>     logger_object=access_logger)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZServer\FTPServer.py", line 602, in __init__
>     ftp_server.__init__(self, None, *args, **kw)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZServer\medusa\ftp_server.py", line 727, in __init__
>     self.bind ((self.ip, self.port))
>   File "C:\PYTHON22\lib\asyncore.py", line 312, in bind
>     return self.socket.bind (addr)
>   File "<string>", line 1, in bind
> TypeError: an integer is required
> 
> ----------------------------------------------------------------------
> Ran 2278 tests in 875.140s
> 
> FAILED (errors=3)
> 
> ======================================================================
> OVERALL FAILED (total errors=3)
> 
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders at zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders
> 
> 




More information about the Zope-Coders mailing list