[Testbot] FAILED (failures=22) : ATCT-trunk Plone-trunk Zope-trunk Python-2.6.2

ATContentTypes Tests plone-tests at epy.co.at
Wed Aug 12 10:53:02 UTC 2009


ATContentTypes Tests : FAILED (failures=22) 
ATCT-trunk Plone-trunk Zope-trunk Python-2.6.2

Running /usr/local/python2.6/bin/python ./bin/test -q --no-color --no-progress --package Products.ATContentTypes
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.828 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 8.436 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 2.397 seconds.


Failure in test test_createObject (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_id_change_on_initial_edit (Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/test_atdocument.py", line 281, in test_id_change_on_initial_edit
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atevent.TestATEventFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atevent.TestATEventFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atfile.TestATFileFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfile.TestATFileFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atfolder.TestATFolderFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfolder.TestATFolderFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atfolder.TestATBTreeFolderFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atfolder.TestATBTreeFolderFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atimage.TestATImageFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atimage.TestATImageFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atlink.TestATLinkFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atlink.TestATLinkFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_createObject (Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 67, in test_createObject
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test test_edit_view (Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/atctftestcase.py", line 81, in test_edit_view
    self.failUnlessEqual(response.getStatus(), 200) # OK
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 500 != 200



Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt
Failed doctest test for editing.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 35, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 35, example 12]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 401, in _open
        '_open', req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1102, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Test.py", line 204, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 165, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 127, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/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/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 47, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 240, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
       - Warning: Macro expansion failed
       - Warning: <type 'exceptions.KeyError'>: 'macro'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
        self.interpret(slot)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 522, in do_optTag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - file:/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.Archetypes/Products/Archetypes/skins/archetypes/widgets/zid.pt
       - Line 22, Column 6
       - Expression: <PythonExpr context.portal_properties.site_properties.getProperty('visible_ids', False)>
       - Names:
          {'container': <PloneSite at /plone>,
           'context': <ATDocument at /plone/Members/test_user_1_/document>,
           'default': <object object at 0x2b0ad2fda750>,
           'here': <ATDocument at /plone/Members/test_user_1_/document>,
           'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0x8cd3a10>,
                    u'fieldset': <Products.PageTemplates.Expressions.PathIterator object at 0x8cd3a50>},
           'nothing': None,
           'options': {'args': (),
                       'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x8cd0190>},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x8bd7ef0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <FSControllerPageTemplate at /plone/base_edit used for /plone/Members/test_user_1_/document>,
           'traverse_subpath': [],
           'user': <PloneUser 'test_user_1_'>}
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
       - __traceback_info__: context.portal_properties.site_properties.getProperty('visible_ids', False)
      File "PythonExpr", line 1, in <expression>
    AttributeError: portal_properties
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 36, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 36, example 13]>", line 1, in <module>
        browser.getControl('Title').value = ''
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 37, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 37, example 14]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 54, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 54, example 20]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 401, in _open
        '_open', req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1102, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Test.py", line 204, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 165, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 127, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/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/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 47, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 240, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
       - Warning: Macro expansion failed
       - Warning: <type 'exceptions.KeyError'>: 'macro'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
        self.interpret(slot)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 522, in do_optTag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - file:/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.Archetypes/Products/Archetypes/skins/archetypes/widgets/zid.pt
       - Line 22, Column 6
       - Expression: <PythonExpr context.portal_properties.site_properties.getProperty('visible_ids', False)>
       - Names:
          {'container': <PloneSite at /plone>,
           'context': <ATDocument at /plone/Members/test_user_1_/document>,
           'default': <object object at 0x2b0ad2fda750>,
           'here': <ATDocument at /plone/Members/test_user_1_/document>,
           'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0x8d583d0>,
                    u'fieldset': <Products.PageTemplates.Expressions.PathIterator object at 0x8d58350>},
           'nothing': None,
           'options': {'args': (),
                       'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x8d51cd0>},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x8d45248>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <FSControllerPageTemplate at /plone/base_edit used for /plone/Members/test_user_1_/document>,
           'traverse_subpath': [],
           'user': <PloneUser 'test_user_1_'>}
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
       - __traceback_info__: context.portal_properties.site_properties.getProperty('visible_ids', False)
      File "PythonExpr", line 1, in <expression>
    AttributeError: portal_properties
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 55, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 55, example 21]>", line 1, in <module>
        browser.getControl('Title').value = ''
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 56, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 56, example 22]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 68, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 68, example 25]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 401, in _open
        '_open', req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1102, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Test.py", line 204, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 165, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 127, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/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/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 47, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 240, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
       - Warning: Macro expansion failed
       - Warning: <type 'exceptions.KeyError'>: 'macro'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
        self.interpret(slot)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 522, in do_optTag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - file:/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.Archetypes/Products/Archetypes/skins/archetypes/widgets/zid.pt
       - Line 22, Column 6
       - Expression: <PythonExpr context.portal_properties.site_properties.getProperty('visible_ids', False)>
       - Names:
          {'container': <PloneSite at /plone>,
           'context': <ATDocument at /plone/Members/test_user_1_/document>,
           'default': <object object at 0x2b0ad2fda750>,
           'here': <ATDocument at /plone/Members/test_user_1_/document>,
           'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0x8d5fe10>,
                    u'fieldset': <Products.PageTemplates.Expressions.PathIterator object at 0x8d5fed0>},
           'nothing': None,
           'options': {'args': (),
                       'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x8d46c10>},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x8d56cf8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <FSControllerPageTemplate at /plone/base_edit used for /plone/Members/test_user_1_/document>,
           'traverse_subpath': [],
           'user': <PloneUser 'test_user_1_'>}
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
       - __traceback_info__: context.portal_properties.site_properties.getProperty('visible_ids', False)
      File "PythonExpr", line 1, in <expression>
    AttributeError: portal_properties
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 69, in editing.txt
Failed example:
    browser.getControl('Save').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 69, example 26]>", line 1, in <module>
        browser.getControl('Save').name
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 72, in editing.txt
Failed example:
    browser.getControl('Cancel').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 72, example 27]>", line 1, in <module>
        browser.getControl('Cancel').name
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 93, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 93, example 37]>", line 1, in <module>
        browser.open(url+'/edit')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 236, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_opener.py", line 191, in open
        response = urlopen(self, req, data)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 401, in _open
        '_open', req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/Five/testbrowser.py", line 85, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1102, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/testing.py", line 82, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Test.py", line 204, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 165, in publish
        sys.exc_info()[2],
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 127, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/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/python26-zope213-cmf22-plone50/src/Zope2/src/ZPublisher/Publish.py", line 47, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 240, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
        self, source, extra_context
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
        showtal=showtal)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations)()
       - Warning: Macro expansion failed
       - Warning: <type 'exceptions.KeyError'>: 'macro'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
        self.interpret(slot)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 852, in do_condition
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
        self.interpret(block)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
        self.engine.setLocal(name, self.engine.evaluateValue(expr))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - file:/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.Archetypes/Products/Archetypes/skins/archetypes/widgets/zid.pt
       - Line 22, Column 6
       - Expression: <PythonExpr context.portal_properties.site_properties.getProperty('visible_ids', False)>
       - Names:
          {'container': <PloneSite at /plone>,
           'context': <ATDocument at /plone/Members/test_user_1_/document>,
           'default': <object object at 0x2b0ad2fda750>,
           'here': <ATDocument at /plone/Members/test_user_1_/document>,
           'loop': {u'field': <Products.PageTemplates.Expressions.PathIterator object at 0x8d61950>},
           'nothing': None,
           'options': {'args': (),
                       'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x8d587d0>},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x8d5b9e0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <FSControllerPageTemplate at /plone/base_edit used for /plone/Members/test_user_1_/document>,
           'traverse_subpath': [],
           'user': <PloneUser 'test_user_1_'>}
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
        return eval(self._code, vars, {})
       - __traceback_info__: context.portal_properties.site_properties.getProperty('visible_ids', False)
      File "PythonExpr", line 1, in <expression>
    AttributeError: portal_properties
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 94, in editing.txt
Failed example:
    browser.getControl('Next').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 94, example 38]>", line 1, in <module>
        browser.getControl('Next').name
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 97, in editing.txt
Failed example:
    browser.getLink('someschemata').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 97, example 39]>", line 1, in <module>
        browser.getLink('someschemata').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 624, in find_link
        return self._filter_links(self._factory.links(), **kwds).next()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 645, in _filter_links
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/editing.txt", line 98, in editing.txt
Failed example:
    browser.getControl('Previous').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[line 98, example 40]>", line 1, in <module>
        browser.getControl('Previous').name
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 365, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 424, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 449, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt
Failed doctest test for portaltype_criterion.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 31, in portaltype_criterion.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 31, example 11]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 624, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 411, in _clickSubmit
        id=control.id, name=control.name, label=label, coord=coord))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 261, in _mech_open
        raise response
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 39, in portaltype_criterion.txt
Failed example:
    browser.getControl(name = 'title').value = 'My Collection'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 39, example 13]>", line 1, in <module>
        browser.getControl(name = 'title').value = 'My Collection'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 40, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 40, example 14]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 41, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 43, in portaltype_criterion.txt
