<div dir="ltr">hi all,<br><br>We are stuck with a configuration error in porting zope2 to python2.5. Can anybody help us in fixing configuration error in the module Zope2.&nbsp; The full log of error message is given below.<br>
<br><span class="HcCDpe"><span class="JDpiNd"><img class="Jx04sb QrVm3d" id="upi" name="upi" src="images/cleardot.gif" height="16" width="16"></span>Running tests at level 1<br>/home/zope/ztrunk25/lib/python/ZPublisher/HTTPResponse.py:19: RuntimeWarning: Python C API version mismatch for module zlib: This Python has API version 1013, module zlib has version 1012.<br>
&nbsp; import zlib, struct<br>Running unit tests:<br>&nbsp; Running:<br>&nbsp;&nbsp;&nbsp; 6/43 (14.0%) testStringException1 (....testExceptionHook.ExceptionHookTest)/home/zope/ztrunk25/lib/python/Zope2/App/tests/testExceptionHook.py:120: DeprecationWarning: raising a string exception is deprecated<br>
&nbsp; raise &#39;unauthorized&#39;, &#39;x&#39;<br>/home/zope/ztrunk25/lib/python/Zope2/App/startup.py:182: DeprecationWarning: raising a string exception is deprecated<br>&nbsp; raise<br>&nbsp;&nbsp;&nbsp; 7/43 (16.3%) testStringException2 (....testExceptionHook.ExceptionHookTest)/home/zope/ztrunk25/lib/python/Zope2/App/tests/testExceptionHook.py:125: DeprecationWarning: raising a string exception is deprecated<br>
&nbsp; raise &#39;redirect&#39;, &#39;x&#39;<br>&nbsp;&nbsp;&nbsp; 41/43 (95.3%) test_behavior (...artup.tests.test_warnfilter.TestWarnFilter)<br><br>Error in test test_behavior (Zope2.Startup.tests.test_warnfilter.TestWarnFilter)<br>Traceback (most recent call last):<br>
&nbsp; File &quot;/home/zope/usr/lib/python2.5/unittest.py&quot;, line 260, in run<br>&nbsp;&nbsp;&nbsp; testMethod()<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/Zope2/Startup/tests/test_warnfilter.py&quot;, line 90, in test_behavior<br>&nbsp;&nbsp;&nbsp; &quot;&quot;&quot;)<br>
&nbsp; File &quot;/home/zope/ztrunk25/lib/python/Zope2/Startup/tests/test_warnfilter.py&quot;, line 69, in load_config_text<br>&nbsp;&nbsp;&nbsp; conf, handler = ZConfig.loadConfigFile(schema, sio)<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/loader.py&quot;, line 41, in loadConfigFile<br>
&nbsp;&nbsp;&nbsp; return _get_config_loader(schema, overrides).loadFile(file, url)<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/loader.py&quot;, line 75, in loadFile<br>&nbsp;&nbsp;&nbsp; return self.loadResource(r)<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/loader.py&quot;, line 229, in loadResource<br>
&nbsp;&nbsp;&nbsp; self._parse_resource(sm, resource)<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/loader.py&quot;, line 280, in _parse_resource<br>&nbsp;&nbsp;&nbsp; parser.parse(matcher)<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/cfgparser.py&quot;, line 57, in parse<br>
&nbsp;&nbsp;&nbsp; section = self.end_section(section, line[2:-1])<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/cfgparser.py&quot;, line 112, in end_section<br>&nbsp;&nbsp;&nbsp; self.error(e[0])<br>&nbsp; File &quot;/home/zope/ztrunk25/lib/python/ZConfig/cfgparser.py&quot;, line 177, in error<br>
&nbsp;&nbsp;&nbsp; raise ZConfig.ConfigurationSyntaxError(message, self.url, self.lineno)<br>ConfigurationSyntaxError: invalid warning category: &#39;Zope2.Startup.tests.test_warnfilter.TestSchemaWarning&#39; (line 8)<br><br><br>&nbsp; Ran 43 tests with 0 failures and 1 errors in 15.046 seconds.<br>
<br>Tests with errors:<br>&nbsp;&nbsp; test_behavior (Zope2.Startup.tests.test_warnfilter.TestWarnFilter)<br><br><br>regards<br><br>Bristow<br></span></div>