All pastes #593758 Raw Edit

Something

public text v1 · immutable
#593758 ·published 2007-06-28 14:58 UTC
rendered paste body
zopectl> test -m Products.listen
Running tests via: /usr/bin/python /home/cabraham/devel/myenv/src/Zope-2.9-branch/bin/test.py -v --config-file /home/cabraham/devel/myenv/zope/etc/zope.conf -m Products.listen
Parsing /home/cabraham/devel/myenv/zope/etc/zope.conf
/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/Products/__init__.py:15: UserWarning: Module Products was already imported from /home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/Products/__init__.pyc, but /home/cabraham/devel/myenv/src/opencore is being added to sys.path
  __import__('pkg_resources').declare_namespace(__name__)
Running tests at level 1
/home/cabraham/devel/myenv/zope/Products/MailBoxer/__init__.py:21: DeprecationWarning: The ImageFile module will be removed in Zope 2.11. Use App.ImageFile instead.
  from ImageFile import ImageFile
Installing CMFCore ... done (0.078s)
Installing CMFDefault ... done (0.276s)
Installing CMFCalendar ... done (0.063s)
Installing CMFTopic ... done (0.041s)
Installing DCWorkflow ... done (0.096s)
Installing CMFActionIcons ... done (0.046s)
Installing CMFQuickInstallerTool ... done (0.093s)
Installing CMFFormController ... done (0.314s)
Installing GroupUserFolder ... done (0.155s)
Installing ZCTextIndex ... done (0.041s)
Installing CMFPlone ... 2007-06-28 10:58:04 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead.
2007-06-28 10:58:05 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2007-06-28 10:58:05 WARNING Plone Deprecation Warning
registerSetupWidget is deprecated and will be removed in Plone 3.0.
2007-06-28 10:58:05 WARNING Plone Deprecation Warning
CustomizationPolicies are deprecated and will be removed in Plone 3.0. Please use GenericSetup extension profiles instead.
done (1.223s)
Installing Archetypes ... done (1.796s)
Installing ATContentTypes ... 2007-06-28 10:58:07 WARNING Init Class Products.ATContentTypes.content.base.ATCTFolderMixin has a security declaration for nonexistent method 'manage_copyObjects'
/home/cabraham/devel/myenv/zope/Products/Marshall/handlers/__init__.py:38: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers
  warnings.warn('libxml2 not available. Unable to register libxml2 based ' \
done (0.767s)
Installing ATReferenceBrowserWidget ... done (0.018s)
Installing CMFDynamicViewFTI ... done (0.047s)
Installing ExternalEditor ... done (0.048s)
Installing ExtendedPathIndex ... done (0.074s)
Installing ResourceRegistries ... done (0.152s)
Installing SecureMailHost ... done (0.043s)
Installing CMFPlacefulWorkflow ... done (0.062s)
Installing PasswordResetTool ... done (0.069s)
Installing PluggableAuthService ... done (0.085s)
Installing PluginRegistry ... done (0.077s)
Installing PlonePAS ... done (0.067s)
Installing kupu ... /home/cabraham/devel/myenv/zope/Products/kupu/plone/__init__.py:32: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: kupu
  icon="kupu_icon.gif",
done (0.125s)
Installing ManagableIndex ... done (0.130s)
Running unit tests:
  Running:
...........<string>:1: DeprecationWarning: handle: The handle(required, handler) function as a shorter spelling of subscribe(required, None, handler) has been deprecated to avoid nomenclature confusion with zope.component.handle.
.........
  Ran 20 tests with 0 failures and 0 errors in 1.816 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
2007-06-28 10:58:14 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'from_addr'
2007-06-28 10:58:14 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'date'
2007-06-28 10:58:14 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'subject'
  Set up Products.PloneTestCase.layer.ZCML in 3.097 seconds.
2007-06-28 10:58:15 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2007-06-28 10:58:15 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead.
/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.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/cabraham/devel/myenv/zope/Products/PluggableAuthService/plugins/BasePlugin.py:74: DeprecationWarning: isImplementedBy has been renamed to providedBy
  return interface.isImplementedBy( self )
/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PlonePAS.plugins.cookie_handler.ExtendedCookieAuthHelper.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/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PlonePAS.plugins.role.GroupAwareRoleManager.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/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.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/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.kupu.plone.plonelibrarytool.PloneKupuLibraryTool.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)
  Set up Products.PloneTestCase.layer.PloneSite
Traceback (most recent call last):
  File "/home/cabraham/devel/myenv/src/Zope-2.9-branch/bin/test.py", line 125, in ?
    sys.exit(testrunner.run(defaults))
  File "/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/zope/testing/testrunner.py", line 271, in run
    failed = not run_with_options(options)
  File "/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/zope/testing/testrunner.py", line 433, in run_with_options
    setup_layers, failures, errors)
  File "/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/zope/testing/testrunner.py", line 604, in run_layer
    setup_layer(layer, setup_layers)
  File "/home/cabraham/devel/myenv/src/Zope-2.9-branch/lib/python/zope/testing/testrunner.py", line 692, in setup_layer
    layer.setUp()
  File "/home/cabraham/devel/myenv/zope/Products/PloneTestCase/layer.py", line 28, in setUp
    setup.deferredSetup()
  File "/home/cabraham/devel/myenv/zope/Products/PloneTestCase/setup.py", line 315, in deferredSetup
    SiteSetup(*site).run()
  File "/home/cabraham/devel/myenv/zope/Products/PloneTestCase/setup.py", line 162, in run
    self._setupRegistries()
  File "/home/cabraham/devel/myenv/zope/Products/PloneTestCase/setup.py", line 216, in _setupRegistries
    portal = getattr(self.app, self.id)
AttributeError: plone