Failed example:
    'My Collection' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 48, in portaltype_criterion.txt
Failed example:
    browser.getLink('Criteria').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 48, example 17]>", line 1, in <module>
        browser.getLink('Criteria').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 49, in portaltype_criterion.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/my-collection/criterion_edit_form'
Got:
    'http://nohost/plone/portal_factory/Topic/topic.2009-08-12.1620001168/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 51, in portaltype_criterion.txt
Failed example:
    'Add New Search Criteria' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 56, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='field', index=0).value = ['Type']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 56, example 20]>", line 1, in <module>
        browser.getControl(name='field', index=0).value = ['Type']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'field'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 57, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 57, example 21]>", line 1, in <module>
        browser.getControl(name='criterion_type', index=0).value = ['ATPortalTypeCriterion']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'criterion_type'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 58, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='form.button.AddCriterion').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 58, example 22]>", line 1, in <module>
        browser.getControl(name='form.button.AddCriterion').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'form.button.AddCriterion'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 59, in portaltype_criterion.txt
Failed example:
    'Added criterion ATPortalTypeCriterion for field Type.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 64, in portaltype_criterion.txt
Failed example:
    browser.getControl('Page')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 64, example 24]>", line 1, in <module>
        browser.getControl('Page')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Page'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 69, in portaltype_criterion.txt
