[Testbot] UNKNOWN : AT-1.5 Plone-3.1 Zope-2.11 Python-2.4.4

Archetypes Tests plone-tests at epy.co.at
Tue Oct 14 04:14:11 UTC 2008


Archetypes Tests : UNKNOWN
AT-1.5 Plone-3.1 Zope-2.11 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q -1 --config-file etc/zope.conf --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21-plone31/etc/zope.conf
Test-module import failures:

Module: Products.Archetypes.tests.test_cmfessentials

Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/test_cmfessentials.py", line 27, in ?
    from Products.Five.testbrowser import Browser
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 23, in ?
    import mechanize
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/__init__.py", line 1, in ?
    from _mechanize import __version__
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 14, in ?
    from _useragent import UserAgent
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_useragent.py", line 18, in ?
    import _urllib2
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_urllib2.py", line 27
    from urllib2 import \
SyntaxError: trailing comma not allowed without surrounding parentheses


Running unit tests:
  Ran 17 tests with 0 failures and 0 errors in 0.942 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.597 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 4.249 seconds.
  Ran 61 tests with 0 failures and 0 errors in 2.449 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
 in 13.469 seconds.
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt
Failed doctest test for editing.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 8, in editing.txt
Failed example:
    from Products.Five.testbrowser import Browser
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[0]>", line 1, in ?
        from Products.Five.testbrowser import Browser
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 23, in ?
        import mechanize
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/__init__.py", line 1, in ?
        from _mechanize import __version__
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 14, in ?
        from _useragent import UserAgent
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_useragent.py", line 18, in ?
        import _urllib2
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_urllib2.py", line 27
         from urllib2 import \
     SyntaxError: trailing comma not allowed without surrounding parentheses
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 9, in editing.txt
Failed example:
    browser = Browser()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[1]>", line 1, in ?
        browser = Browser()
    NameError: name 'Browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 10, in editing.txt
Failed example:
    browser.handleErrors = False
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[2]>", line 1, in ?
        browser.handleErrors = False
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 14, in editing.txt
Failed example:
    browser.addHeader('Authorization',
                      'Basic %s:%s' % ('test_user_1_', 'secret'))
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[3]>", line 1, in ?
        browser.addHeader('Authorization',
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 33, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[9]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 34, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[10]>", line 1, in ?
        browser.getControl('Title').value = ''
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 35, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[11]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 52, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[17]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 53, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[18]>", line 1, in ?
        browser.getControl('Title').value = ''
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone31/Products/Archetypes/tests/editing.txt", line 54, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[19]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined

/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
  Ran 525 tests with 1 failures and 0 errors in 2 minutes 31.386 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.790 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.017 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 603 tests, 1 failures, 0 errors in 2 minutes 55.834 seconds.

Test-modules with import problems:
  Products.Archetypes.tests.test_cmfessentials

UNKNOWN




More information about the Testbot mailing list