[cmf-tests] FAILED (failures=7) : CMF-trunk Zope-trunk Python-2.7.3 : Linux

CMF Tests cmf-tests at epy.co.at
Wed Sep 12 06:10:32 UTC 2012


CMF Tests : FAILED (failures=7)
CMF-trunk Zope-trunk Python-2.7.3 : Linux (x86_64)

Running ./bin/test
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.094 seconds.
  Ran 386 tests with 0 failures and 0 errors in 1.460 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.297 seconds.
  Ran 21 tests with 0 failures and 0 errors in 0.056 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.525 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.651 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.021 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Ran 24 tests with 0 failures and 0 errors in 0.678 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
  Ran 113 tests with 0 failures and 0 errors in 15.333 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
  Ran 62 tests with 0 failures and 0 errors in 2.891 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
  Ran 73 tests with 0 failures and 0 errors in 1.998 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.252 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.368 seconds.


Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt
Failed doctest test for folder.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 91, in folder.txt
Failed example:
    browser.getControl('[[cmf_default][Copy]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[42]>", line 1, in <module>
        browser.getControl('[[cmf_default][Copy]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in folder_contents
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 92, in folder.txt
Failed example:
    '[[cmf_default][Item copied.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[43]>", line 1, in <module>
        '[[cmf_default][Item copied.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 121, in folder.txt
Failed example:
    browser.getControl('[[cmf_default][Paste]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[55]>", line 1, in <module>
        browser.getControl('[[cmf_default][Paste]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in folder_contents
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 122, in folder.txt
Failed example:
    '[[cmf_default][Item pasted.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[56]>", line 1, in <module>
        '[[cmf_default][Item pasted.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 222, in folder.txt
Failed example:
    browser.getControl('[[cmf_default][Set as Default Sort]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[106]>", line 1, in <module>
        browser.getControl('[[cmf_default][Set as Default Sort]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in folder_contents
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 223, in folder.txt
Failed example:
    '[[cmf_default][Default sort order changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[107]>", line 1, in <module>
        '[[cmf_default][Default sort order changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 225, in folder.txt
Failed example:
    '[[cmf_default][Set as Default Sort]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[108]>", line 1, in <module>
        '[[cmf_default][Set as Default Sort]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable

/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/rss.txt:1: DeprecationWarning: This method will be removed in future versions.  Use 'list(elem)' or iteration over elem instead.
  RSS Views


Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt
Failed doctest test for discussion.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 58, in discussion.txt
Failed example:
    browser.getControl('[[cmf_default][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[28]>", line 1, in <module>
        browser.getControl('[[cmf_default][Add]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.formlib-4.1.1-py2.7.egg/zope/formlib/form.py", line 817, in __call__
        self.update()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 89, in update
        super(_EditFormMixin, self).update()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.formlib-4.1.1-py2.7.egg/zope/formlib/form.py", line 798, in update
        result = action.success(data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.formlib-4.1.1-py2.7.egg/zope/formlib/form.py", line 636, in success
        return self.success_handler(self.form, self, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.formlib-4.1.1-py2.7.egg/zope/formlib/form.py", line 568, in <lambda>
        return lambda form, *args: getattr(form, meth)(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/discussion.py", line 94, in handle_add
        self.context.setRedirect(reply, "object/view")
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in setRedirect
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 59, in discussion.txt
Failed example:
    'talkback' in browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[29]>", line 1, in <module>
        'talkback' in browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 61, in discussion.txt
Failed example:
    'A reply' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[30]>", line 1, in <module>
        'A reply' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 66, in discussion.txt
Failed example:
    parts = urlparse.urlparse(browser.url)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[32]>", line 1, in <module>
        parts = urlparse.urlparse(browser.url)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 67, in discussion.txt
Failed example:
    path = "/".join(parts.path.split("/")[:-1])
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[33]>", line 1, in <module>
        path = "/".join(parts.path.split("/")[:-1])
    NameError: name 'parts' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 68, in discussion.txt
Failed example:
    browser.open("http://localhost/{path}/@@delete.html".format(path=path))
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[34]>", line 1, in <module>
        browser.open("http://localhost/{path}/@@delete.html".format(path=path))
    NameError: name 'path' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/discussion/tests/discussion.txt", line 69, in discussion.txt
Failed example:
    'talkback' in browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest discussion.txt[35]>", line 1, in <module>
        'talkback' in browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt
Failed doctest test for join.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 26, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[9]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 27, in join.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[10]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 62, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[27]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in members_manage_form
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 63, in join.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[28]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt
Failed doctest test for members.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 57, in members.txt
Failed example:
    browser.getControl(name="form.actions.delete").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[26]>", line 1, in <module>
        browser.getControl(name="form.actions.delete").click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in members_manage_form
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 58, in members.txt
Failed example:
    "[[cmf_default][Selected members deleted.]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[27]>", line 1, in <module>
        "[[cmf_default][Selected members deleted.]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt
Failed doctest test for password.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 20, in password.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[8]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 21, in password.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[9]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 36, in password.txt
Failed example:
    browser.getControl(name='form.actions.change').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[18]>", line 1, in <module>
        browser.getControl(name='form.actions.change').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 37, in password.txt
Failed example:
    '[[[cmf_default][Your password has been changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[19]>", line 1, in <module>
        '[[[cmf_default][Your password has been changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 54, in password.txt
Failed example:
    browser.getControl(name='form.actions.change').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[30]>", line 1, in <module>
        browser.getControl(name='form.actions.change').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 55, in password.txt
Failed example:
    '[[[cmf_default][Your password has been changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[31]>", line 1, in <module>
        '[[[cmf_default][Your password has been changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt
Failed doctest test for preferences.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 67, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[31]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 68, in preferences.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[32]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



Failure in test /home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt
Failed doctest test for form.txt
  File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 51, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[27]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 52, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[28]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 82, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[41]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 83, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[42]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 110, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[54]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.7/lib/python2.7/urllib2.py", line 1174, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFCore/Products/CMFCore/FSPythonScript.py", line 127, in __call__
        return Script.__call__(self, *args, **kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
        result = f(*args, **kw)
      File "Script (Python)", line 1, in index_html
       - Line 1
      File "/home/stefan/autotest/temp/python27-zope214-cmf24/eggs/AccessControl-3.0.4-py2.7-linux-x86_64.egg/AccessControl/ZopeGuards.py", line 305, in guarded_import
        raise Unauthorized("import of '%s' is unauthorized" % mname)
    Unauthorized: import of 'ZTUtils' is unauthorized
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python27-zope214-cmf24/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 111, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.7/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[55]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable

  Ran 55 tests with 7 failures and 0 errors in 9.778 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.019 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.228 seconds.
  Ran 2 tests with 7 failures and 0 errors in 0.206 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.020 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Ran 12 tests with 7 failures and 0 errors in 0.324 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.232 seconds.
  Ran 40 tests with 7 failures and 0 errors in 0.750 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.001 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.097 seconds.
  Ran 219 tests with 7 failures and 0 errors in 0.666 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.000 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 563 tests with 7 failures and 0 errors in 3.440 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1590 tests, 7 failures, 0 errors in 42.917 seconds.

FAILED (failures=7)


More information about the cmf-tests mailing list