Failed example:
    browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 69, example 25]>", line 1, in <module>
        browser.getControl(name='crit__Type_ATPortalTypeCriterion_value:list').value = ['Page']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'crit__Type_ATPortalTypeCriterion_value:list'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 70, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save', index=0).click() 
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 70, example 26]>", line 1, in <module>
        browser.getControl('Save', index=0).click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 71, in portaltype_criterion.txt
Failed example:
    'Changes saved.' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 94, in portaltype_criterion.txt
Failed example:
    browser.getLink('View').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 94, example 33]>", line 1, in <module>
        browser.getLink('View').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 95, in portaltype_criterion.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/my-collection/'
Got:
    'http://nohost/plone/portal_factory/Topic/topic.2009-08-12.1620001168/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 100, in portaltype_criterion.txt
Failed example:
    'Test Document' in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 110, in portaltype_criterion.txt
Failed example:
    browser.getLink('Site Setup').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 110, example 37]>", line 1, in <module>
        browser.getLink('Site Setup').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 111, in portaltype_criterion.txt
Failed example:
    browser.getLink('Language').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 111, example 38]>", line 1, in <module>
        browser.getLink('Language').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 626, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 112, in portaltype_criterion.txt
Failed example:
    browser.getControl('Site language').value = ['de']
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 112, example 39]>", line 1, in <module>
        browser.getControl('Site language').value = ['de']
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Site language'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 113, in portaltype_criterion.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 113, example 40]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/portaltype_criterion.txt", line 120, in portaltype_criterion.txt
Failed example:
    browser.open('http://nohost/plone/my-collection/criterion_edit_form')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[line 120, example 41]>", line 1, in <module>
        browser.open('http://nohost/plone/my-collection/criterion_edit_form')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 261, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found



Failure in test /home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt
Failed doctest test for uploading.txt
  File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 25, in uploading.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[line 25, example 12]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 624, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 411, in _clickSubmit
        id=control.id, name=control.name, label=label, coord=coord))
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 209, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/mechanize-0.1.11-py2.6.egg/mechanize/_mechanize.py", line 261, in _mech_open
        raise response
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 32, in uploading.txt
Failed example:
    browser.getControl(name='title').value = 'test document'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[line 32, example 14]>", line 1, in <module>
        browser.getControl(name='title').value = 'test document'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'title'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 33, in uploading.txt
Failed example:
    browser.getControl(name='text').value = 'This will be ignored.'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[line 33, example 15]>", line 1, in <module>
        browser.getControl(name='text').value = 'This will be ignored.'
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'text'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 34, in uploading.txt
Failed example:
    browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[line 34, example 16]>", line 1, in <module>
        browser.getControl(name='text_file').add_file(cStringIO.StringIO('file contents'), 'text/plain', 'test.txt')
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'text_file'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 35, in uploading.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testing-3.8.0-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[line 35, example 17]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 36, in uploading.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/test-document'
Got:
    'http://nohost/plone/portal_factory/Document/document.2009-08-12.1666342605/edit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213-cmf22-plone50/src/Products.ATContentTypes/Products/ATContentTypes/tests/uploading.txt", line 38, in uploading.txt
Failed example:
    'file contents' in browser.contents
Expected:
    True
Got:
    False

  Ran 679 tests with 22 failures and 0 errors in 48.780 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.154 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.004 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.

FAILED (failures=22) 




More information about the Testbot mailing list