[Zope-Coders] Zope HEAD tests on Linux b0rked?
Chris Withers
chrisw@nipltd.com
Fri, 18 Jul 2003 13:20:47 +0100
zope-tests@squishdot.org wrote:
> /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 \
Huh?! What on earth is still provoking the SearchIndex cruft?
> ERROR: test_fcgi_factory (test_config.ZServerConfigurationTestCase)
> ERROR: test_ftp_factory (test_config.ZServerConfigurationTestCase)
> ERROR: test_http_factory (test_config.ZServerConfigurationTestCase)
> ERROR: test_icp_factory (test_config.ZServerConfigurationTestCase)
> ERROR: test_monitor_factory (test_config.ZServerConfigurationTestCase)
> ERROR: test_pcgi_factory (test_config.ZServerConfigurationTestCase)
> 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 163, in __init__
> if schema.isabstract():
> AttributeError: 'NoneType' object has no attribute 'isabstract'
And what's up with these ZConfig tests? They all fail with the AttributeError...
> ERROR: testBigBoolean (testPythonScript.TestPythonScriptNoAq)
> ERROR: testBooleanMap (testPythonScript.TestPythonScriptNoAq)
> 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>
Likewise, these all fail with file not founds.
What am I missing here?
cheers,
Chris