[Testbot] FAILED (failures=7, errors=5) : AT-trunk Plone-trunk Zope-trunk Python-2.4.5

Archetypes Tests plone-tests at epy.co.at
Sat Nov 8 06:01:47 UTC 2008


Archetypes Tests : FAILED (failures=7, errors=5)
AT-trunk Plone-trunk Zope-trunk Python-2.4.5

Running /usr/local/python2.4/bin/python ./bin/instance test -q -1 --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Running unit tests:
  Ran 24 tests with 0 failures and 0 errors in 0.947 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.545 seconds.
  Set up Products.CMFTestCase.layer.ZCML in 4.259 seconds.
  Ran 68 tests with 0 failures and 0 errors in 2.882 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.CMFSite in 6.145 seconds.
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Error in test testRendering (Products.Archetypes.tests.test_cmfessentials.TestPermissions)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_cmfessentials.py", line 69, in testRendering
    self.failUnless(isinstance(content(), basestring))
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/TemplateMixin.py", line 67, in __call__
    return v(context, context.REQUEST)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/FSControllerPageTemplate.py", line 90, in __call__
    return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFFormController/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
    return inherited_call(self, *args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Shared/DC/Scripts/Bindings.py", line 321, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Shared/DC/Scripts/Bindings.py", line 358, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
    showtal=showtal)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 852, in do_condition
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 852, in do_condition
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 121, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 70, in boboAwareZopeTraverse
    object = object.restrictedTraverse(name)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/Traversable.py", line 303, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/Traversable.py", line 271, in unrestrictedTraverse
    raise e
AttributeError: plone_utils



Error in test test6734 (Products.Archetypes.tests.test_cmfessentials.TestFTICopy)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_cmfessentials.py", line 100, in test6734
    browser.getLink('Folder contents').click()
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 421, in click
    self.browser.mech_browser.follow_link(self.mech_link)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 448, in follow_link
    return self.open(self.click_link(link, **kwds))
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 177, in open
    return self._mech_open(url, data)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 202, in _mech_open
    response = UserAgent.open(self, self.request, data)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_opener.py", line 235, in open
    response = urlopen(self, req, data)
  File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 376, in _open
    '_open', req)
  File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/testbrowser.py", line 85, in http_open
    return self.do_open(PublisherConnection, req)
  File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 993, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/testing.py", line 85, in request
    self.response = self.caller(request_string, handle_errors)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
    return func(*args, **kw)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
    debug=not handle_errors,
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Test.py", line 202, in publish_module
    response = publish(request, module_name, after_list, debug=debug)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 150, in publish
    sys.exc_info()[2],
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Zope2/App/startup.py", line 260, in __call__
    error_log_url=error_log_url)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 119, in publish
    request, bind=1)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/mapply.py", line 77, in mapply
    if debug is not None: return debug(object,args,context)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/ZPublisher/Publish.py", line 42, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/app/pagetemplate/simpleviewclass.py", line 44, in __call__
    return self.index(*args, **kw)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/Five/browser/pagetemplatefile.py", line 53, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
    self.interpret(slot)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 852, in do_condition
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 531, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 513, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 343, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.tal-3.5.0-py2.4.egg/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 189, in evaluateStructure
    text = super(ZopeContext, self).evaluateStructure(expr)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 129, in _eval
    return render(ob, econtext.vars)
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/Products/PageTemplates/Expressions.py", line 93, in render
    ob = ob()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.app.content/plone/app/content/browser/foldercontents.py", line 38, in icon
    icon = ploneview.getIcon(self.context)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/browser/ploneview.py", line 290, in getIcon
    if not self.icons_visible():
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/plone.memoize/plone/memoize/view.py", line 55, in memogetter
    value = cache[key] = func(*args, **kwargs)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/browser/ploneview.py", line 273, in icons_visible
    site_properties = getattr(properties, 'site_properties')
