[Zope-dev] Re: tal i18n and ZopeStarter test failures

Chris Withers chrisw at nipltd.com
Thu Aug 28 16:29:31 EDT 2003


Hi,

I see these tests fail on both Windows and Linux.

What gives? Who checked in this code without running the tests?!

Chris

PS: Does anyone know why there's that SearchIndex warning appearing, but on 
Linux only?

zope-tests at squishdot.org wrote:

> ======================================================================
> Python Version:2.2.3 (#1, Jun 10 2003, 13:52:48) 
> [GCC 2.95.2 20000220 (Debian GNU/Linux)]
> 
> Modules included:
> Zope (HEAD)
> 
> Warning: no test input files found!!!
> /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/SearchIndex/__init__.py:19: DeprecationWarning: The usage of the SearchIndex package is deprecated since Zope 2.4.
> This package is only kept for backwards compatibility for a while
> and will go away in a future release.
> 
> Please use instead the re-factored modules in Products/PluginIndexes.
> 
>   warnings.warn("The usage of the SearchIndex package is deprecated since \
> /stuff/chrisw/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)
> /stuff/chrisw/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)
> /stuff/chrisw/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)
> /stuff/chrisw/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)
> /stuff/chrisw/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)
> /stuff/chrisw/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)
> ======================================================================
> ERROR: testSetupServers (testStarter.ZopeStarterTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "testStarter.py", line 166, in testSetupServers
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Zope/Startup/__init__.py", line 186, in setupServers
>     raise ZConfig.ConfigurationError(socket_err
> ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)
> 
> ======================================================================
> ERROR: test_fcgi_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 113, in test_fcgi_factory
>     factory = self.load_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_ftp_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 135, in test_ftp_factory
>     factory = self.load_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_http_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 66, in test_http_factory
>     factory = self.load_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_icp_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 161, in test_icp_factory
>     factory = self.load_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_monitor_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 148, in test_monitor_factory
>     factory = self.load_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_pcgi_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 104, in test_pcgi_factory
>     factory = self.load_unix_domain_factory("""\
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 57, in load_unix_domain_factory
>     factory = self.load_factory(text % fn)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory
>     StringIO.StringIO(text))
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile
>     return _get_config_loader(schema, overrides).loadFile(file, url)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader
>     loader = ConfigLoader(schema)
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_webdav_source_factory (test_config.ZServerConfigurationTestCase)
> -
> <truncated>
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders at zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders
> 
> 




More information about the Zope-Dev mailing list