[Zope3-dev] Functional tests failing on Windows
Tim Peters
tim.peters at gmail.com
Tue Sep 20 11:17:55 EDT 2005
A release candidate for Python 2.4.2 is getting made, and I thought
I'd try it against current Zope3 trunk. The functional tests flopped,
but turns out the same thing happens with Python 2.3.5 today.
The long traceback is attached. The bottom line is
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"C:\Code\Zope3\ftesting.zcml", line 12.2-12.63
ZopeXMLConfigurationError: File
"C:\Code\Zope3\zopeskel\etc\package-includes\zope.app.pagelet-meta.zcml",
line 1.0-1.55
ConfigurationError: ('Invalid value for', 'package', 'ImportError:
Module zope.app has no global pagelet')
I did do the
setup.py build_ext -i install_data --install-dir .
bit first. I don't see this failure at <http://buildbot.zope.org/>.
So it's either a bug specific to my Windows box, or it's both a bug in
Zope3 _and_ a bug showing that the buildbot isn't triggering when
relevant changes get made. I doubt it's specific to my Windows box
;-)
-------------- next part --------------
C:\Code\Zope3>\python23\python.exe test.py -vf
Configuration file found.
Running FUNCTIONAL tests at level 1
Running FUNCTIONAL tests from C:\Code\Zope3
Parsing ftesting.zcml
Traceback (most recent call last):
File "test.py", line 27, in ?
zope.app.testing.test.process_args()
File "C:\Code\Zope3\src\zope\app\testing\test.py", line 1170, in process_args
bad = main(MODULE_FILTERS, TEST_FILTERS, LIBDIR)
File "C:\Code\Zope3\src\zope\app\testing\test.py", line 815, in main
FunctionalTestSetup(config_file)
File "C:\Code\Zope3\src\zope\app\testing\functional.py", line 138, in __init__
self.app = Debugger(self.db, config_file)
File "C:\Code\Zope3\src\zope\app\debug\debug.py", line 35, in __init__
config(config_file)
File "C:\Code\Zope3\src\zope\app\appsetup\appsetup.py", line 52, in config
context = xmlconfig.file(file, execute=execute)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 553, in file
include(context, name, package)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 489, in include
processxmlfile(f, context)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 344, in processxmlfile
parser.parse(src)
File "C:\python23\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\python23\lib\xml\sax\xmlreader.py", line 123, in parse
self.feed(buffer)
File "C:\python23\lib\xml\sax\expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "C:\python23\lib\xml\sax\expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 325, in endElementNS
self.context.end()
File "C:\Code\Zope3\src\zope\configuration\config.py", line 553, in end
self.stack.pop().finish()
File "C:\Code\Zope3\src\zope\configuration\config.py", line 699, in finish
actions = self.handler(context, **args)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 489, in include
processxmlfile(f, context)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 344, in processxmlfile
parser.parse(src)
File "C:\python23\lib\xml\sax\expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\python23\lib\xml\sax\xmlreader.py", line 123, in parse
self.feed(buffer)
File "C:\python23\lib\xml\sax\expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "C:\python23\lib\xml\sax\expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "C:\Code\Zope3\src\zope\configuration\xmlconfig.py", line 325, in endElementNS
self.context.end()
File "C:\Code\Zope3\src\zope\configuration\config.py", line 553, in end
self.stack.pop().finish()
File "C:\Code\Zope3\src\zope\configuration\config.py", line 698, in finish
args = toargs(context, *self.argdata)
File "C:\Code\Zope3\src\zope\configuration\config.py", line 1390, in toargs
args[str(name)] = field.fromUnicode(s)
File "C:\Code\Zope3\src\zope\configuration\fields.py", line 141, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "C:\Code\Zope3\ftesting.zcml", line 12.2-12.63
ZopeXMLConfigurationError: File "C:\Code\Zope3\zopeskel\etc\package-includes\zope.app.pagelet-meta.zcml", line 1.0-1.55
ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module zope.app has no global pagelet')
More information about the Zope3-dev
mailing list