[Testbot] Plone 5.0 - Python 2.7 - Build # 215 - Failure!

jenkins at plone.org jenkins at plone.org
Sun Mar 8 00:53:29 UTC 2015


Plone 5.0 - Python 2.7 - Build # 215 - Failure:

Check console output at http://jenkins.plone.org/job/plone-5.0-python-2.7/215/ to view the results.

Changes:

[Johannes Raggam] [fc] Repository: plone.app.contenttypes







Test Results:

2 tests failed.
FAILED:  plone.app.contenttypes.tests.test_collection.PloneAppCollectionViewsIntegrationTest.test_collection_album_view

Error Message:
'instancemethod' object has no attribute '__getitem__'

Stack Trace:
'instancemethod' object has no attribute '__getitem__'

 - Expression: "view/album_images"
 - Filename:   ... lone/app/contenttypes/browser/templates/listing_album.pt
 - Location:   (12:23)
 - Source:     tal:define="images view/album_images;
                                  ^^^^^^^^^^^^^^^^^
 - Arguments:  repeat: {...} (0)
               template: <ViewPageTemplateFile - at 0x7f25bdf31fd0>
               views: <ViewMapper - at 0x7f25bc41c790>
               modules: <instance - at 0x7f25c89a6ab8>
               args: <tuple - at 0x7f25d003b050>
               here: <ImplicitAcquisitionWrapper collection1 at 0x7f25c0440f00>
               user: <ImplicitAcquisitionWrapper - at 0x7f25c02ac690>
               nothing: <NoneType - at 0x920190>
               container: <ImplicitAcquisitionWrapper collection1 at 0x7f25c0440f00>
               request: <instance - at 0x7f25c85292d8>
               wrapped_repeat: <SafeMapping - at 0x7f25bc049418>
               traverse_subpath: <list - at 0x7f25beb18ef0>
               default: <object - at 0x7f25cff55400>
               loop: {...} (0)
               context: <ImplicitAcquisitionWrapper collection1 at 0x7f25c0440f00>
               view: <SimpleViewClass from /home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/browser/templates/listing_album.pt album_view at 0x7f25bcdecc50>
               translate: <function translate at 0x7f25beb73b90>
               root: <ImplicitAcquisitionWrapper Zope at 0x7f25bcd347d0>
               options: {...} (0)
               target_language: <NoneType - at 0x920190>

  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/tests/test_collection.py", line 174, in test_collection_album_view
    self.assertTrue(view())
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/metaconfigure.py", line 479, in __call__
    return self.index(*args, **kw)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/engine.py", line 93, in __call__
    return self.template.render(**kwargs)
  File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
    return base_renderer(**context)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/zpt/template.py", line 257, in render
    return super(PageTemplate, self).render(**vars)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/template.py", line 190, in render
    raise_with_traceback(exc, tb)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/template.py", line 172, in render
    self._render(stream, econtext, rcontext)
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 908, in render
  File "3bc306048d76b58c6dac1aa3b1cac13c5b600661.py", line 1381, in render_master
  File "3bc306048d76b58c6dac1aa3b1cac13c5b600661.py", line 427, in render_content
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 896, in __fill_content_core
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 108, in render_content_core
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/expressions.py", line 154, in __call__
    base = self.traverse(base, request, path_items)
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/expressions.py", line 126, in traverse
    base, name, path_items[i:], request=request
  File "/home/jenkins/.buildout/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py", line 136, in traversePathElement
    return traversable.traverse(nm, further_path)
  File "/home/jenkins/.buildout/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py", line 42, in traverse
    attr = getattr(subject, name, _marker)
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/browser/collection.py", line 61, in album_images
    return self._album_results['images']


FAILED:  plone.app.contenttypes.tests.test_collection.PloneAppCollectionViewsIntegrationTest.test_collection_templates

Error Message:
'instancemethod' object has no attribute '__getitem__'