AttributeError: site_properties



Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt
Failed doctest test for events.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 35, in events.txt
Failed example:
    handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
    - 9 events:...
    ? ^        ---
    + 10 events:
    ? ^^
    + [(<DDocument at a>,
    +   <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42a9f8ac>),
    +  (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at 0x42f5c34c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x431c066c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <Products.DCWorkflow.events.AfterTransitionEvent object at 0x431c068c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <zope.app.container.contained.ObjectAddedEvent object at 0x42f5c30c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <zope.app.event.objectevent.ObjectModifiedEvent object at 0x42f5c2cc>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42f5c36c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x430cec4c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <Products.DCWorkflow.events.AfterTransitionEvent object at 0x430cec8c>),
    +  (<DDocument at /cmf/Members/test_user_1_/a>,
    +   <zope.app.container.contained.ObjectAddedEvent object at 0x42f09f6c>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 71, in events.txt
Failed example:
    print http(r"""
    PUT /%s/some-document HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"

    Some Content
    """ % ('/'.join(self.folder.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
    - HTTP/1.1 201 Created
    - ...
    + HTTP/1.1 500 Internal Server Error
    + Accept-Ranges: none
    + Connection: close
    + Content-Length: 1862
    + Content-Type: text/html; charset=utf-8
    + Date: Sat, 08 Nov 2008 05:51:20 GMT
    + <BLANKLINE>
    +   <h2>Site Error</h2>
    +   <p>An error was encountered while publishing this resource.
    +   </p>
    +   <p><strong>exceptions.AttributeError</strong></p>
    + <BLANKLINE>
    +   Sorry, a site error occurred.<p><p>Traceback (innermost last):
    + <ul>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Test, line 202, in publish_module</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 150, in publish</li>
    + <BLANKLINE>
    + <li>  Module Zope2.App.startup, line 260, in __call__</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 119, in publish</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.mapply, line 77, in mapply</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 42, in call_object</li>
    + <BLANKLINE>
    + <li>  Module webdav.NullResource, line 164, in PUT</li>
    + <BLANKLINE>
    + <li>  Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
    + <BLANKLINE>
    + <li>  Module zope.event, line 23, in notify</li>
    + <BLANKLINE>
    + <li>  Module zope.component.event, line 26, in dispatch</li>
    + <BLANKLINE>
    + <li>  Module zope.component._api, line 131, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.component.registry, line 300, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.interface.adapter, line 535, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.utilities, line 92, in isObjectChanged</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFCore.utils, line 125, in getToolByName</li>
    + <BLANKLINE>
    + </ul>AttributeError: portal_repository
    + </p></p>
    +   <hr noshade="noshade"/>
    + <BLANKLINE>
    +   <p>Troubleshooting Suggestions</p>
    + <BLANKLINE>
    +   <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>
    + <BLANKLINE>
    +   <p>For more detailed information about the error, please
    +   refer to the error log.
    +   </p>
    + <BLANKLINE>
    +   <p>If the error persists please contact the site maintainer.
    +   Thank you for your patience.
    +   </p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 81, in events.txt
Failed example:
    'some-document' in self.folder.objectIds()
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 84, in events.txt
Failed example:
    print str(self.folder['some-document']['body'])
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest events.txt[30]>", line 1, in ?
        print str(self.folder['some-document']['body'])
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/ObjectManager.py", line 758, in __getitem__
        raise KeyError, key
    KeyError: 'some-document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 95, in events.txt
Failed example:
    print http(r"""
    PUT /%s/some-document HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"

    Some Other Content
    """ % ('/'.join(self.folder.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
    - HTTP/1.1 204 No Content
    - ...
    + HTTP/1.1 500 Internal Server Error
    + Accept-Ranges: none
    + Connection: close
    + Content-Length: 1862
    + Content-Type: text/html; charset=utf-8
    + Date: Sat, 08 Nov 2008 05:51:20 GMT
    + <BLANKLINE>
    +   <h2>Site Error</h2>
    +   <p>An error was encountered while publishing this resource.
    +   </p>
    +   <p><strong>exceptions.AttributeError</strong></p>
    + <BLANKLINE>
    +   Sorry, a site error occurred.<p><p>Traceback (innermost last):
    + <ul>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Test, line 202, in publish_module</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 150, in publish</li>
    + <BLANKLINE>
    + <li>  Module Zope2.App.startup, line 260, in __call__</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 119, in publish</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.mapply, line 77, in mapply</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 42, in call_object</li>
    + <BLANKLINE>
    + <li>  Module webdav.NullResource, line 164, in PUT</li>
    + <BLANKLINE>
    + <li>  Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
    + <BLANKLINE>
    + <li>  Module zope.event, line 23, in notify</li>
    + <BLANKLINE>
    + <li>  Module zope.component.event, line 26, in dispatch</li>
    + <BLANKLINE>
    + <li>  Module zope.component._api, line 131, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.component.registry, line 300, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.interface.adapter, line 535, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.utilities, line 92, in isObjectChanged</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFCore.utils, line 125, in getToolByName</li>
    + <BLANKLINE>
    + </ul>AttributeError: portal_repository
    + </p></p>
    +   <hr noshade="noshade"/>
    + <BLANKLINE>
    +   <p>Troubleshooting Suggestions</p>
    + <BLANKLINE>
    +   <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>
    + <BLANKLINE>
    +   <p>For more detailed information about the error, please
    +   refer to the error log.
    +   </p>
    + <BLANKLINE>
    +   <p>If the error persists please contact the site maintainer.
    +   Thank you for your patience.
    +   </p>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 105, in events.txt
Failed example:
    print str(self.folder['some-document']['body'])
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest events.txt[33]>", line 1, in ?
        print str(self.folder['some-document']['body'])
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/ObjectManager.py", line 758, in __getitem__
        raise KeyError, key
    KeyError: 'some-document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 108, in events.txt
Failed example:
    handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
    - 1 events:
    + 17 events:
    ?  +
    + [(<DDocument at some-document>,
    +   <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42b771ec>),
    +  (<DDocument at some-document>,
    +   <OFS.event.ObjectWillBeAddedEvent object at 0x42b7736c>),
    - [(<DDocument at /cmf/Members/test_user_1_/some-document>,
    ? ^
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    ? ^
    +   <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42dca2ec>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42dca48c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.container.contained.ObjectAddedEvent object at 0x42b77e2c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.event.objectevent.ObjectModifiedEvent object at 0x430cebcc>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.event.objectevent.ObjectCreatedEvent object at 0x430cecec>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x4305fd8c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <Products.DCWorkflow.events.AfterTransitionEvent object at 0x4305fd2c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.container.contained.ObjectAddedEvent object at 0x42dca30c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <OFS.event.ObjectWillBeRemovedEvent object at 0x42fdc0ec>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.container.contained.ObjectRemovedEvent object at 0x42dca0cc>),
    +  (<DDocument at some-document>,
    +   <OFS.event.ObjectWillBeAddedEvent object at 0x42dca16c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42b77fac>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42b772ac>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    +   <zope.app.container.contained.ObjectAddedEvent object at 0x42dca34c>),
    +  (<DDocument at /cmf/Members/test_user_1_/some-document>,
    -   <Products.Archetypes.event.WebDAVObjectEditedEvent object at ...>)]
    ?                                          ^^                    ^^^
    +   <Products.Archetypes.event.WebDAVObjectInitializedEvent object at 0x42b7778c>)]
    ?                                          ^^  +++++                  ^^^^^^^^^^
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 121, in events.txt
Failed example:
    print http(r"""
    MKCOL /%s/some-folder HTTP/1.1
    Authorization: Basic %s:%s
    """ % ('/'.join(self.folder.f1.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
    - HTTP/1.1 201 Created
    - ...
    + HTTP/1.1 500 Internal Server Error
    + Accept-Ranges: none
    + Connection: close
    + Content-Length: 1871
    + Content-Type: text/html; charset=utf-8
    + Date: Sat, 08 Nov 2008 05:51:20 GMT
    + <BLANKLINE>
    +   <h2>Site Error</h2>
    +   <p>An error was encountered while publishing this resource.
    +   </p>
    +   <p><strong>exceptions.AttributeError</strong></p>
    + <BLANKLINE>
    +   Sorry, a site error occurred.<p><p>Traceback (innermost last):
    + <ul>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Test, line 202, in publish_module</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 150, in publish</li>
    + <BLANKLINE>
    + <li>  Module Zope2.App.startup, line 260, in __call__</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 119, in publish</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.mapply, line 77, in mapply</li>
    + <BLANKLINE>
    + <li>  Module ZPublisher.Publish, line 42, in call_object</li>
    + <BLANKLINE>
    + <li>  Module webdav.NullResource, line 198, in MKCOL</li>
    + <BLANKLINE>
    + <li>  Module Products.Archetypes.BaseFolder, line 214, in MKCOL_handler</li>
    + <BLANKLINE>
    + <li>  Module zope.event, line 23, in notify</li>
    + <BLANKLINE>
    + <li>  Module zope.component.event, line 26, in dispatch</li>
    + <BLANKLINE>
    + <li>  Module zope.component._api, line 131, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.component.registry, line 300, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module zope.interface.adapter, line 535, in subscribers</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFEditions.utilities, line 92, in isObjectChanged</li>
    + <BLANKLINE>
    + <li>  Module Products.CMFCore.utils, line 125, in getToolByName</li>
    + <BLANKLINE>
    + </ul>AttributeError: portal_repository
    + </p></p>
    +   <hr noshade="noshade"/>
    + <BLANKLINE>
    +   <p>Troubleshooting Suggestions</p>
    + <BLANKLINE>
    +   <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>
    + <BLANKLINE>
    +   <p>For more detailed information about the error, please
    +   refer to the error log.
    +   </p>
    + <BLANKLINE>
    +   <p>If the error persists please contact the site maintainer.
    +   Thank you for your patience.
    +   </p>

/home/stefan/autotest/temp/python24-zope212/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test test_createObjectViaWebDAV (Products.Archetypes.tests.test_functional.TestFunctionalObjectCreation)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_functional.py", line 210, in test_createObjectViaWebDAV
    self.assertEqual(response.getStatus(), 201)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 500 != 201



Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt
Failed doctest test for folder_marshall.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/folder_marshall.txt", line 75, in folder_marshall.txt
Failed example:
    print http(r"""
    PUT /%s/simple_folder HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"
    Depth: 0

    description: Simple Folder Content
    """ % (portal_name, user_name, user_password))
Expected:
    HTTP/1.1 204 No Content
    ...
Got:
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Content-Length: 1805
    Content-Location: http://localhost/cmf/simple_folder/
    Content-Type: text/html; charset=utf-8
    Date: Sat, 08 Nov 2008 05:52:01 GMT
    <BLANKLINE>
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>exceptions.AttributeError</strong></p>
    <BLANKLINE>
      Sorry, a site error occurred.<p><p>Traceback (innermost last):
    <ul>
    <BLANKLINE>
    <li>  Module ZPublisher.Test, line 202, in publish_module</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 150, in publish</li>
    <BLANKLINE>
    <li>  Module Zope2.App.startup, line 260, in __call__</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 119, in publish</li>
    <BLANKLINE>
    <li>  Module ZPublisher.mapply, line 77, in mapply</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 42, in call_object</li>
    <BLANKLINE>
    <li>  Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
    <BLANKLINE>
    <li>  Module zope.event, line 23, in notify</li>
    <BLANKLINE>
    <li>  Module zope.component.event, line 26, in dispatch</li>
    <BLANKLINE>
    <li>  Module zope.component._api, line 131, in subscribers</li>
    <BLANKLINE>
    <li>  Module zope.component.registry, line 300, in subscribers</li>
    <BLANKLINE>
    <li>  Module zope.interface.adapter, line 535, in subscribers</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.utilities, line 92, in isObjectChanged</li>
    <BLANKLINE>
    <li>  Module Products.CMFCore.utils, line 125, in getToolByName</li>
    <BLANKLINE>
    </ul>AttributeError: portal_repository
    </p></p>
      <hr noshade="noshade"/>
    <BLANKLINE>
      <p>Troubleshooting Suggestions</p>
    <BLANKLINE>
      <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>
    <BLANKLINE>
      <p>For more detailed information about the error, please
      refer to the error log.
      </p>
    <BLANKLINE>
      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p>



Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt
Failed doctest test for traversal.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/traversal.txt", line 259, in traversal.txt
Failed example:
    print http(r"""
    PUT /%s/simple_folder/test_document HTTP/1.1
    Authorization: Basic %s:%s
    Content-Type: text/plain; charset="utf-8"
    Depth: 0

    Simple Folder Document Content
    """ % (portal_name, user_name, user_password))
Expected:
    HTTP/1.1 201 Created
    ...
Got:
    HTTP/1.1 500 Internal Server Error
    Accept-Ranges: none
    Connection: close
    Content-Length: 1862
    Content-Type: text/html; charset=utf-8
    Date: Sat, 08 Nov 2008 05:52:02 GMT
    <BLANKLINE>
      <h2>Site Error</h2>
      <p>An error was encountered while publishing this resource.
      </p>
      <p><strong>exceptions.AttributeError</strong></p>
    <BLANKLINE>
      Sorry, a site error occurred.<p><p>Traceback (innermost last):
    <ul>
    <BLANKLINE>
    <li>  Module ZPublisher.Test, line 202, in publish_module</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 150, in publish</li>
    <BLANKLINE>
    <li>  Module Zope2.App.startup, line 260, in __call__</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 119, in publish</li>
    <BLANKLINE>
    <li>  Module ZPublisher.mapply, line 77, in mapply</li>
    <BLANKLINE>
    <li>  Module ZPublisher.Publish, line 42, in call_object</li>
    <BLANKLINE>
    <li>  Module webdav.NullResource, line 164, in PUT</li>
    <BLANKLINE>
    <li>  Module Products.Archetypes.WebDAVSupport, line 131, in PUT</li>
    <BLANKLINE>
    <li>  Module zope.event, line 23, in notify</li>
    <BLANKLINE>
    <li>  Module zope.component.event, line 26, in dispatch</li>
    <BLANKLINE>
    <li>  Module zope.component._api, line 131, in subscribers</li>
    <BLANKLINE>
    <li>  Module zope.component.registry, line 300, in subscribers</li>
    <BLANKLINE>
    <li>  Module zope.interface.adapter, line 535, in subscribers</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.subscriber, line 44, in webdavObjectInitialized</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.subscriber, line 33, in webdavObjectEventHandler</li>
    <BLANKLINE>
    <li>  Module Products.CMFEditions.utilities, line 92, in isObjectChanged</li>
    <BLANKLINE>
    <li>  Module Products.CMFCore.utils, line 125, in getToolByName</li>
    <BLANKLINE>
    </ul>AttributeError: portal_repository
    </p></p>
      <hr noshade="noshade"/>
    <BLANKLINE>
      <p>Troubleshooting Suggestions</p>
    <BLANKLINE>
      <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>
    <BLANKLINE>
      <p>For more detailed information about the error, please
      refer to the error log.
      </p>
    <BLANKLINE>
      <p>If the error persists please contact the site maintainer.
      Thank you for your patience.
      </p>



Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt
Failed doctest test for reindex_sanity.txt
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/reindex_sanity.txt", line 89, in reindex_sanity.txt
Failed example:
    _ = self.folder.invokeFactory(type_name='DDocument',
                                  id='new_doc1')
Expected:
    Catalog:  uid_catalog
    Indexing: Members/test_user_1_/new_doc1 []
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 None
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 []
    ------------------------------------------------------------
    Catalog:  uid_catalog
    Indexing: Members/test_user_1_/new_doc1 []
    ------------------------------------------------------------
Got:
    Catalog:  uid_catalog
    Indexing: Members/test_user_1_/new_doc1 []
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 None
    ------------------------------------------------------------
    Catalog:  uid_catalog
    Indexing: Members/test_user_1_/new_doc1 []
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
    ------------------------------------------------------------
    Catalog:  portal_catalog
    Indexing: /cmf/Members/test_user_1_/new_doc1 None
    ------------------------------------------------------------



Error in test test_fileFieldObjectWordReplace (Products.Archetypes.tests.test_marshaller.MarshallerTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_marshaller.py", line 97, in test_fileFieldObjectWordReplace
    word.PUT(request, request.RESPONSE)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/WebDAVSupport.py", line 131, in PUT
    event.notify(WebDAVObjectInitializedEvent(self))
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 131, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 300, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.interface-3.5.0-py2.4-linux-i686.egg/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 44, in webdavObjectInitialized
    return webdavObjectEventHandler(event, comment='Initial revision')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 33, in webdavObjectEventHandler
    changed = isObjectChanged(obj)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/utilities.py", line 92, in isObjectChanged
    pr = getToolByName(obj, 'portal_repository')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/utils.py", line 125, in getToolByName
    raise AttributeError, name
AttributeError: portal_repository



Error in test test_textFieldObjectRSTreplace (Products.Archetypes.tests.test_marshaller.MarshallerTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_marshaller.py", line 79, in test_textFieldObjectRSTreplace
    rst.PUT(request, request.RESPONSE)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/WebDAVSupport.py", line 131, in PUT
    event.notify(WebDAVObjectInitializedEvent(self))
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/_api.py", line 131, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.component-3.5.1-py2.4.egg/zope/component/registry.py", line 300, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.interface-3.5.0-py2.4-linux-i686.egg/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 44, in webdavObjectInitialized
    return webdavObjectEventHandler(event, comment='Initial revision')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/subscriber.py", line 33, in webdavObjectEventHandler
    changed = isObjectChanged(obj)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFEditions/Products/CMFEditions/utilities.py", line 92, in isObjectChanged
    pr = getToolByName(obj, 'portal_repository')
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/utils.py", line 125, in getToolByName
    raise AttributeError, name
AttributeError: portal_repository



Failure in test test_recursive (Products.Archetypes.tests.test_rename.RenameTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_rename.py", line 159, in test_recursive
    self.assertEquals(ADD_COUNTER.get(uid), 1)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 2 != 1



Failure in test test_rename (Products.Archetypes.tests.test_rename.RenameTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_rename.py", line 140, in test_rename
    self.assertEquals(ADD_COUNTER.get(uid), 2)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 3 != 2



Error in test test_7580 (Products.Archetypes.tests.test_validation.TestValidationViaBrowser)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_validation.py", line 106, in test_7580
    validationConfig.register(DummyValidator('runDummy', title='', description=''))
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.validation/Products/validation/service.py", line 33, in register
    raise FalseValidatorError, validator
FalseValidatorError: <Products.Archetypes.tests.test_validation.DummyValidator instance at 0x43440eec>

  Ran 496 tests with 7 failures and 5 errors in 1 minutes 35.766 seconds.
Tearing down left over layers:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.180 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.010 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 588 tests, 7 failures, 5 errors in 1 minutes 53.234 seconds.

FAILED (failures=7, errors=5)




More information about the Testbot mailing list