[Zope-dev] Re: [Zope 2.11] KGS incomplete (Was: Stepping forward and going beta)

Andreas Jung lists at zopyx.com
Mon Dec 24 10:32:46 EST 2007



--On 24. Dezember 2007 09:42:37 -0500 Tres Seaver <tseaver at palladion.com> 
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andreas Jung wrote:
>> I wrote a small script to match the KGS against the current Zope/HEAD
>> externals. The KGS is missing several zope.app modules that are
>> used within Zope 2. What to do with them?
>>
>> WARN: KGS incomplete - BTrees not found
>> WARN: KGS incomplete - ThreadedAsync not found
>> WARN: KGS incomplete - ZEO not found
>> WARN: KGS incomplete - ZODB not found
>> WARN: KGS incomplete - ZopeUndo not found
>> WARN: KGS incomplete - persistent not found
>
> Those packages all ship with ZODB.  The 3.8 0c1 tag is current as of a
> week ago.  I'm assuming the KGS lists the ZODB egg. ;)


Jup. No problem with them.

>
>> WARN: KGS incomplete - transaction not found
>
> That package will move out into its own tree after ZODB 3.8.x.  Until
> then, it should be found under there.
>
>> WARN: KGS incomplete - zope.app.content_types not found
>> WARN: KGS incomplete - zope.app.event not found
>> WARN: KGS incomplete - zope.app.filerepresentation not found
>> WARN: KGS incomplete - zope.app.location not found
>> WARN: KGS incomplete - zope.app.mail not found
>> WARN: KGS incomplete - zope.app.rdb not found
>> WARN: KGS incomplete - zope.app.servicenames not found
>> WARN: KGS incomplete - zope.app.site not found
>> WARN: KGS incomplete - zope.app.size not found
>> WARN: KGS incomplete - zope.app.tests not found

I kicked them.

I created a test branch and adjusted the externals so far.

zope.thread seems to be a broken (there is no _zope_thread.c
file)...however had no time for further investigations.

And the testrunner produces 9 errors...anyone with a fast idea about
the reasons for the failures (before doing further investigations)?

"/opt/python-2.4.4/bin/python" 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/test.py" -v
Running tests at level 1
Running unit tests:
  Running:
..........
rror in test testSetupConfiguredLoggers 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

.

Error in test testSetupLocale 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

.

Error in test testSetupServers 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

.

Error in test testSetupStartupHandler 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

.

Error in test testSetupZServerThreads 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

.

Error in test testZopeRunConfigure 
(Zope2.Startup.tests.testStarter.ZopeStarterTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/Zope2/Startup/tests/testStarter.py", 
line 69, in tearDown
    test_logger.LoggingTestBase.tearDown(self)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

...............................................................................................

Error in test test_log_record 
(zLOG.tests.test_logging.LoggingIntegrationTestCase)
Traceback (most recent call last):
  File "/opt/python-2.4.4/lib/python2.4/unittest.py", line 270, in run
    self.tearDown()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/ZConfig/components/logger/tests/test_logger.py", 
line 72, in tearDown
    assert loghandler._reopenable_handlers == []
AssertionError

The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-36, started daemon)>, 
<_DummyThread(Dummy-37, started daemon)>]


.............
  Ran 5369 tests with 0 failures and 7 errors in 2 minutes 32.974 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.668 seconds.
  Running:
..............
  Ran 14 tests with 0 failures and 0 errors in 0.140 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.006 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Running:
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
........................................................................................................................................................................
  Ran 668 tests with 0 failures and 0 errors in 18.748 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.164 
seconds.
  Running:
................
  Ran 16 tests with 0 failures and 0 errors in 0.269 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 
0.002 seconds.
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.005 
seconds.
  Running:
..................
  Ran 18 tests with 0 failures and 0 errors in 0.064 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer 
tests:
  Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.002 
seconds.
  Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 
0.001 seconds.
  Running:
..
  Ran 2 tests with 0 failures and 0 errors in 0.015 seconds.
Running zope.formlib.tests.FormlibLayer tests:
  Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer 
in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.formlib.tests.FormlibLayer in 4.086 seconds.
  Running:
.....
  Ran 5 tests with 0 failures and 0 errors in 0.009 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.005 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer Traceback (most recent 
call last):
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/testing/testrunner.py", 
line 1252, in run_layer
    setup_layer(options, layer, setup_layers)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/testing/testrunner.py", 
line 1377, in setup_layer
    layer.setUp()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/testing/functional.py", 