Stack Trace:
'instancemethod' object has no attribute '__getitem__'

 - Expression: "view/album_images"
 - Filename:   ... lone/app/contenttypes/browser/templates/listing_album.pt
 - Location:   (12:23)
 - Source:     tal:define="images view/album_images;
                                  ^^^^^^^^^^^^^^^^^
 - Arguments:  repeat: {...} (0)
               template: <ViewPageTemplateFile - at 0x7f25bdf31fd0>
               views: <ViewMapper - at 0x7f25bbd326d0>
               modules: <instance - at 0x7f25c89a6ab8>
               args: <tuple - at 0x7f25d003b050>
               here: <ImplicitAcquisitionWrapper collection at 0x7f25bef28e10>
               user: <ImplicitAcquisitionWrapper - at 0x7f25bef28c80>
               nothing: <NoneType - at 0x920190>
               container: <ImplicitAcquisitionWrapper collection at 0x7f25bef28e10>
               request: <instance - at 0x7f25bf0a9a28>
               wrapped_repeat: <SafeMapping - at 0x7f25bed1ecb0>
               traverse_subpath: <list - at 0x7f25bc211518>
               default: <object - at 0x7f25cff55400>
               loop: {...} (0)
               context: <ImplicitAcquisitionWrapper collection at 0x7f25bef28e10>
               view: <SimpleViewClass from /home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/browser/templates/listing_album.pt album_view at 0x7f25bc4373d0>
               translate: <function translate at 0x7f25bc325398>
               root: <ImplicitAcquisitionWrapper Zope at 0x7f25bbd3e370>
               options: {...} (0)
               target_language: <NoneType - at 0x920190>

  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/tests/test_collection.py", line 261, in test_collection_templates
    browser.open('%s/@@album_view' % url)
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 240, in open
    self.mech_browser.open(url, data)
  File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
    return self._mech_open(url, data, timeout=timeout)
  File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
    response = UserAgentBase.open(self, request, data)
  File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
    response = urlopen(self, req, data)
  File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
    '_open', req)
  File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
    result = func(*args)
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 66, in http_open
    return self.do_open(connectionFactory, req)
  File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
    self.response = self.caller(request_string, handle_errors)
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 124, in wrapped_func
    return func(*args, **kw)
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 220, in __call__
    debug=not handle_errors,
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
    response = publish(request, module_name, after_list, debug=debug)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 138, in publish
    request, bind=1)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
    if debug is not None: return debug(object,args,context)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/metaconfigure.py", line 479, in __call__
    return self.index(*args, **kw)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/jenkins/.buildout/eggs/Zope2-2.13.22-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/engine.py", line 93, in __call__
    return self.template.render(**kwargs)
  File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
    return base_renderer(**context)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/zpt/template.py", line 257, in render
    return super(PageTemplate, self).render(**vars)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/template.py", line 190, in render
    raise_with_traceback(exc, tb)
  File "/home/jenkins/.buildout/eggs/Chameleon-2.11-py2.7.egg/chameleon/template.py", line 172, in render
    self._render(stream, econtext, rcontext)
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 908, in render
  File "3bc306048d76b58c6dac1aa3b1cac13c5b600661.py", line 1381, in render_master
  File "3bc306048d76b58c6dac1aa3b1cac13c5b600661.py", line 427, in render_content
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 896, in __fill_content_core
  File "f76f53b928812b2faccb8e307ae7ae46fa68aafc.py", line 108, in render_content_core
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/expressions.py", line 154, in __call__
    base = self.traverse(base, request, path_items)
  File "/home/jenkins/.buildout/eggs/five.pt-2.2.2-py2.7.egg/five/pt/expressions.py", line 126, in traverse
    base, name, path_items[i:], request=request
  File "/home/jenkins/.buildout/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py", line 136, in traversePathElement
    return traversable.traverse(nm, further_path)
  File "/home/jenkins/.buildout/eggs/zope.traversing-3.13.2-py2.7.egg/zope/traversing/adapters.py", line 42, in traverse
    attr = getattr(subject, name, _marker)
  File "/home/jenkins/workspace/plone-5.0-python-2.7 at 2/src/plone.app.contenttypes/plone/app/contenttypes/browser/collection.py", line 61, in album_images
    return self._album_results['images']





More information about the Testbot mailing list