[cmf-tests] FAILED (errors=6) : CMF-2.0 Zope-2.10 Python-2.4.4 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Thu Dec 28 21:58:29 EST 2006


CMF Unit Tests : FAILED (errors=6)
CMF-2.0 Zope-2.10 Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
2006-12-29 03:44:53 ERROR Application Could not initialze a Temporary Folder because a database was not configured to be mounted at the /temp_folder mount point
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:692: DeprecationWarning: The five:traversable statement is no longer needed and will be removed in Zope 2.12.
  actions = self.handler(context, **args)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:184: DeprecationWarning: zope.app.event.interfaces has moved to zope.lifecycleevent.interfaces. Import of zope.app.event.interfaces will become unsupported in Zope 3.5
  mod = __import__(mname, *_import_chickens)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:199: DeprecationWarning: IObjectEvent is deprecated. IObjectEvent has moved to zope.component.interfaces
  obj = getattr(mod, oname)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:42: DeprecationWarning: IBrowserView is deprecated. IBrowserView has been moved to zope.publisher.interfaces.browser. This reference will be removed in Zope 3.5.
  from zope.app.publisher.interfaces.browser import IBrowserView
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:44: DeprecationWarning: FiveTraversable is deprecated. __bobo_traverse__ and ITraverser/ITraversable for controlling URL traversal have become obsolete. Use an IPublishTraverse adapter instead.  This reference will go away in Zope 2.12.
  from Products.Five.traversable import FiveTraversable
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:45: DeprecationWarning: Traversable is deprecated. __bobo_traverse__ and ITraverser/ITraversable for controlling URL traversal have become obsolete. Use an IPublishTraverse adapter instead.  This reference will go away in Zope 2.12.
  from Products.Five.traversable import Traversable
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:47: DeprecationWarning: zope.app.traversing has moved to zope.traversing. Import of zope.app.traversing will become unsupported in Zope 3.5
  from zope.app.traversing.adapters import Traverser
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:47: DeprecationWarning: zope.app.traversing.adapters has moved to zope.traversing.adapters. Import of zope.app.traversing.adapters will become unsupported in Zope 3.5
  from zope.app.traversing.adapters import Traverser
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_DynamicType.py:48: DeprecationWarning: zope.app.traversing.interfaces has moved to zope.traversing.interfaces. Import of zope.app.traversing.interfaces will become unsupported in Zope 3.5
  from zope.app.traversing.interfaces import ITraverser, ITraversable
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py:25: DeprecationWarning: Products.PageTemplates.TALES has moved to zope.tales.tales. Import of Products.PageTemplates.TALES will become unsupported in 2.12
  from Products.PageTemplates.TALES import Undefined
Parsing /home/stefan/autotest/temp/python24-zope210-cmf20/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.Portal.CMFSite.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCalendar.Event.Event.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated.  The browser:layer directive will be removed in Zope 3.5.  Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
  <browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated.  The browser:skin directive will be removed in Zope 3.5.  Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
  <browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/exportimport/tests/test_content.py:48: DeprecationWarning: zope.app.tests has moved to zope.app.testing. Import of zope.app.tests will become unsupported in Zope 3.5
  from zope.app.tests import ztapi


Error in test test_customize (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py", line 155, in test_customize
    self.fsPT.manage_doCustomize( folder_path='custom' )
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
    obj = self._createZODBClone()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSPageTemplate.py", line 74, in _createZODBClone
    obj.write(self.read())
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode



Error in test test_customize_caching (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py", line 171, in test_customize_caching
    self.fsPT.manage_doCustomize(folder_path='custom')
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
    obj = self._createZODBClone()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSPageTemplate.py", line 74, in _createZODBClone
    obj.write(self.read())
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode



Error in test test_dontExpandOnCreation (CMFCore.tests.test_FSPageTemplate.FSPageTemplateCustomizationTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py", line 179, in test_dontExpandOnCreation
    self.fsPT.manage_doCustomize( folder_path='custom' )
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSObject.py", line 85, in manage_doCustomize
    obj = self._createZODBClone()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/FSPageTemplate.py", line 74, in _createZODBClone
    obj.write(self.read())
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode

<string>:1: DeprecationWarning: setDefaultSkin is deprecated. setDefaultSkin has been moved to zope.publisher.browser. This reference will be removed in Zope 3.5.


Error in test testHTML (CMFDefault.tests.test_Document.DocumentFTPGetTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/tests/test_Document.py", line 395, in testHTML
    zpt.write(data)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode



Error in test test_body_get (GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/testing.py", line 90, in test_body_get
    self._populate(self._obj)
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/PageTemplates/tests/test_exportimport.py", line 42, in _populate
    obj.write(_PAGETEMPLATE_BODY)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode



Error in test test_body_set (GenericSetup.PageTemplates.tests.test_exportimport.ZopePageTemplateBodyAdapterTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/testing.py", line 98, in test_body_set
    adapted.body = self._BODY
  File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/PageTemplates/exportimport.py", line 38, in _importBody
    self.context.write(body)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/ZopePageTemplate.py", line 290, in write
    raise TypeError("'text' parameter must be unicode")
TypeError: 'text' parameter must be unicode

  Ran 1278 tests with 0 failures and 6 errors in 147.003 seconds.

FAILED (errors=6)


More information about the cmf-tests mailing list