[Testbot] FAILED (errors=1) : ATCT-1.2 Plone-3.1 Zope-2.10 Python-2.4.4

ATContentTypes Tests plone-tests at epy.co.at
Wed Mar 12 06:05:10 UTC 2008


ATContentTypes Tests : FAILED (errors=1)
ATCT-1.2 Plone-3.1 Zope-2.10 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q -1 --config-file etc/zope.conf --package Products.ATContentTypes
Installing CMFCore ... done (0.055s)
Installing CMFDefault ... done (0.048s)
Installing CMFCalendar ... done (0.135s)
Installing CMFTopic ... done (0.062s)
Installing DCWorkflow ... done (0.118s)
Installing CMFActionIcons ... done (0.074s)
Installing CMFQuickInstallerTool ... done (0.154s)
Installing CMFFormController ... done (0.908s)
Installing GroupUserFolder ... done (0.751s)
Installing ZCTextIndex ... done (0.081s)
Installing CMFPlone ... done (2.986s)
Installing Archetypes ... done (0.231s)
Installing ATContentTypes ... done (0.072s)
Installing ATReferenceBrowserWidget ... done (0.029s)
Installing CMFDynamicViewFTI ... done (0.025s)
Installing ExternalEditor ... done (0.039s)
Installing ExtendedPathIndex ... done (0.053s)
Installing ResourceRegistries ... done (0.034s)
Installing SecureMailHost ... done (0.032s)
Installing CMFPlacefulWorkflow ... done (0.109s)
Installing PasswordResetTool ... done (0.043s)
Installing PluggableAuthService ... done (0.098s)
Installing PluginRegistry ... done (0.044s)
Installing PlonePAS ... done (0.038s)
Installing kupu ... done (0.940s)
Installing CMFEditions ... done (0.065s)
Installing CMFDiffTool ... done (0.040s)
Installing PloneLanguageTool ... done (0.046s)
Installing SiteAccess ... done (0.033s)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/etc/zope.conf
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.ZCML in 9.596 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 16.676 seconds.


Error in test test_setLayoutUnsetsDefaultPage (Products.ATContentTypes.tests.test_browserdefaultmixin.TestBrowserDefaultMixin)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/ATContentTypes/tests/test_browserdefaultmixin.py", line 138, in test_setLayoutUnsetsDefaultPage
    resolved = self.af.unrestrictedTraverse(layout)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
    return self._bindAndExec(args, kw, None)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/PageTemplate.py", line 89, in pt_render
    return super(PageTemplate, self).pt_render(c, source=source)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/pagetemplate/pagetemplate.py", line 117, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
    self.interpret(slot)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
    self.interpret(block)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
    self.interpret(macro)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 153, in _eval
    ob = self._subexprs[-1](econtext)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 124, in _eval
    ob = self._traverser(ob, element, econtext)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 83, in boboAwareZopeTraverse
    request=request)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/traversing/adapters.py", line 164, in traversePathElement
    return traversable.traverse(nm, further_path)
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/traversing/adapters.py", line 49, in traverse
    return subject[name]
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/ZCatalog/Lazy.py", line 144, in __getitem__
    except AttributeError: return data[index]
TypeError: list indices must be integers

  Ran 801 tests with 0 failures and 1 errors in 373.952 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.700 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.019 seconds.

FAILED (errors=1)




More information about the Testbot mailing list