[Zope-Coders] Zope HEAD Brokeness

Chris Withers chrisw@nipltd.com
Tue, 17 Jun 2003 08:20:46 +0100


What's all this brokenness that's suddenly appeared on the HEAD?

Why on earth is SearchIndex still being used in tests?

I guess it's bug day today so we can find out :-)

cheers,

Chris

zope-tests@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 \
> ======================================================================
> 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 170, 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 170, 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 170, 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 170, 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 170, 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 170, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: test_webdav_source_factory (test_config.ZServerConfigurationTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 86, in test_webdav_source_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 170, in __init__
>     if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
> 
> ======================================================================
> ERROR: testBigBoolean (testPythonScript.TestPythonScriptNoAq)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py", line 127, in testBigBoolean
>     true = self._newPS(readf('big_boolean'))()
>   File "testPythonScript.py", line 34, in readf
> IOError: [Errno 2] No such file or directory: '/stuff/chrisw/ZopeTests/sandbox/Zope/build-base/build-lib/Products/PythonScripts/tests/tscripts/big_boolean.ps'
> 
> ======================================================================
> ERROR: testBooleanMap (testPythonScript.TestPythonScriptNoAq)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py", line 152, in testBooleanMap
>     true = self._newPS(readf('boolean_map'))()
>   File "testPythonScript.py", line 34, in readf
> IOError: [Errno 2] No such file or directory: '/stuff/chrisw/ZopeTests/sandbox/Zope/build-base/build-lib/Products/PythonScripts/tests/tscripts/boolean_map.ps'
> 
> ======================================================================
> ERROR: testComplexPrint (testPythonScript.TestPythonScriptNoAq)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Products/PythonScripts/tests/testPythonScript.py", line 143, in testComplexPrint
>     txt = self._newPS(readf('complex_print'))()
>   File "testPythonScript.py", line 34, in readf
> IOError: [Errno 2] No such file or directory: '/stuff/chrisw/ZopeTests/sandbox/Zope/build-base/build-lib/Prod
> <truncated>
> 
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://mail.zope.org/mailman/listinfo/zope-coders
> 
>