[cmf-tests] FAILED (failures=16, errors=13) : CMF-trunk Zope-trunk Python-2.6.6 : Linux

CMF Tests cmf-tests at epy.co.at
Mon Aug 22 01:37:55 EDT 2011


CMF Tests : FAILED (failures=16, errors=13)
CMF-trunk Zope-trunk Python-2.6.6 : Linux (x86_64)

Running ./bin/test
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.095 seconds.
  Ran 368 tests with 0 failures and 0 errors in 1.427 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.295 seconds.
  Ran 52 tests with 0 failures and 0 errors in 0.145 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.469 seconds.


Failure in test /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt
Failed doctest test for event.txt
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 23, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[11]>", line 1, in <module>
        browser.open('http://localhost/site/myEvent/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: main_template
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Event at /site/myEvent>,
           'context': <Event at /site/myEvent>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Event at /site/myEvent>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x545c310>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.EventEditView object at 0x4eea290>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x4eeaf10>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 24, in event.txt
Failed example:
    '[[cmf_default][Edit [[cmf_calendar][Event]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[12]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_calendar][Event]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 26, in event.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[13]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 27, in event.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[14]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 32, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[15]>", line 1, in <module>
        browser.open('http://localhost/site/myEvent/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: main_template
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Event at /site/myEvent>,
           'context': <Event at /site/myEvent>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Event at /site/myEvent>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x51e4418>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.EventEditView object at 0x5447050>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x54478d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 33, in event.txt
Failed example:
    browser.getControl('[[cmf_calendar][From]]').value = 'a'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[16]>", line 1, in <module>
        browser.getControl('[[cmf_calendar][From]]').value = 'a'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 34, in event.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[17]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 35, in event.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[18]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 37, in event.txt
Failed example:
    '[[zope][Invalid datetime data]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[19]>", line 1, in <module>
        '[[zope][Invalid datetime data]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 42, in event.txt
Failed example:
    browser.getControl('[[cmf_calendar][From]]').value = '2006 11 6  12:00:00 '
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[20]>", line 1, in <module>
        browser.getControl('[[cmf_calendar][From]]').value = '2006 11 6  12:00:00 '
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 43, in event.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[21]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 44, in event.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[22]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 49, in event.txt
Failed example:
    browser.open('http://localhost/site/myEvent/@@view.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[23]>", line 1, in <module>
        browser.open('http://localhost/site/myEvent/@@view.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: main_template
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Event at /site/myEvent>,
           'context': <Event at /site/myEvent>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Event at /site/myEvent>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x51e44c8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x46e2a90>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.EventView object at 0x5447cd0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x51ea790>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/event.txt", line 50, in event.txt
Failed example:
    '2006 11 6  12:00:00 ' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest event.txt[24]>", line 1, in <module>
        '2006 11 6  12:00:00 ' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



Error in test test_noSessions_fiveview (Products.CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 149, in test_noSessions_fiveview
    self._testURL('/site/@@calendar_widget', ())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 123, in _testURL
    obj(*params)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
    return self.index(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
   - Line 2, Column 1
   - Expression: <PathExpr standard:u'context/main_template/macros/master'>
   - Names:
      {'args': (),
       'container': <CMFSite at /site>,
       'context': <CMFSite at /site>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <CMFSite at /site>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x55400a8>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x46e2bd0>,
       'traverse_subpath': [],
       'user': <User 'god'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/templates/calendar_widgets.pt object at 0x54ce290>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x54ce410>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
    object = object.unrestrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros



Error in test test_noSessions_skinsview (Products.CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 142, in test_noSessions_skinsview
    self._testURL('/site/calendarBox', ())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 123, in _testURL
    obj(*params)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/skins/zpt_calendar/calendarBox.pt
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'context/main_template/macros/master'>
   - Names:
      {'container': <CMFSite at /site>,
       'context': <CMFSite at /site>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <CMFSite at /site>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x54d8208>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <FSPageTemplate at /site/calendarBox>,
       'traverse_subpath': [],
       'user': <User 'god'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 340, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros



Error in test test_sessions_fiveview (Products.CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 135, in test_sessions_fiveview
    self._testURL('/site/@@calendar_widget', ())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 123, in _testURL
    obj(*params)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
    return self.index(*args, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
   - Line 2, Column 1
   - Expression: <PathExpr standard:u'context/main_template/macros/master'>
   - Names:
      {'args': (),
       'container': <CMFSite at /site>,
       'context': <CMFSite at /site>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <CMFSite at /site>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x50ef788>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x46e2bd0>,
       'traverse_subpath': [],
       'user': <User 'god'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/browser/templates/calendar_widgets.pt object at 0x50f75d0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x50f78d0>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
    object = object.unrestrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros



Error in test test_sessions_skinsview (Products.CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 128, in test_sessions_skinsview
    self._testURL('/site/calendarBox', ())
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/tests/test_Calendar.py", line 123, in _testURL
    obj(*params)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCalendar/Products/CMFCalendar/skins/zpt_calendar/calendarBox.pt
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'context/main_template/macros/master'>
   - Names:
      {'container': <CMFSite at /site>,
       'context': <CMFSite at /site>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <CMFSite at /site>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x50ef788>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <FSPageTemplate at /site/calendarBox>,
       'traverse_subpath': [],
       'user': <User 'god'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 340, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros

  Ran 20 tests with 1 failures and 4 errors in 0.653 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.022 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Ran 24 tests with 1 failures and 0 errors in 0.685 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
  Ran 112 tests with 1 failures and 0 errors in 15.461 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
  Ran 35 tests with 1 failures and 0 errors in 1.666 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.


Error in test test_fireForSubtemplates (Products.CMFCore.tests.test_CachingPolicyManager.NestedTemplateTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_CachingPolicyManager.py", line 1107, in test_fireForSubtemplates
    self.portal.doc1.dummy_view()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/fake_skins/fake_skin/testPT_CPM1.zpt
   - Line 8, Column 4
   - Expression: <PathExpr standard:u'context/doc2/subview_1'>
   - Names:
      {'container': <Products.CMFCore.tests.base.dummy.DummySite object at 0x46e9710>,
       'context': <DummyContent at /bar/portal/doc1>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <DummyContent at /bar/portal/doc1>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x507bec0>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Products.CMFCore.tests.base.dummy.DummySite object at 0x46e9710>,
       'template': <FSPageTemplate at /bar/portal/dummy_view used for /bar/portal/doc1>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 155, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 105, in render
    ob = ZRPythonExpr.call_with_ns(ob.__render_with_namespace__, ns)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 80, in call_with_ns
    return f(td)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 336, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
    self.insertHTMLStructure(text, repldict)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
    gen = AltTALGenerator(repldict, self.engine, 0)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
    TALGenerator.__init__(self, expressionCompiler, xml)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
    self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'



Error in test test_fireForSubtemplates2 (Products.CMFCore.tests.test_CachingPolicyManager.NestedTemplateTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_CachingPolicyManager.py", line 1182, in test_fireForSubtemplates2
    self.portal.doc1.dummy_view()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/fake_skins/fake_skin/testPT_CPM1.zpt
   - Line 8, Column 4
   - Expression: <PathExpr standard:u'context/doc2/subview_1'>
   - Names:
      {'container': <Products.CMFCore.tests.base.dummy.DummySite object at 0x50bdf50>,
       'context': <DummyContent at /bar/portal/doc1>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <DummyContent at /bar/portal/doc1>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5801680>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Products.CMFCore.tests.base.dummy.DummySite object at 0x50bdf50>,
       'template': <FSPageTemplate at /bar/portal/dummy_view used for /bar/portal/doc1>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 155, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 105, in render
    ob = ZRPythonExpr.call_with_ns(ob.__render_with_namespace__, ns)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 80, in call_with_ns
    return f(td)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 336, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
    self.insertHTMLStructure(text, repldict)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
    gen = AltTALGenerator(repldict, self.engine, 0)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
    TALGenerator.__init__(self, expressionCompiler, xml)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
    self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'



Error in test test_mixed_subtemplate_cpm (Products.CMFCore.tests.test_CachingPolicyManager.NestedTemplateTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_CachingPolicyManager.py", line 1045, in test_mixed_subtemplate_cpm
    portal.doc1()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/base/dummy.py", line 188, in __call__
    return template()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/fake_skins/fake_skin/nested_view.zpt
   - Line 8, Column 4
   - Expression: <PathExpr standard:u'context/doc2/nested_view_1'>
   - Names:
      {'container': <Products.CMFCore.tests.base.dummy.DummySite object at 0x553fe50>,
       'context': <DummyContent at /bar/portal/doc1>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <DummyContent at /bar/portal/doc1>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5835db8>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Products.CMFCore.tests.base.dummy.DummySite object at 0x553fe50>,
       'template': <FSPageTemplate at /bar/portal/nested_view used for /bar/portal/doc1>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 155, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 105, in render
    ob = ZRPythonExpr.call_with_ns(ob.__render_with_namespace__, ns)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 80, in call_with_ns
    return f(td)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 336, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
    self.insertHTMLStructure(text, repldict)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
    gen = AltTALGenerator(repldict, self.engine, 0)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
    TALGenerator.__init__(self, expressionCompiler, xml)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
    self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'



Error in test test_subtemplate_cpm_1 (Products.CMFCore.tests.test_CachingPolicyManager.NestedTemplateTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_CachingPolicyManager.py", line 925, in test_subtemplate_cpm_1
    portal.content()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/base/dummy.py", line 188, in __call__
    return template()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
    self.insertHTMLStructure(text, repldict)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
    gen = AltTALGenerator(repldict, self.engine, 0)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
    TALGenerator.__init__(self, expressionCompiler, xml)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
    self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'



Error in test test_subtemplate_cpm_3 (Products.CMFCore.tests.test_CachingPolicyManager.NestedTemplateTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_CachingPolicyManager.py", line 1006, in test_subtemplate_cpm_3
    data = portal.doc1()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/base/dummy.py", line 188, in __call__
    return template()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 526, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - file:/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/fake_skins/fake_skin/nested_view.zpt
   - Line 8, Column 4
   - Expression: <PathExpr standard:u'context/doc2/nested_view_1'>
   - Names:
      {'container': <Products.CMFCore.tests.base.dummy.DummySite object at 0x50f0dd0>,
       'context': <DummyContent at /bar/portal/doc1>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <DummyContent at /bar/portal/doc1>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x55653c0>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Products.CMFCore.tests.base.dummy.DummySite object at 0x50f0dd0>,
       'template': <FSPageTemplate at /bar/portal/nested_view used for /bar/portal/doc1>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 155, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 105, in render
    ob = ZRPythonExpr.call_with_ns(ob.__render_with_namespace__, ns)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 80, in call_with_ns
    return f(td)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 336, in __render_with_namespace__
    return self._bindAndExec((), namevals, namespace)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
    self, source, extra_context
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 752, in do_insertStructure_tal
    self.insertHTMLStructure(text, repldict)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 776, in insertHTMLStructure
    gen = AltTALGenerator(repldict, self.engine, 0)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 60, in __init__
    TALGenerator.__init__(self, expressionCompiler, xml)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talgenerator.py", line 39, in __init__
    self.CompilerError = expressionCompiler.getCompilerError()
AttributeError: 'ZopeContext' object has no attribute 'getCompilerError'



Error in test test___call__ (Products.CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_FSReSTMethod.py", line 98, in test___call__
    self.assertEqual(_normalize_whitespace(script(self.REQUEST)),
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSReSTMethod.py", line 175, in __call__
    return self._render(REQUEST, RESPONSE, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSReSTMethod.py", line 194, in _render
    return template(*posargs, **kwargs)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 330, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - restmethod_view
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'context/main_template/macros/main'>
   - Names:
      {'container': <FSReSTMethod at /testReST>,
       'context': <FSReSTMethod at /testReST>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <FSReSTMethod at /testReST>,
       'loop': {},
       'nothing': None,
       'options': {'args': (),
                   'cooked': u'<div class="document" id="title-goes-here">\n<h1 class="title">Title Goes Here</h1>\n<h2 class="subtitle" id="subhead-here">Subhead Here</h2>\n<p>And this is a paragraph,\nbroken across lines.</p>\n</div>\n'},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5069680>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /testReST/restmethod_view>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 340, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros



Error in test test_caching (Products.CMFCore.tests.test_FSReSTMethod.FSReSTMethodTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_FSReSTMethod.py", line 108, in test_caching
    script(self.REQUEST, self.RESPONSE)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSReSTMethod.py", line 175, in __call__
    return self._render(REQUEST, RESPONSE, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSReSTMethod.py", line 194, in _render
    return template(*posargs, **kwargs)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 330, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - restmethod_view
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'context/main_template/macros/main'>
   - Names:
      {'container': <FSReSTMethod at /testReST>,
       'context': <FSReSTMethod at /testReST>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <FSReSTMethod at /testReST>,
       'loop': {},
       'nothing': None,
       'options': {'args': (),
                   'cooked': u'<div class="document" id="title-goes-here">\n<h1 class="title">Title Goes Here</h1>\n<h2 class="subtitle" id="subhead-here">Subhead Here</h2>\n<p>And this is a paragraph,\nbroken across lines.</p>\n</div>\n'},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x4a2a260>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /testReST/restmethod_view>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 340, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros



Error in test test___call___with_ZPT (Products.CMFCore.tests.test_FSSTXMethod.FSSTXMethodTests)
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-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/tests/test_FSSTXMethod.py", line 127, in test___call___with_ZPT
    self.assertEqual(_normalize_whitespace(script(self.REQUEST)),
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSSTXMethod.py", line 166, in __call__
    return self._render(REQUEST, RESPONSE, **kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFCore/Products/CMFCore/FSSTXMethod.py", line 192, in _render
    return template(*posargs, **kwargs)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 322, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 330, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/ZopePageTemplate.py", line 415, in pt_render
    result = PageTemplate.pt_render(self, source, extra_context)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 79, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
    sourceAnnotations=sourceAnnotations
   - Warning: Macro expansion failed
   - Warning: <class 'zExceptions.NotFound'>: macros
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
    interpreter()
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
    macro = self.engine.evaluateMacro(macroExpr)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
   - stxmethod_view
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'context/main_template/macros/master'>
   - Names:
      {'container': <FSSTXMethod at /testSTX>,
       'context': <FSSTXMethod at /testSTX>,
       'default': <object object at 0x2ab8cf3726f0>,
       'here': <FSSTXMethod at /testSTX>,
       'loop': {},
       'nothing': None,
       'options': {'args': (),
                   'cooked': '<h1>Title Goes Here</h1>\n<h2>  Subhead Here</h2>\n<p>    And this is a paragraph,\n    broken across lines.</p>\n'},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5062578>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /testSTX/stxmethod_view>,
       'traverse_subpath': [],
       'user': <SpecialUser 'Anonymous User'>}
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 340, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
    raise e
   - __traceback_info__: ([], 'macros')
NotFound: macros

  Ran 69 tests with 1 failures and 8 errors in 1.918 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.250 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.315 seconds.


Error in test /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/admin/tests/portal_config.txt
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2158, in runTest
    test, out=new.write, clear_globs=False)
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1391, in run
    return self.__run(test, compileflags, out)
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1277, in __run
    got += _exception_traceback(exc_info)
  File "/usr/local/python2.6/lib/python2.6/doctest.py", line 244, in _exception_traceback
    traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testrunner-4.0.3-py2.6.egg/zope/testrunner/tb_format.py", line 42, in print_exception
    file.writelines(format_exception(t, v, tb, limit))
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testrunner-4.0.3-py2.6.egg/zope/testrunner/tb_format.py", line 31, in format_exception
    return fmt.formatException(t, v, tb)
(Recursive formatException() stopped)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 61: ordinal not in range(128)



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 18, in btreefolder.txt
Failed example:
    browser.open('http://localhost/site/++add++CMF BTree Folder')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[6]>", line 1, in <module>
        browser.open('http://localhost/site/++add++CMF BTree Folder')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x580bb50>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.formlib.form.FallbackAddView object at 0x5a28410>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5a28990>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 19, in btreefolder.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][CMF BTree Folder]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[7]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][CMF BTree Folder]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 21, in btreefolder.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[8]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 22, in btreefolder.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[9]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 24, in btreefolder.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[10]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 30, in btreefolder.txt
Failed example:
    browser.open('http://localhost/site/++add++CMF BTree Folder')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[12]>", line 1, in <module>
        browser.open('http://localhost/site/++add++CMF BTree Folder')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x580b4c8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.formlib.form.FallbackAddView object at 0x5be1610>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5be17d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 31, in btreefolder.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][CMF BTree Folder]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[13]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][CMF BTree Folder]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 33, in btreefolder.txt
Failed example:
    browser.getControl(name='form.id').value = 'myFolder'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[14]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'myFolder'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 34, in btreefolder.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[15]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 35, in btreefolder.txt
Failed example:
    '[[cmf_default][[[cmf_default][CMF BTree Folder]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[16]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][CMF BTree Folder]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 40, in btreefolder.txt
Failed example:
    browser.open('http://localhost/site/myFolder/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[17]>", line 1, in <module>
        browser.open('http://localhost/site/myFolder/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFolder</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 41, in btreefolder.txt
Failed example:
    '[[cmf_default][Folder Contents: ]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[18]>", line 1, in <module>
        '[[cmf_default][Folder Contents: ]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 46, in btreefolder.txt
Failed example:
    browser.open('http://localhost/site/myFolder/++add++Document')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[19]>", line 1, in <module>
        browser.open('http://localhost/site/myFolder/++add++Document')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFolder</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 47, in btreefolder.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Document]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[20]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Document]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 49, in btreefolder.txt
Failed example:
    browser.getControl(name='form.id').value = 'myDocument'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[21]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'myDocument'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 50, in btreefolder.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[22]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/btreefolder.txt", line 51, in btreefolder.txt
Failed example:
    '[[cmf_default][[[cmf_default][Document]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest btreefolder.txt[23]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Document]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 28, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[16]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x554cb50>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.DocumentEditView object at 0x5a28c50>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5af1410>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 29, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = '<script>'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[17]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = '<script>'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 30, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[18]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 31, in document.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[19]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 33, in document.txt
Failed example:
    '[[cmf_default][Dynamic tag \'script\' not ' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[20]>", line 1, in <module>
        '[[cmf_default][Dynamic tag \'script\' not ' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 38, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = 'spam'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[21]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = 'spam'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 39, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[22]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 40, in document.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[23]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 45, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@view.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[24]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@view.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
        return self.index(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5afb368>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x52927d0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/document.pt object at 0x51ea6d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x51f4b50>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 46, in document.txt
Failed example:
    'spam' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[25]>", line 1, in <module>
        'spam' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 51, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[26]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x508f7e0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.DocumentEditView object at 0x5af1810>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x590c990>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 55, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = 'spam and eggs'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[28]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = 'spam and eggs'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 56, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[29]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 57, in document.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[30]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 59, in document.txt
Failed example:
    '[[cmf_default][Intervening changes from ' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[31]>", line 1, in <module>
        '[[cmf_default][Intervening changes from ' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 64, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[32]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5afbb50>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.DocumentEditView object at 0x5931fd0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5af1510>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 70, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = 'spam and eggs'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[36]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = 'spam and eggs'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 71, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[37]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 72, in document.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[38]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 74, in document.txt
Failed example:
    '[[cmf_default][This resource is locked ' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[39]>", line 1, in <module>
        '[[cmf_default][This resource is locked ' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 83, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[42]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5afb260>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.DocumentEditView object at 0x5af1490>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x590cd90>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 84, in document.txt
Failed example:
    browser.getControl(name='form.text_format').value == ['structured-text']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[43]>", line 1, in <module>
        browser.getControl(name='form.text_format').value == ['structured-text']
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 86, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = '*spam and eggs*'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[44]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = '*spam and eggs*'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 87, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[45]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 89, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@view.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[46]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@view.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/metaconfigure.py", line 476, in __call__
        return self.index(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5afb368>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x52927d0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.SimpleViewClass from /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/document.pt object at 0x5907210>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x59071d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 90, in document.txt
Failed example:
    '*spam and eggs*' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[47]>", line 1, in <module>
        '*spam and eggs*' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 92, in document.txt
Failed example:
    '<em>spam and eggs</em>' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[48]>", line 1, in <module>
        '<em>spam and eggs</em>' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 98, in document.txt
Failed example:
    print browser.contents
Differences (ndiff with -expected +actual):
    - Title: TITLE
    + Title: TITLE
    ?             +
    - Subject:
    + Subject:
    ?         ++
    - Publisher:
    + Publisher:
    ?           ++
    - Description: DESCRIPTION
    + Description: DESCRIPTION
    ?                         +
    - Contributors:
    + Contributors:
    ?              ++
    - Effective_date: None
    + Effective_date: None
    ?                     +
    - Expiration_date: None
    + Expiration_date: None
    ?                      +
    - Type: Document
    + Type: Document
    ?               +
    - Format: text/plain
    + Format: text/plain
    ?                   +
    - Language:
    + Language:
    ?          ++
    - Rights:
    + Rights:
    ?        ++
    - SafetyBelt: ...
    ?             ^^^
    + SafetyBelt: 1
    ?             ^^
    +
      <BLANKLINE>
    - *spam and eggs*
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 116, in document.txt
Failed example:
    browser.open('http://localhost/site/myDocument/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[51]>", line 1, in <module>
        browser.open('http://localhost/site/myDocument/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myDocument>,
           'context': <Document at /site/myDocument>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myDocument>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5afb8e8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.DocumentEditView object at 0x590cc90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5af1490>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 117, in document.txt
Failed example:
    browser.getControl(name='form.text_format').value = ['html']
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[52]>", line 1, in <module>
        browser.getControl(name='form.text_format').value = ['html']
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 118, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Body]]').value = '<b>spam</b>'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[53]>", line 1, in <module>
        browser.getControl('[[cmf_default][Body]]').value = '<b>spam</b>'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 119, in document.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest document.txt[54]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/document.txt", line 122, in document.txt
Failed example:
    print browser.contents
Differences (ndiff with -expected +actual):
    + Title: TITLE
    + Subject:
    + Publisher:
    + Description: DESCRIPTION
    + Contributors:
    + Effective_date: None
    + Expiration_date: None
    + Type: Document
    + Format: text/plain
    + Language:
    + Rights:
    + SafetyBelt: 1
    +
    + <BLANKLINE>
    - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    -    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    - <html>
    -  <head>
    -  <title>TITLE</title>
    -  <meta name="Subject" content="" />
    -  <meta name="Publisher" content="" />
    -  <meta name="Description" content="DESCRIPTION" />
    -  <meta name="Contributors" content="" />
    -  <meta name="Effective_date" content="None" />
    -  <meta name="Expiration_date" content="None" />
    -  <meta name="Type" content="Document" />
    -  <meta name="Format" content="text/html" />
    -  <meta name="Language" content="" />
    -  <meta name="Rights" content="" />
    -  <meta name="SafetyBelt" content="..." />
    -  </head>
    -  <body><b>spam</b></body>
    - </html>



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 18, in favorite.txt
Failed example:
    browser.open('http://localhost/site/++add++Favorite')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[6]>", line 1, in <module>
        browser.open('http://localhost/site/++add++Favorite')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x580e368>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.favorite.FavoriteAddView object at 0x593ab50>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5af1290>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 19, in favorite.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Favorite]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[7]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Favorite]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 21, in favorite.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[8]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 22, in favorite.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[9]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 24, in favorite.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[10]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 29, in favorite.txt
Failed example:
    browser.open('http://localhost/site/++add++Favorite')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[11]>", line 1, in <module>
        browser.open('http://localhost/site/++add++Favorite')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b02e10>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.favorite.FavoriteAddView object at 0x590ced0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x593add0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 30, in favorite.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Favorite]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[12]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Favorite]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 32, in favorite.txt
Failed example:
    browser.getControl(name='form.id').value = 'myFavorite'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[13]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'myFavorite'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 33, in favorite.txt
Failed example:
    browser.getControl(name='form.title').value = 'FAVORITE TITLE'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[14]>", line 1, in <module>
        browser.getControl(name='form.title').value = 'FAVORITE TITLE'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 34, in favorite.txt
Failed example:
    browser.getControl(name='form.description').value = 'FAVORITE DESCRIPTION.'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[15]>", line 1, in <module>
        browser.getControl(name='form.description').value = 'FAVORITE DESCRIPTION.'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 35, in favorite.txt
Failed example:
    browser.getControl(name='form.remote_url').value = 'PATH/TO/ITEM'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[16]>", line 1, in <module>
        browser.getControl(name='form.remote_url').value = 'PATH/TO/ITEM'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 36, in favorite.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[17]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 37, in favorite.txt
Failed example:
    '[[cmf_default][[[cmf_default][Favorite]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[18]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Favorite]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 42, in favorite.txt
Failed example:
    browser.open('http://localhost/site/myFavorite/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[19]>", line 1, in <module>
        browser.open('http://localhost/site/myFavorite/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFavorite</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 43, in favorite.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][Favorite]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[20]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][Favorite]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 45, in favorite.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[21]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 46, in favorite.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[22]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 51, in favorite.txt
Failed example:
    browser.open('http://localhost/site/myFavorite/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[23]>", line 1, in <module>
        browser.open('http://localhost/site/myFavorite/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFavorite</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 52, in favorite.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][Favorite]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[24]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][Favorite]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 54, in favorite.txt
Failed example:
    browser.getControl(name='form.remote_url').value = 'PATH/TO/OTHER'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[25]>", line 1, in <module>
        browser.getControl(name='form.remote_url').value = 'PATH/TO/OTHER'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 55, in favorite.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[26]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/favorite.txt", line 56, in favorite.txt
Failed example:
    '[[cmf_default][[[cmf_default][Favorite]] changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest favorite.txt[27]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Favorite]] changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 18, in file.txt
Failed example:
    browser.open('http://localhost/site/++add++File')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[6]>", line 1, in <module>
        browser.open('http://localhost/site/++add++File')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b025d0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.file.FileAddView object at 0x5ce0d90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5ce0550>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 19, in file.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][File]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[7]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][File]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 21, in file.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[8]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 22, in file.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[9]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 24, in file.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[10]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 30, in file.txt
Failed example:
    browser.open('http://localhost/site/++add++File')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[12]>", line 1, in <module>
        browser.open('http://localhost/site/++add++File')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b02c58>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.file.FileAddView object at 0x5cac2d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cac4d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 31, in file.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][File]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[13]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][File]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 33, in file.txt
Failed example:
    browser.getControl(name='form.title').value = 'FILE TITLE'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[14]>", line 1, in <module>
        browser.getControl(name='form.title').value = 'FILE TITLE'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 34, in file.txt
Failed example:
    browser.getControl(name='form.description').value = 'FILE DESCRIPTION.'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[15]>", line 1, in <module>
        browser.getControl(name='form.description').value = 'FILE DESCRIPTION.'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 35, in file.txt
Failed example:
    ctrl = browser.getControl(name='form.file')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[16]>", line 1, in <module>
        ctrl = browser.getControl(name='form.file')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 36, in file.txt
Failed example:
    ctrl.add_file(StringIO('FILE DATA'), 'text/plain', 'myFile')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[17]>", line 1, in <module>
        ctrl.add_file(StringIO('FILE DATA'), 'text/plain', 'myFile')
    NameError: name 'ctrl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 37, in file.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[18]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 38, in file.txt
Failed example:
    '[[cmf_default][[[cmf_default][File]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[19]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][File]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 43, in file.txt
Failed example:
    browser.open('http://localhost/site/myFile/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[20]>", line 1, in <module>
        browser.open('http://localhost/site/myFile/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFile</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 44, in file.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][File]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[21]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][File]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 46, in file.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[22]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 47, in file.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[23]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 52, in file.txt
Failed example:
    browser.open('http://localhost/site/myFile/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[24]>", line 1, in <module>
        browser.open('http://localhost/site/myFile/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myFile</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 53, in file.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][File]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[25]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][File]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 55, in file.txt
Failed example:
    ctrl = browser.getControl(name='form.file')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[26]>", line 1, in <module>
        ctrl = browser.getControl(name='form.file')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 56, in file.txt
Failed example:
    ctrl.add_file(StringIO('FILE DATA 2'), 'text/plain', 'test.txt')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[27]>", line 1, in <module>
        ctrl.add_file(StringIO('FILE DATA 2'), 'text/plain', 'test.txt')
    NameError: name 'ctrl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 57, in file.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[28]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/file.txt", line 58, in file.txt
Failed example:
    '[[cmf_default][[[cmf_default][File]] changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest file.txt[29]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][File]] changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 21, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.b_start=25')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[8]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.b_start=25')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b020a8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5cdb750>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cad4d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 22, in folder.txt
Failed example:
    'name="form.b_start" type="hidden" value="25"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[9]>", line 1, in <module>
        'name="form.b_start" type="hidden" value="25"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 24, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=Type')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[10]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=Type')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3cb0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5ccc950>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5ccce50>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 25, in folder.txt
Failed example:
    'name="form.sort_key" type="hidden" value="Type"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[11]>", line 1, in <module>
        'name="form.sort_key" type="hidden" value="Type"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 27, in folder.txt
Failed example:
    '<a href="http://localhost/site/@@edit.html?form.sort_key=Type&amp;form.reverse=1">' \
    in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[12]>", line 2, in <module>
        in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 30, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=getId')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[13]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=getId')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3c58>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5cd4ed0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cd25d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 31, in folder.txt
Failed example:
    'name="form.sort_key" type="hidden" value="getId"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[14]>", line 1, in <module>
        'name="form.sort_key" type="hidden" value="getId"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 33, in folder.txt
Failed example:
    '<a href="http://localhost/site/@@edit.html?form.sort_key=getId&amp;form.reverse=1">' \
    in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[15]>", line 2, in <module>
        in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 36, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=modified')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[16]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=modified')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x508f998>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5cd2c50>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x573f1d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 37, in folder.txt
Failed example:
    'name="form.sort_key" type="hidden" value="modified"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[17]>", line 1, in <module>
        'name="form.sort_key" type="hidden" value="modified"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 39, in folder.txt
Failed example:
    '<a href="http://localhost/site/@@edit.html?form.sort_key=modified&amp;form.reverse=1">' \
    in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[18]>", line 2, in <module>
        in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 42, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=position')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[19]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=position')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3158>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5cd2410>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cd4e50>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 43, in folder.txt
Failed example:
    'name="form.sort_key" type="hidden" value="position"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[20]>", line 1, in <module>
        'name="form.sort_key" type="hidden" value="position"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 45, in folder.txt
Failed example:
    '<a href="http://localhost/site/@@edit.html?form.sort_key=position&amp;form.reverse=1">' \
    in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[21]>", line 2, in <module>
        in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 51, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=Type&form.reverse=1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[22]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=Type&form.reverse=1')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3cb0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5ccc7d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cccdd0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 52, in folder.txt
Failed example:
    'name="form.reverse" type="hidden" value="1"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[23]>", line 1, in <module>
        'name="form.reverse" type="hidden" value="1"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 54, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=getId&form.reverse=1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[24]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=getId&form.reverse=1')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3e68>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5740f90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x572c310>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 55, in folder.txt
Failed example:
    'name="form.reverse" type="hidden" value="1"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[25]>", line 1, in <module>
        'name="form.reverse" type="hidden" value="1"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 57, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=modified&form.reverse=1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[26]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=modified&form.reverse=1')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b02ec0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x572c9d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5740f10>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 58, in folder.txt
Failed example:
    'name="form.reverse" type="hidden" value="1"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[27]>", line 1, in <module>
        'name="form.reverse" type="hidden" value="1"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 60, in folder.txt
Failed example:
    browser.open('http://localhost/site/@@edit.html?form.sort_key=position&form.reverse=1')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[28]>", line 1, in <module>
        browser.open('http://localhost/site/@@edit.html?form.sort_key=position&form.reverse=1')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5b02b50>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3a00fd0>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.ContentsView object at 0x5cd4550>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cd2290>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/folder.txt", line 61, in folder.txt
Failed example:
    'name="form.reverse" type="hidden" value="1"' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest folder.txt[29]>", line 1, in <module>
        'name="form.reverse" type="hidden" value="1"' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 21, in image.txt
Failed example:
    browser.open('http://localhost/site/++add++Image')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[7]>", line 1, in <module>
        browser.open('http://localhost/site/++add++Image')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5af3838>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.file.FileAddView object at 0x5cd2350>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cd2550>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 22, in image.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Image]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[8]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Image]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 24, in image.txt
Failed example:
    browser.getControl(name='form.title').value = 'IMAGE TITLE'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[9]>", line 1, in <module>
        browser.getControl(name='form.title').value = 'IMAGE TITLE'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 25, in image.txt
Failed example:
    browser.getControl(name='form.description').value = 'IMAGE DESCRIPTION.'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[10]>", line 1, in <module>
        browser.getControl(name='form.description').value = 'IMAGE DESCRIPTION.'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 26, in image.txt
Failed example:
    ctrl = browser.getControl(name='form.file')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[11]>", line 1, in <module>
        ctrl = browser.getControl(name='form.file')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 28, in image.txt
Failed example:
    ctrl.add_file(StringIO('IMAGE DATA'), 'text/plain', 'myImage.gif')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[13]>", line 1, in <module>
        ctrl.add_file(StringIO('IMAGE DATA'), 'text/plain', 'myImage.gif')
    NameError: name 'ctrl' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 29, in image.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[14]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 30, in image.txt
Failed example:
    '[[cmf_default][[[cmf_default][Image]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[15]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Image]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 35, in image.txt
Failed example:
    browser.open('http://localhost/site/myImage.gif/@@view.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[16]>", line 1, in <module>
        browser.open('http://localhost/site/myImage.gif/@@view.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myImage.gif</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 36, in image.txt
Failed example:
    'IMAGE DESCRIPTION' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[17]>", line 1, in <module>
        'IMAGE DESCRIPTION' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/image.txt", line 39, in image.txt
Failed example:
    '<img src="http://localhost/site/myImage.gif" alt="" title="IMAGE TITLE" />' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest image.txt[18]>", line 1, in <module>
        '<img src="http://localhost/site/myImage.gif" alt="" title="IMAGE TITLE" />' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 18, in link.txt
Failed example:
    browser.open('http://localhost/site/++add++Link')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[6]>", line 1, in <module>
        browser.open('http://localhost/site/++add++Link')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x4a2a418>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.link.LinkAddView object at 0x5cd4610>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5732190>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 19, in link.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Link]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[7]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Link]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 21, in link.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[8]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 22, in link.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[9]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 24, in link.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[10]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 29, in link.txt
Failed example:
    browser.open('http://localhost/site/++add++Link')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[11]>", line 1, in <module>
        browser.open('http://localhost/site/++add++Link')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x591baf8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.browser.content.link.LinkAddView object at 0x57328d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5732b90>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 30, in link.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][Link]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[12]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][Link]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 32, in link.txt
Failed example:
    browser.getControl(name='form.id').value = 'myLink'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[13]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'myLink'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 33, in link.txt
Failed example:
    browser.getControl(name='form.title').value = 'LINK TITLE'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[14]>", line 1, in <module>
        browser.getControl(name='form.title').value = 'LINK TITLE'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 34, in link.txt
Failed example:
    browser.getControl(name='form.description').value = 'LINK DESCRIPTION.'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[15]>", line 1, in <module>
        browser.getControl(name='form.description').value = 'LINK DESCRIPTION.'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 35, in link.txt
Failed example:
    browser.getControl(name='form.remote_url').value = 'WWW.EXAMPLE.ORG'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[16]>", line 1, in <module>
        browser.getControl(name='form.remote_url').value = 'WWW.EXAMPLE.ORG'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 36, in link.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[17]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 37, in link.txt
Failed example:
    '[[cmf_default][[[cmf_default][Link]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[18]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Link]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 42, in link.txt
Failed example:
    browser.open('http://localhost/site/myLink/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[19]>", line 1, in <module>
        browser.open('http://localhost/site/myLink/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myLink</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 43, in link.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][Link]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[20]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][Link]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 45, in link.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[21]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 46, in link.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[22]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 51, in link.txt
Failed example:
    browser.open('http://localhost/site/myLink/@@edit.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[23]>", line 1, in <module>
        browser.open('http://localhost/site/myLink/@@edit.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 518, in traverse
        return response.notFoundError(URL)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 713, in notFoundError
        "<p><b>Resource:</b> %s</p>" % escape(entry)))
    NotFound: <html>
      <head><title>Site Error</title></head>
      <body bgcolor="#FFFFFF">
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>Resource not found</strong></p>

      Sorry, the requested resource does not exist.<p>Check the URL and try again.</p><p><b>Resource:</b> http://localhost/site/myLink</p>
      <hr noshade="noshade"/>

      <p>Troubleshooting Suggestions</p>

      <ul>
      <li>The URL may be incorrect.</li>
      <li>The parameters passed to this resource may be incorrect.</li>
      <li>A resource that this resource relies on may be
          encountering an error.</li>
      </ul>

      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p></body></html>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 52, in link.txt
Failed example:
    '[[cmf_default][Edit [[cmf_default][Link]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[24]>", line 1, in <module>
        '[[cmf_default][Edit [[cmf_default][Link]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 54, in link.txt
Failed example:
    browser.getControl(name='form.remote_url').value = 'WWW.EXAMPLE.COM'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[25]>", line 1, in <module>
        browser.getControl(name='form.remote_url').value = 'WWW.EXAMPLE.COM'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 55, in link.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[26]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/link.txt", line 56, in link.txt
Failed example:
    '[[cmf_default][[[cmf_default][Link]] changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest link.txt[27]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Link]] changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 22, in metadata.txt
Failed example:
    browser.open('http://localhost/site/myContent/@@properties.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[9]>", line 1, in <module>
        browser.open('http://localhost/site/myContent/@@properties.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <Document at /site/myContent>,
           'context': <Document at /site/myContent>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <Document at /site/myContent>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x591b680>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.MetadataEditView object at 0x5dc1a90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5dc9490>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 23, in metadata.txt
Failed example:
    '[[cmf_default][Properties]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[10]>", line 1, in <module>
        '[[cmf_default][Properties]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 25, in metadata.txt
Failed example:
    browser.getControl(name='form.allow_discussion').value = ('off',)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[11]>", line 1, in <module>
        browser.getControl(name='form.allow_discussion').value = ('off',)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 26, in metadata.txt
Failed example:
    browser.getControl(name='form.title').value = 'CONTENT TITLE'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[12]>", line 1, in <module>
        browser.getControl(name='form.title').value = 'CONTENT TITLE'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 27, in metadata.txt
Failed example:
    browser.getControl(name='form.description').value = 'CONTENT DESCRIPTION.'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[13]>", line 1, in <module>
        browser.getControl(name='form.description').value = 'CONTENT DESCRIPTION.'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 28, in metadata.txt
Failed example:
    browser.getControl(name='form.subject').value = 'spam\neggs'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[14]>", line 1, in <module>
        browser.getControl(name='form.subject').value = 'spam\neggs'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 29, in metadata.txt
Failed example:
    browser.getControl(name='form.contributors').value = 'foo\nbar\nbaz'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[15]>", line 1, in <module>
        browser.getControl(name='form.contributors').value = 'foo\nbar\nbaz'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 30, in metadata.txt
Failed example:
    browser.getControl(name='form.effective').value = '2006 11 11  12:00:00 '
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[16]>", line 1, in <module>
        browser.getControl(name='form.effective').value = '2006 11 11  12:00:00 '
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 31, in metadata.txt
Failed example:
    browser.getControl(name='form.expires').value = '2007 11 11  12:00:00 '
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[17]>", line 1, in <module>
        browser.getControl(name='form.expires').value = '2007 11 11  12:00:00 '
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 32, in metadata.txt
Failed example:
    browser.getControl(name='form.format').value = 'text/html'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[18]>", line 1, in <module>
        browser.getControl(name='form.format').value = 'text/html'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 33, in metadata.txt
Failed example:
    browser.getControl(name='form.language').value = 'test'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[19]>", line 1, in <module>
        browser.getControl(name='form.language').value = 'test'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 34, in metadata.txt
Failed example:
    browser.getControl(name='form.rights').value = 'CONTENT RIGHTS'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[20]>", line 1, in <module>
        browser.getControl(name='form.rights').value = 'CONTENT RIGHTS'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 35, in metadata.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[21]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/content/tests/metadata.txt", line 36, in metadata.txt
Failed example:
    '[[cmf_default][[[cmf_default][Document]] changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest metadata.txt[22]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][Document]] changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 69, in authentication.txt
Failed example:
    browser.open('http://localhost/site/manage_main')
Differences (ndiff with -expected +actual):
      Traceback (most recent call last):
    - ...
    +   File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
    +     compileflags, 1) in test.globs
    +   File "<doctest authentication.txt[21]>", line 1, in <module>
    +     browser.open('http://localhost/site/manage_main')
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
    +     self.mech_browser.open(url, data)
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
    +     return self._mech_open(url, data, timeout=timeout)
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
    +     raise response
    - HTTPError: HTTP Error 403: Forbidden
    ?                         ^    ^^^ ---
    + HTTPError: HTTP Error 404: Not Found
    ?                         ^ ++++   ^^
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 73, in authentication.txt
Failed example:
    'zpt_stylesheet.css' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 75, in authentication.txt
Failed example:
    '[[cmf_default][Forbidden]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 84, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@login.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[25]>", line 1, in <module>
        browser.open('http://localhost/site/@@login.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 85, in authentication.txt
Failed example:
    '[[cmf_default][Log in]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 87, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Login]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[27]>", line 1, in <module>
        browser.getControl('[[cmf_default][Login]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Login]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 88, in authentication.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 93, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@login.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[29]>", line 1, in <module>
        browser.open('http://localhost/site/@@login.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 94, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Member ID]]').value = 'unknown'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[30]>", line 1, in <module>
        browser.getControl('[[cmf_default][Member ID]]').value = 'unknown'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Member ID]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 95, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Login]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[31]>", line 1, in <module>
        browser.getControl('[[cmf_default][Login]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Login]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 96, in authentication.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 98, in authentication.txt
Failed example:
    '[[cmf_default][Login failure]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 103, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@login.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[34]>", line 1, in <module>
        browser.open('http://localhost/site/@@login.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 104, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[35]>", line 1, in <module>
        browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Member ID]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 105, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Password]]').value = 'wrong'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[36]>", line 1, in <module>
        browser.getControl('[[cmf_default][Password]]').value = 'wrong'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Password]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 106, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Remember my ID.]]').selected = False
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[37]>", line 1, in <module>
        browser.getControl('[[cmf_default][Remember my ID.]]').selected = False
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Remember my ID.]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 107, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Login]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[38]>", line 1, in <module>
        browser.getControl('[[cmf_default][Login]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Login]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 108, in authentication.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 110, in authentication.txt
Failed example:
    '[[cmf_default][Login failure]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 117, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@login.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[42]>", line 1, in <module>
        browser.open('http://localhost/site/@@login.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 118, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[43]>", line 1, in <module>
        browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Member ID]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 119, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Password]]').value = 'mbrpw'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[44]>", line 1, in <module>
        browser.getControl('[[cmf_default][Password]]').value = 'mbrpw'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Password]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 120, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Remember my ID.]]').selected = False
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[45]>", line 1, in <module>
        browser.getControl('[[cmf_default][Remember my ID.]]').selected = False
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Remember my ID.]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 121, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Login]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[46]>", line 1, in <module>
        browser.getControl('[[cmf_default][Login]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Login]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 122, in authentication.txt
Failed example:
    '[[cmf_default][Login success]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 124, in authentication.txt
Failed example:
    browser.cookies['__ac'] == '"%s"' % mbr_credentials
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[48]>", line 1, in <module>
        browser.cookies['__ac'] == '"%s"' % mbr_credentials
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/cookies.py", line 159, in __getitem__
        return self._get(key).value
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/cookies.py", line 155, in _get
        raise KeyError(key)
    KeyError: '__ac'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 129, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@mail_password.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[49]>", line 1, in <module>
        browser.open('http://localhost/site/@@mail_password.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 130, in authentication.txt
Failed example:
    "[[cmf_default][Don't panic!]]" in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 132, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Send]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[51]>", line 1, in <module>
        browser.getControl('[[cmf_default][Send]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Send]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 133, in authentication.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 138, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@mail_password.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[53]>", line 1, in <module>
        browser.open('http://localhost/site/@@mail_password.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 139, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Member ID]]').value = 'unknown'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[54]>", line 1, in <module>
        browser.getControl('[[cmf_default][Member ID]]').value = 'unknown'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Member ID]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 140, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Send]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[55]>", line 1, in <module>
        browser.getControl('[[cmf_default][Send]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Send]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 141, in authentication.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 143, in authentication.txt
Failed example:
    '[[zope][Constraint not satisfied]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 147, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@login.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[58]>", line 1, in <module>
        browser.open('http://localhost/site/@@login.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 148, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[59]>", line 1, in <module>
        browser.getControl('[[cmf_default][Member ID]]').value = 'mbr'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Member ID]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 149, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Password]]').value = 'mbrpw'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[60]>", line 1, in <module>
        browser.getControl('[[cmf_default][Password]]').value = 'mbrpw'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Password]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 150, in authentication.txt
Failed example:
    browser.getControl('[[cmf_default][Login]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[61]>", line 1, in <module>
        browser.getControl('[[cmf_default][Login]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 371, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 48, in disambiguate
        raise LookupError(msg)
    LookupError: label '[[cmf_default][Login]]'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 151, in authentication.txt
Failed example:
    '[[cmf_default][Login success]]' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 154, in authentication.txt
Failed example:
    '[cmf_default][You have been logged out.' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 159, in authentication.txt
Failed example:
    browser.open('http://localhost/site/manage_main')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[66]>", line 1, in <module>
        browser.open('http://localhost/site/manage_main')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 161, in authentication.txt
Failed example:
    browser.open('http://localhost/site/@@logout.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest authentication.txt[68]>", line 1, in <module>
        browser.open('http://localhost/site/@@logout.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 404: Not Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/authentication.txt", line 162, in authentication.txt
Failed example:
    '[[cmf_default][You are logged in outside the portal' in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 17, in join.txt
Failed example:
    browser.open('http://localhost/site/@@join.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[5]>", line 1, in <module>
        browser.open('http://localhost/site/@@join.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e30cb0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4dea590>,
           'traverse_subpath': [],
           'user': <SpecialUser 'Anonymous User'>,
           'view': <Products.Five.metaclass.JoinFormView object at 0x5e40d90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e47690>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 18, in join.txt
Failed example:
    browser.getControl(name='form.password').value == ''
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[6]>", line 1, in <module>
        browser.getControl(name='form.password').value == ''
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 23, in join.txt
Failed example:
    browser.open('http://localhost/site/@@join.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[7]>", line 1, in <module>
        browser.open('http://localhost/site/@@join.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e46680>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4dea590>,
           'traverse_subpath': [],
           'user': <SpecialUser 'Anonymous User'>,
           'view': <Products.Five.metaclass.JoinFormView object at 0x5e47fd0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e48e10>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 24, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[8]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 25, in join.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[9]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 31, in join.txt
Failed example:
    browser.open('http://localhost/site/@@join.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[11]>", line 1, in <module>
        browser.open('http://localhost/site/@@join.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e46838>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4dea590>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.JoinFormView object at 0x5e4b250>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e4b610>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 32, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[12]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 33, in join.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[13]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 18, in members.txt
Failed example:
    browser.open("http://localhost/site/@@members.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[7]>", line 1, in <module>
        browser.open("http://localhost/site/@@members.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e46aa0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c30610>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.Manage object at 0x5e47dd0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e4b650>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 19, in members.txt
Failed example:
    "[[cmf_default][Currently there are no members registered." in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[8]>", line 1, in <module>
        "[[cmf_default][Currently there are no members registered." in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 27, in members.txt
Failed example:
    browser.open("http://localhost/site/@@members.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[11]>", line 1, in <module>
        browser.open("http://localhost/site/@@members.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70100>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c30610>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.Manage object at 0x5e602d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e60a10>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 28, in members.txt
Failed example:
    "[[cmf_default][Manage Members]]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[12]>", line 1, in <module>
        "[[cmf_default][Manage Members]]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 32, in members.txt
Failed example:
    browser.getControl(name="form.actions.new").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[13]>", line 1, in <module>
        browser.getControl(name="form.actions.new").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 33, in members.txt
Failed example:
    "[[cmf_default][Register a New Member]]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[14]>", line 1, in <module>
        "[[cmf_default][Register a New Member]]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 37, in members.txt
Failed example:
    browser.open("http://localhost/site/@@members.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[15]>", line 1, in <module>
        browser.open("http://localhost/site/@@members.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70158>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c30610>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.Manage object at 0x5e5b650>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e5be50>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 38, in members.txt
Failed example:
    browser.getControl(name="form.actions.select").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[16]>", line 1, in <module>
        browser.getControl(name="form.actions.select").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 39, in members.txt
Failed example:
    "[[cmf_default][Please select one or more items first.]]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[17]>", line 1, in <module>
        "[[cmf_default][Please select one or more items first.]]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 43, in members.txt
Failed example:
    browser.getControl(name="form.Bob.select").value = True
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[18]>", line 1, in <module>
        browser.getControl(name="form.Bob.select").value = True
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 44, in members.txt
Failed example:
    browser.getControl(name="form.actions.select").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[19]>", line 1, in <module>
        browser.getControl(name="form.actions.select").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 45, in members.txt
Failed example:
    "[[cmf_default][The following members - including all their data, home folders and roles - are selected for deletion" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[20]>", line 1, in <module>
        "[[cmf_default][The following members - including all their data, home folders and roles - are selected for deletion" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 49, in members.txt
Failed example:
    browser.getControl(name="form.actions.cancel").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[21]>", line 1, in <module>
        browser.getControl(name="form.actions.cancel").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 50, in members.txt
Failed example:
    "[[cmf_default][Deletion broken off.]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[22]>", line 1, in <module>
        "[[cmf_default][Deletion broken off.]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 54, in members.txt
Failed example:
    browser.open("http://localhost/site/@@members.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[23]>", line 1, in <module>
        browser.open("http://localhost/site/@@members.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70520>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c30610>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.Manage object at 0x5e5be50>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e5bd10>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 55, in members.txt
Failed example:
    browser.getControl(name="form.Bob.select").value = True
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[24]>", line 1, in <module>
        browser.getControl(name="form.Bob.select").value = True
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 56, in members.txt
Failed example:
    browser.getControl(name="form.actions.select").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[25]>", line 1, in <module>
        browser.getControl(name="form.actions.select").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 57, in members.txt
Failed example:
    browser.getControl(name="form.actions.delete").click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[26]>", line 1, in <module>
        browser.getControl(name="form.actions.delete").click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 58, in members.txt
Failed example:
    "[[cmf_default][Selected members deleted.]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[27]>", line 1, in <module>
        "[[cmf_default][Selected members deleted.]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 65, in members.txt
Failed example:
    browser.open("http://localhost/site/@@members.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[29]>", line 1, in <module>
        browser.open("http://localhost/site/@@members.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70680>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c30610>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.Five.metaclass.Manage object at 0x5e60050>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e80090>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 66, in members.txt
Failed example:
    "[[cmf_default][Next 18 items]]" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[30]>", line 1, in <module>
        "[[cmf_default][Next 18 items]]" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/members.txt", line 68, in members.txt
Failed example:
    'a href="http://localhost/site/@@members.html?form.b_start=25">2</a>' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest members.txt[31]>", line 1, in <module>
        'a href="http://localhost/site/@@members.html?form.b_start=25">2</a>' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 19, in password.txt
Failed example:
    browser.open('http://localhost/site/@@password.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[7]>", line 1, in <module>
        browser.open('http://localhost/site/@@password.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70fc8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PasswordFormView object at 0x5e8c210>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e8c550>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 20, in password.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[8]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 21, in password.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[9]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 26, in password.txt
Failed example:
    browser.open("http://localhost/site/@@password.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[10]>", line 1, in <module>
        browser.open("http://localhost/site/@@password.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70578>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PasswordFormView object at 0x5e8ca90>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e8cd90>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 27, in password.txt
Failed example:
    browser.getControl(name='form.password').value == ''
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[11]>", line 1, in <module>
        browser.getControl(name='form.password').value == ''
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 29, in password.txt
Failed example:
    browser.getControl(name='form.password').value = 'new password'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[12]>", line 1, in <module>
        browser.getControl(name='form.password').value = 'new password'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 30, in password.txt
Failed example:
    browser.getControl(name='form.confirmation').value = 'is invalid'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[13]>", line 1, in <module>
        browser.getControl(name='form.confirmation').value = 'is invalid'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 31, in password.txt
Failed example:
    browser.getControl(name='form.actions.change').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[14]>", line 1, in <module>
        browser.getControl(name='form.actions.change').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 32, in password.txt
Failed example:
    '[[cmf_default][Your password and confirmation' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[15]>", line 1, in <module>
        '[[cmf_default][Your password and confirmation' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 34, in password.txt
Failed example:
    browser.getControl(name='form.password').value = 'new password'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[16]>", line 1, in <module>
        browser.getControl(name='form.password').value = 'new password'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 35, in password.txt
Failed example:
    browser.getControl(name='form.confirmation').value = 'new password'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[17]>", line 1, in <module>
        browser.getControl(name='form.confirmation').value = 'new password'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 36, in password.txt
Failed example:
    browser.getControl(name='form.actions.change').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[18]>", line 1, in <module>
        browser.getControl(name='form.actions.change').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 37, in password.txt
Failed example:
    '[[[cmf_default][Your password has been changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[19]>", line 1, in <module>
        '[[[cmf_default][Your password has been changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 39, in password.txt
Failed example:
    uf.getUserById('mbr')._getPassword() == 'new password'
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 51, in password.txt
Failed example:
    browser.open("http://localhost/site/@@password.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[27]>", line 1, in <module>
        browser.open("http://localhost/site/@@password.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 122, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/BaseRequest.py", line 612, in traverse
        response.unauthorized()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/HTTPResponse.py", line 751, in unauthorized
        raise Unauthorized(m)
    Unauthorized: <strong>You are not authorized to access this resource.</strong>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 52, in password.txt
Failed example:
    browser.getControl(name='form.password').value = password
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[28]>", line 1, in <module>
        browser.getControl(name='form.password').value = password
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 53, in password.txt
Failed example:
    browser.getControl(name='form.confirmation').value = password
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[29]>", line 1, in <module>
        browser.getControl(name='form.confirmation').value = password
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 54, in password.txt
Failed example:
    browser.getControl(name='form.actions.change').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[30]>", line 1, in <module>
        browser.getControl(name='form.actions.change').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 55, in password.txt
Failed example:
    '[[[cmf_default][Your password has been changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest password.txt[31]>", line 1, in <module>
        '[[[cmf_default][Your password has been changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/password.txt", line 60, in password.txt
Failed example:
    uf.getUserById('mbr')._getPassword() == _NON_ASCII.encode(default_charset)
Differences (ndiff with -expected +actual):
    - True
    + False



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 19, in preferences.txt
Failed example:
    browser.open("http://localhost/site/@@preferences.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[7]>", line 1, in <module>
        browser.open("http://localhost/site/@@preferences.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70578>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e9b110>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5ea5550>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 20, in preferences.txt
Failed example:
    '[[cmf_default][Member Preferences]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[8]>", line 1, in <module>
        '[[cmf_default][Member Preferences]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 22, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[9]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 23, in preferences.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[10]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 25, in preferences.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[11]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 30, in preferences.txt
Failed example:
    browser.open("http://localhost/site/@@preferences.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[12]>", line 1, in <module>
        browser.open("http://localhost/site/@@preferences.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e705d0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e95b10>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e8c390>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 31, in preferences.txt
Failed example:
    browser.getControl(name='form.fullname').value = 'MY NAME'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[13]>", line 1, in <module>
        browser.getControl(name='form.fullname').value = 'MY NAME'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 32, in preferences.txt
Failed example:
    browser.getControl(name='form.email').value = 'ME at EXAMPLE.ORG'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[14]>", line 1, in <module>
        browser.getControl(name='form.email').value = 'ME at EXAMPLE.ORG'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 33, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[15]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 34, in preferences.txt
Failed example:
    '[[cmf_default][Member preferences changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[16]>", line 1, in <module>
        '[[cmf_default][Member preferences changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 39, in preferences.txt
Failed example:
    browser.open("http://localhost/site/@@preferences.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[17]>", line 1, in <module>
        browser.open("http://localhost/site/@@preferences.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70520>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e85350>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5cb60d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 40, in preferences.txt
Failed example:
    '[[cmf_default][Member Preferences]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[18]>", line 1, in <module>
        '[[cmf_default][Member Preferences]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 42, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[19]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 43, in preferences.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[20]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 48, in preferences.txt
Failed example:
    browser.open("http://localhost/site/@@preferences.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[21]>", line 1, in <module>
        browser.open("http://localhost/site/@@preferences.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70100>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e609d0>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e60690>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 49, in preferences.txt
Failed example:
    browser.getControl(name='form.listed').value = True
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[22]>", line 1, in <module>
        browser.getControl(name='form.listed').value = True
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 50, in preferences.txt
Failed example:
    browser.getControl(name='form.portal_skin').value = ('Basic',)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[23]>", line 1, in <module>
        browser.getControl(name='form.portal_skin').value = ('Basic',)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 51, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[24]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 52, in preferences.txt
Failed example:
    '[[cmf_default][Member preferences changed.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[25]>", line 1, in <module>
        '[[cmf_default][Member preferences changed.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 57, in preferences.txt
Failed example:
    browser.open("http://localhost/site/@@preferences.html")
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[26]>", line 1, in <module>
        browser.open("http://localhost/site/@@preferences.html")
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e70628>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e6b910>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e6bcd0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 58, in preferences.txt
Failed example:
    '[[cmf_default][Member Preferences]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[27]>", line 1, in <module>
        '[[cmf_default][Member Preferences]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 60, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Change]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[28]>", line 1, in <module>
        browser.getControl('[[cmf_default][Change]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 61, in preferences.txt
Failed example:
    '[[cmf_default][Nothing to change.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[29]>", line 1, in <module>
        '[[cmf_default][Nothing to change.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 66, in preferences.txt
Failed example:
    browser.open('http://localhost/site/@@preferences.html')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[30]>", line 1, in <module>
        browser.open('http://localhost/site/@@preferences.html')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e46680>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mbr'>,
           'view': <Products.Five.metaclass.PreferencesFormView object at 0x5e5bd10>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e953d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 67, in preferences.txt
Failed example:
    browser.getControl('[[cmf_default][Cancel]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[31]>", line 1, in <module>
        browser.getControl('[[cmf_default][Cancel]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/preferences.txt", line 68, in preferences.txt
Failed example:
    browser.url
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest preferences.txt[32]>", line 1, in <module>
        browser.url
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 177, in url
        return self.mech_browser.geturl()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 334, in geturl
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document



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

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 41, in form.txt
Failed example:
    browser.open('http://localhost/site/++add++MyFoo')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[21]>", line 1, in <module>
        browser.open('http://localhost/site/++add++MyFoo')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e308e8>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <Products.CMFDefault.formlib.form.FallbackAddView object at 0x5e4b190>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e4b4d0>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 42, in form.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[22]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 44, in form.txt
Failed example:
    browser.getControl(name='form.bar')
Differences (ndiff with -expected +actual):
      Traceback (most recent call last):
    - ...
    - LookupError: name 'form.bar'
    +   File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
    +     compileflags, 1) in test.globs
    +   File "<doctest form.txt[23]>", line 1, in <module>
    +     browser.getControl(name='form.bar')
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
    +     label, name, self.mech_browser.forms(), include_subcontrols=True)
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
    +     if not self.viewing_html():
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
    +     raise BrowserStateError("not viewing any document")
    + BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 48, in form.txt
Failed example:
    browser.getControl(name='form.id').value = 'MY_ID'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[24]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'MY_ID'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 49, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[25]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 50, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[26]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 52, in form.txt
Failed example:
    'MY_ID' in app.site.contentIds()
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 71, in form.txt
Failed example:
    browser.open('http://localhost/site/++add++MyFoo')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[34]>", line 1, in <module>
        browser.open('http://localhost/site/++add++MyFoo')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5e94f18>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <FooAddView object at 0x5e28790>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5e28910>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 72, in form.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[35]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 74, in form.txt
Failed example:
    browser.getControl(name='form.id')
Differences (ndiff with -expected +actual):
      Traceback (most recent call last):
    - ...
    - LookupError: name 'form.id'
    +   File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
    +     compileflags, 1) in test.globs
    +   File "<doctest form.txt[36]>", line 1, in <module>
    +     browser.getControl(name='form.id')
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
    +     label, name, self.mech_browser.forms(), include_subcontrols=True)
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
    +     if not self.viewing_html():
    +   File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
    +     raise BrowserStateError("not viewing any document")
    + BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 78, in form.txt
Failed example:
    browser.getControl(name='form.bar').value = 'BAR'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[37]>", line 1, in <module>
        browser.getControl(name='form.bar').value = 'BAR'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 79, in form.txt
Failed example:
    browser.getControl(name='form.baz').value = 'BAZ'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[38]>", line 1, in <module>
        browser.getControl(name='form.baz').value = 'BAZ'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 80, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[39]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 81, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[40]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 83, in form.txt
Failed example:
    'Foo' in app.site.contentIds()
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 102, in form.txt
Failed example:
    browser.open('http://localhost/site/++add++MyFoo')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[47]>", line 1, in <module>
        browser.open('http://localhost/site/++add++MyFoo')
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 240, in open
        self.mech_browser.open(url, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1142, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/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-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 192, in __call__
        return super(ContentAddFormBase, self).__call__()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 800, in __call__
        result = self.render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 920, in render
        return super(AddFormBase, self).render()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.0.6-py2.6.egg/zope/formlib/form.py", line 790, in render
        self.form_result = self.template()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
        return self.im_func(im_self, *args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
        sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 131, in pt_render
        sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'zExceptions.NotFound'>: macros
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.pagetemplate-3.6.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
        interpreter()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 266, in __call__
        self.interpret(self.program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 883, in do_useMacro
        self.interpret(macro)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 528, in do_optTag_tal
        self.do_optTag(stuff)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 513, in do_optTag
        return self.no_tag(start, program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 508, in no_tag
        self.interpret(program)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 338, in interpret
        handlers[opcode](self, args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tal-3.6.0-py2.6.egg/zope/tal/talinterpreter.py", line 862, in do_useMacro
        macro = self.engine.evaluateMacro(macroExpr)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
        return expression(self)
       - /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/skin/five_template.pt
       - Line 2, Column 1
       - Expression: <PathExpr standard:u'context/main_template/macros/master'>
       - Names:
          {'args': (),
           'container': <CMFSite at /site>,
           'context': <CMFSite at /site>,
           'default': <object object at 0x2ab8cf3726f0>,
           'here': <CMFSite at /site>,
           'loop': {},
           'nothing': None,
           'options': {},
           'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x5a129f0>,
           'request': <HTTPRequest, URL=None>,
           'root': <Application at >,
           'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x3c72750>,
           'traverse_subpath': [],
           'user': <User 'mgr'>,
           'view': <FooAddView object at 0x5dc9290>,
           'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x5dc9590>}
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
        return self._eval(econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 147, in _eval
        ob = self._subexprs[-1](econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.tales-3.5.1-py2.6.egg/zope/tales/expressions.py", line 124, in _eval
        ob = self._traverser(ob, element, econtext)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Products/PageTemplates/Expressions.py", line 94, in trustedBoboAwareZopeTraverse
        object = object.unrestrictedTraverse(name)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/OFS/Traversable.py", line 323, in unrestrictedTraverse
        raise e
       - __traceback_info__: ([], 'macros')
    NotFound: macros
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 103, in form.txt
Failed example:
    '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[48]>", line 1, in <module>
        '[[cmf_default][Add [[cmf_default][MyFoo]]]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 105, in form.txt
Failed example:
    browser.getControl(name='form.id').value = 'MY_ID2'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[49]>", line 1, in <module>
        browser.getControl(name='form.id').value = 'MY_ID2'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 106, in form.txt
Failed example:
    browser.getControl(name='form.bar').value = 'BAR'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[50]>", line 1, in <module>
        browser.getControl(name='form.bar').value = 'BAR'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 107, in form.txt
Failed example:
    browser.getControl(name='form.baz').value = 'BAZ'
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[51]>", line 1, in <module>
        browser.getControl(name='form.baz').value = 'BAZ'
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 108, in form.txt
Failed example:
    browser.getControl('[[zope][Add]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[52]>", line 1, in <module>
        browser.getControl('[[zope][Add]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 109, in form.txt
Failed example:
    '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest form.txt[53]>", line 1, in <module>
        '[[cmf_default][[[cmf_default][MyFoo]] added.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.txt", line 111, in form.txt
Failed example:
    'MY_ID2' in app.site.contentIds()
Differences (ndiff with -expected +actual):
    - True
    + False

  Ran 51 tests with 15 failures and 1 errors in 4.854 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.021 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.222 seconds.
  Ran 1 tests with 15 failures and 0 errors in 0.022 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.022 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Ran 12 tests with 15 failures and 0 errors in 0.343 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.232 seconds.
  Ran 40 tests with 15 failures and 0 errors in 0.815 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.099 seconds.


Failure in test test_createSnapshot_default (Products.GenericSetup.tests.test_tool.SetupToolTests)
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-zope214-cmf23/src/Products.GenericSetup/Products/GenericSetup/tests/test_tool.py", line 787, in test_createSnapshot_default
    _DEFAULT_STEP_REGISTRIES_EXPORT_XML )
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: u'<?xml version="1.0"?>\n<export-steps>\n <export-step id="step_registries" handler="Products.GenericSetup.tool.exportStepRegistries" title="Export import / export steps.">\n  \n </export-step>\n</export-steps>\n' != '<?xml version="1.0"?>\n<export-steps>\n <export-step id="step_registries"\n              handler="Products.GenericSetup.tool.exportStepRegistries"\n              title="Export import / export steps.">\n  \n </export-step>\n</export-steps>\n'

  Ran 213 tests with 16 failures and 0 errors in 0.667 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.000 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 553 tests with 16 failures and 0 errors in 3.217 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1550 tests, 16 failures, 13 errors in 35.653 seconds.

FAILED (failures=16, errors=13)


More information about the cmf-tests mailing list