[Zope-CMF] Trunk hosed?
Tres Seaver
tseaver at palladion.com
Tue Oct 11 14:23:34 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm seeing a bunch of errors and failures when running the unit tests on
the trunk, in both GenericSetup and CMFSetup (see attached file).
Does anyone have a clue why? I'd like to forward-port my CPM export /
import code from the 1.5 branch, but need passing tests first.
Tres.
- --
===================================================================
Tres Seaver +1 202-558-7113 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDTAMm+gerLs4ltQ4RAhkVAJwJw5kYKGYqbjMG1WulTP4sZ71kMgCfUgfu
zeNMmmYLDgI8gs9VocGHzdI=
=6X/A
-----END PGP SIGNATURE-----
-------------- next part --------------
$ bin/zopectl
program: /home/tseaver/projects/CMF/cmf_test/z28_cmfhead/bin/runzope
daemon manager not running
zopectl> test
Running tests via: /home/tseaver/projects/Zope-CVS/bin/python /home/tseaver/projects/Zope-CVS/Zope-2_8-branch/bin/test.py -v --config-file /home/tseaver/projects/CMF/cmf_test/z28_cmfhead/etc/zope.conf --libdir Products
Running unit tests at level 1
Running unit tests from /home/tseaver/projects/CMF/cmf_test/z28_cmfhead/ProductsParsing /home/tseaver/projects/CMF/cmf_test/z28_cmfhead/etc/zope.conf
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................FEE.EE.EE.EE...............................................................................................................................................................................EEFF.FFFFFEEF.EFEEFEEF...................................................................................................................................................................................................................EE.EE.EE.EE.EE.EE.E..E..EE.EE.EE.EE.EEE...................................................................................................................................................................................................................................
======================================================================
ERROR: test_exportNode (CMFCore.tests.test_nodeadapters.ActionNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <Action at foo_action>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (CMFCore.tests.test_nodeadapters.ActionNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <Action at foo_action>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (CMFCore.tests.test_nodeadapters.ActionCategoryNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ActionCategory at foo_category>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (CMFCore.tests.test_nodeadapters.ActionCategoryNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ActionCategory at foo_category>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (CMFCore.tests.test_nodeadapters.ActionsToolNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ActionsTool at /bar/site/portal_actions>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (CMFCore.tests.test_nodeadapters.ActionsToolNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ActionsTool at /bar/site/portal_actions>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (CMFCore.tests.test_nodeadapters.CookieCrumblerNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CookieCrumbler at foo_cookiecrumbler>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (CMFCore.tests.test_nodeadapters.CookieCrumblerNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CookieCrumbler at foo_cookiecrumbler>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_normal (CMFSetup.tests.test_actions.Test_exportActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 275, in test_normal
exportActionProviders( context )
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/actions.py", line 56, in exportActionProviders
exporter = INodeExporter(atool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DummyActionsTool at /site/portal_actions>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_unchanged (CMFSetup.tests.test_actions.Test_exportActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 260, in test_unchanged
exportActionProviders( context )
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/actions.py", line 56, in exportActionProviders
exporter = INodeExporter(atool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DummyActionsTool at /site/portal_actions>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_normal (CMFSetup.tests.test_catalog.Test_exportCatalogTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_catalog.py", line 138, in test_normal
exportCatalogTool(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/catalog.py", line 56, in exportCatalogTool
exporter = INodeExporter(ctool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CatalogTool at site/portal_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_unchanged (CMFSetup.tests.test_catalog.Test_exportCatalogTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_catalog.py", line 125, in test_unchanged
exportCatalogTool(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/catalog.py", line 56, in exportCatalogTool
exporter = INodeExporter(ctool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CatalogTool at site/portal_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_normal_purge (CMFSetup.tests.test_catalog.Test_importCatalogTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_catalog.py", line 206, in test_normal_purge
exportCatalogTool(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/catalog.py", line 56, in exportCatalogTool
exporter = INodeExporter(ctool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CatalogTool at site/portal_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_changed (CMFSetup.tests.test_cookieauth.Test_exportCookieCrumbler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_cookieauth.py", line 118, in test_changed
exportCookieCrumbler(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/cookieauth.py", line 56, in exportCookieCrumbler
exporter = INodeExporter(cctool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CookieCrumbler at /site/foo_cookiecrumbler>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_unchanged (CMFSetup.tests.test_cookieauth.Test_exportCookieCrumbler)----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_cookieauth.py", line 105, in test_unchanged
exportCookieCrumbler(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/cookieauth.py", line 56, in exportCookieCrumbler
exporter = INodeExporter(cctool)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <CookieCrumbler at /site/foo_cookiecrumbler>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_changed (CMFSetup.tests.test_mailhost.Test_exportMailHost)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_mailhost.py", line 91, in test_changed
exportMailHost(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/mailhost.py", line 56, in exportMailHost
exporter = INodeExporter(mailhost)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <MailHost at /site/MailHost>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_unchanged (CMFSetup.tests.test_mailhost.Test_exportMailHost)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_mailhost.py", line 78, in test_unchanged
exportMailHost(context)
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/mailhost.py", line 56, in exportMailHost
exporter = INodeExporter(mailhost)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <MailHost at /site/MailHost>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.MailHost.tests.test_adapters.MailHostNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <MailHost at foo_mailhost>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.MailHost.tests.test_adapters.MailHostNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <MailHost at foo_mailhost>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.DateIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DateIndex at foo_date>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.DateIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DateIndex at foo_date>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.DateRangeIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DateRangeIndex at foo_daterange>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.DateRangeIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <DateRangeIndex at foo_daterange>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.FieldIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <FieldIndex at foo_field>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.FieldIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <FieldIndex at foo_field>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.KeywordIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <KeywordIndex at foo_keyword>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.KeywordIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <KeywordIndex at foo_keyword>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.PathIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <PathIndex at foo_path>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.PathIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <PathIndex at foo_path>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.VocabularyNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <Vocabulary at foo_vocabulary>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.TextIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <TextIndex at foo_text>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.FilteredSetNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', bar: (True) [], <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.FilteredSetNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', bar: () [], <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.PluginIndexes.tests.test_adapters.TopicIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <TopicIndex at foo_topic>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.PluginIndexes.tests.test_adapters.TopicIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <TopicIndex at foo_topic>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.ZCTextIndex.tests.test_adapters.ZCLexiconNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <PLexicon at foo_plexicon>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.ZCTextIndex.tests.test_adapters.ZCLexiconNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <PLexicon at foo_plexicon>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.ZCTextIndex.tests.test_adapters.ZCTextIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ImplicitAcquirerWrapper object at 0xb52fbf4c>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.ZCTextIndex.tests.test_adapters.ZCTextIndexNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ImplicitAcquirerWrapper object at 0xb5458dcc>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
ERROR: test_exportNode (GenericSetup.ZCatalog.tests.test_adapters.ZCatalogNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 39, in test_exportNode
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ZCatalog at foo_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_exportNode_special (GenericSetup.ZCatalog.tests.test_adapters.ZCatalogNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/ZCatalog/tests/test_adapters.py", line 148, in test_exportNode_special
node = INodeExporter(self._obj).exportNode(PrettyDocument())
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ZCatalog at foo_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeExporter>)
======================================================================
ERROR: test_importNode (GenericSetup.ZCatalog.tests.test_adapters.ZCatalogNodeAdapterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/GenericSetup/testing.py", line 44, in test_importNode
self.assertEqual(INodeImporter(self._obj).importNode(node), None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/interface/interface.py", line 682, in __call__
raise TypeError("Could not adapt", obj, self)
TypeError: ('Could not adapt', <ZCatalog at foo_catalog>, <InterfaceClass Products.GenericSetup.interfaces.INodeImporter>)
======================================================================
FAIL: Doctest: CMFCore.tests.test_fiveactionstool.test_fiveactionstool
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 2102, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for CMFCore.tests.test_fiveactionstool.test_fiveactionstool
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 23, in test_fiveactionstool
----------------------------------------------------------------------
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 48, in CMFCore.tests.test_fiveactionstool.test_fiveactionstool
Failed example:
from Products.Five.tests.testing.simplecontent import SimpleContent
Exception raised:
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest CMFCore.tests.test_fiveactionstool.test_fiveactionstool[12]>", line 1, in ?
from Products.Five.tests.testing.simplecontent import SimpleContent
ImportError: No module named testing.simplecontent
----------------------------------------------------------------------
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 49, in CMFCore.tests.test_fiveactionstool.test_fiveactionstool
Failed example:
foo = SimpleContent('foo', 'Foo')
Exception raised:
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest CMFCore.tests.test_fiveactionstool.test_fiveactionstool[13]>", line 1, in ?
foo = SimpleContent('foo', 'Foo')
NameError: name 'SimpleContent' is not defined
----------------------------------------------------------------------
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 55, in CMFCore.tests.test_fiveactionstool.test_fiveactionstool
Failed example:
zcml.load_config('fiveactions.zcml', Products.CMFCore.tests)
Exception raised:
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest CMFCore.tests.test_fiveactionstool.test_fiveactionstool[15]>", line 1, in ?
zcml.load_config('fiveactions.zcml', Products.CMFCore.tests)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/Products/Five/zcml.py", line 54, in load_config
_context = xmlconfig.file(file, package, _context)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/xmlconfig.py", line 439, in file
include(context, name, package)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/xmlconfig.py", line 375, in include
processxmlfile(f, context)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/xmlconfig.py", line 245, in processxmlfile
parser.parse(src)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/xml/sax/expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/xmlconfig.py", line 225, in endElementNS
self.context.end()
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/config.py", line 518, in end
self.stack.pop().finish()
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/config.py", line 664, in finish
args = toargs(context, *self.argdata)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/config.py", line 1322, in toargs
args[str(name)] = field.fromUnicode(s)
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/configuration/fields.py", line 141, in fromUnicode
raise schema.ValidationError(v)
ZopeXMLConfigurationError: File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/fiveactions.zcml", line 11.2-18.8
ConfigurationError: ('Invalid value for', 'for', "Couldn't import Products.Five.tests.testing.simplecontent, No module named testing.simplecontent")
----------------------------------------------------------------------
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 61, in CMFCore.tests.test_fiveactionstool.test_fiveactionstool
Failed example:
actions = tool.listActions(object=foo)
Exception raised:
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest CMFCore.tests.test_fiveactionstool.test_fiveactionstool[16]>", line 1, in ?
actions = tool.listActions(object=foo)
NameError: name 'foo' is not defined
----------------------------------------------------------------------
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFCore/tests/test_fiveactionstool.py", line 62, in CMFCore.tests.test_fiveactionstool.test_fiveactionstool
Failed example:
[(action.category, action.id) for action in actions]
Exception raised:
Traceback (most recent call last):
File "/home/tseaver/projects/Zope-CVS/Zope-2_8-branch/lib/python/zope/testing/doctest.py", line 1315, in __run
compileflags, 1) in test.globs
File "<doctest CMFCore.tests.test_fiveactionstool.test_fiveactionstool[17]>", line 1, in ?
[(action.category, action.id) for action in actions]
NameError: name 'actions' is not defined
======================================================================
FAIL: test_empty_default_purge (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 301, in test_empty_default_purge
self.assertEqual( len( atool.listActionProviders() ), 1 )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
======================================================================
FAIL: test_empty_explicit_purge (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 321, in test_empty_explicit_purge
self.assertEqual( len( atool.listActionProviders() ), 1 )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
======================================================================
FAIL: test_i18n (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 425, in test_i18n
self.assertEqual(atool.objectIds(), ['dummy'])
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: [] != ['dummy']
======================================================================
FAIL: test_insert_skip_purge (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 452, in test_insert_skip_purge
self.assertEqual( atool.objectIds(), ['dummy'] )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: [] != ['dummy']
======================================================================
FAIL: test_normal (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 369, in test_normal
self.assertEqual( len( atool.objectIds() ), 1 )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 0 != 1
======================================================================
FAIL: test_normal_encode_as_ascii (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 405, in test_normal_encode_as_ascii
self.assertEqual( len( atool.objectIds() ), 1 )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 0 != 1
======================================================================
FAIL: test_remove_skip_purge (CMFSetup.tests.test_actions.Test_importActionProviders)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_actions.py", line 479, in test_remove_skip_purge
self.assertEqual( atool.listActionProviders(), ['portal_foo'] )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: ['portal_actions', 'portal_foo', 'portal_bar'] != ['portal_foo']
======================================================================
FAIL: test_empty_purge (CMFSetup.tests.test_catalog.Test_importCatalogTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_catalog.py", line 163, in test_empty_purge
self.assertEqual(len(ctool.objectIds()), 0)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 1 != 0
======================================================================
FAIL: test_normal_update (CMFSetup.tests.test_catalog.Test_importCatalogTool)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_catalog.py", line 229, in test_normal_update
self.assertEqual(len(ctool.indexes()), 2)
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: 1 != 2
======================================================================
FAIL: test_normal (CMFSetup.tests.test_cookieauth.Test_importCookieCrumbler)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_cookieauth.py", line 139, in test_normal
self.assertEqual( cc.auth_cookie, 'value1' )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: '__ac' != 'value1'
======================================================================
FAIL: test_normal (CMFSetup.tests.test_mailhost.Test_importMailHost)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tseaver/projects/CMF/cmf_test/z28_cmfhead/Products/CMFSetup/tests/test_mailhost.py", line 112, in test_normal
self.assertEqual( mh.smtp_pwd, 'value1' )
File "/home/tseaver/projects/Zope-CVS/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: '' != 'value1'
----------------------------------------------------------------------
Ran 1131 tests in 43.696s
FAILED (failures=12, errors=42)
More information about the Zope-CMF
mailing list