line 288, in setUp
    self.setup = FunctionalTestSetup(self.config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/testing/functional.py", 
line 194, in __init__
    self.app = Debugger(self.db, config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/debug/debug.py", 
line 36, in __init__
    config(config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/appsetup/appsetup.py", 
line 111, in config
    context = xmlconfig.file(file, context=context, execute=execute)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 610, in file
    include(context, name, package)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 546, in include
    processxmlfile(f, context)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 378, in processxmlfile
    parser.parse(src)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 107, 
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py", line 123, in 
parse
    self.feed(buffer)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 207, 
in feed
    self._parser.Parse(data, isFinal)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 348, 
in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 357, in endElementNS
    self.context.end()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 542, in end
    self.stack.pop().finish()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 690, in finish
    actions = self.handler(context, **args)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 546, in include
    processxmlfile(f, context)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 378, in processxmlfile
    parser.parse(src)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 107, 
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py", line 123, in 
parse
    self.feed(buffer)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 207, 
in feed
    self._parser.Parse(data, isFinal)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 348, 
in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 357, in endElementNS
    self.context.end()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 542, in end
    self.stack.pop().finish()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 690, in finish
    actions = self.handler(context, **args)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 546, in include
    processxmlfile(f, context)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 378, in processxmlfile
    parser.parse(src)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 107, 
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py", line 123, in 
parse
    self.feed(buffer)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 207, 
in feed
    self._parser.Parse(data, isFinal)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 348, 
in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 357, in endElementNS
    self.context.end()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 542, in end
    self.stack.pop().finish()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 689, in finish
    args = toargs(context, *self.argdata)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 1381, in toargs
    args[str(name)] = field.fromUnicode(s)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/fields.py", 
line 139, in fromUnicode
    value = self.context.resolve(name)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 182, in resolve
    mod = __import__(mname, *_import_chickens)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/authentication/session.py", 
line 28, in ?
    from zope.session.interfaces import ISession
ZopeXMLConfigurationError: File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/testbrowser/ftests/ftesting.zcml", 
line 12.2-12.47
    ZopeXMLConfigurationError: File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/authentication/configure.zcml", 
line 61.2-61.33
    ZopeXMLConfigurationError: File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/authentication/session.zcml", 
line 6.2-10.8
    ImportError: No module named session.interfaces

Running zope.traversing.tests.layer.TraversingLayer tests:
  Set up zope.traversing.tests.layer.TraversingLayer Traceback (most recent 
call last):
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/testing/testrunner.py", 
line 1252, in run_layer
    setup_layer(options, layer, setup_layers)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/testing/testrunner.py", 
line 1377, in setup_layer
    layer.setUp()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/testing/functional.py", 
line 288, in setUp
    self.setup = FunctionalTestSetup(self.config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/testing/functional.py", 
line 194, in __init__
    self.app = Debugger(self.db, config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/debug/debug.py", 
line 36, in __init__
    config(config_file)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/appsetup/appsetup.py", 
line 111, in config
    context = xmlconfig.file(file, context=context, execute=execute)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 610, in file
    include(context, name, package)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 546, in include
    processxmlfile(f, context)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 378, in processxmlfile
    parser.parse(src)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 107, 
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py", line 123, in 
parse
    self.feed(buffer)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 207, 
in feed
    self._parser.Parse(data, isFinal)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 348, 
in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 357, in endElementNS
    self.context.end()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 542, in end
    self.stack.pop().finish()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 690, in finish
    actions = self.handler(context, **args)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 546, in include
    processxmlfile(f, context)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 378, in processxmlfile
    parser.parse(src)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 107, 
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/xmlreader.py", line 123, in 
parse
    self.feed(buffer)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 207, 
in feed
    self._parser.Parse(data, isFinal)
  File "/opt/python-2.4.4/lib/python2.4/xml/sax/expatreader.py", line 348, 
in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/xmlconfig.py", 
line 357, in endElementNS
    self.context.end()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 542, in end
    self.stack.pop().finish()
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 689, in finish
    args = toargs(context, *self.argdata)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/config.py", 
line 1381, in toargs
    args[str(name)] = field.fromUnicode(s)
  File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/configuration/fields.py", 
line 141, in fromUnicode
    raise schema.ValidationError(v)
ZopeXMLConfigurationError: File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/traversing/tests/ftesting.zcml", 
line 20.2-20.64
    ZopeXMLConfigurationError: File 
"/Users/ajung_data/sandboxes/Zope/ajung-2-11-prep-branch/lib/python/zope/app/securitypolicy/meta.zcml", 
line 3.2-3.60
    ConfigurationError: ('Invalid value for', 'package', 'ImportError: 
Module zope has no global securitypolicy')

Andreas



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20071224/43bc853a/attachment-0001.bin


More information about the Zope-Dev mailing list