{"action":"created","issue":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1291","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1291/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1291/comments","events_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1291/events","html_url":"https://github.com/plone/Products.CMFPlone/issues/1291","id":122939439,"number":1291,"title":"AttributeError: thumb_visibility after upgrading to Plone 5.0.1","user":{"login":"tomgross","id":339384,"avatar_url":"https://avatars.githubusercontent.com/u/339384?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgross","html_url":"https://github.com/tomgross","followers_url":"https://api.github.com/users/tomgross/followers","following_url":"https://api.github.com/users/tomgross/following{/other_user}","gists_url":"https://api.github.com/users/tomgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgross/subscriptions","organizations_url":"https://api.github.com/users/tomgross/orgs","repos_url":"https://api.github.com/users/tomgross/repos","events_url":"https://api.github.com/users/tomgross/events{/privacy}","received_events_url":"https://api.github.com/users/tomgross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/milestones/7","html_url":"https://github.com/plone/Products.CMFPlone/milestones/Plone%205.0.1","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/milestones/7/labels","id":1417773,"number":7,"title":"Plone 5.0.1","description":"","creator":{"login":"gforcada","id":1155680,"avatar_url":"https://avatars.githubusercontent.com/u/1155680?v=3","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-11-18T12:54:42Z","updated_at":"2015-12-18T12:19:18Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-18T12:19:14Z","updated_at":"2015-12-21T11:19:48Z","closed_at":null,"body":"After upgrading to Plone 5.0.1 from Plone 5.0 I got the following error:\r\n\r\n```\r\n2015-12-18 13:15:22 ERROR root Exception while rendering an error message\r\nTraceback (most recent call last):\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/OFS/SimpleItem.py\", line 242, in raise_standardErrorMessage\r\n    v = s(**kwargs)\r\n  File \"/home/vagrant/Eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSPythonScript.py\", line 127, in __call__\r\n    return Script.__call__(self, *args, **kw)\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py\", line 322, in __call__\r\n    return self._bindAndExec(args, kw, None)\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py\", line 359, in _bindAndExec\r\n    return self._exec(bound_data, args, kw)\r\n  File \"/home/vagrant/Eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py\", line 344, in _exec\r\n    result = f(*args, **kw)\r\n  File \"Script (Python)\", line 35, in standard_error_message\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py\", line 322, in __call__\r\n    return self._bindAndExec(args, kw, None)\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py\", line 359, in _bindAndExec\r\n    return self._exec(bound_data, args, kw)\r\n  File \"/home/vagrant/Eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSPageTemplate.py\", line 237, in _exec\r\n    result = self.pt_render(extra_context=bound_names)\r\n  File \"/home/vagrant/Eggs/Products.CMFCore-2.2.10-py2.7.egg/Products/CMFCore/FSPageTemplate.py\", line 177, in pt_render\r\n    self, source, extra_context\r\n  File \"/home/vagrant/Eggs/Zope2-2.13.23-py2.7.egg/Products/PageTemplates/PageTemplate.py\", line 87, in pt_render\r\n    showtal=showtal)\r\n  File \"/home/vagrant/Eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py\", line 132, in pt_render\r\n    strictinsert=0, sourceAnnotations=sourceAnnotations\r\n  File \"/home/vagrant/Eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py\", line 93, in __call__\r\n    return self.template.render(**kwargs)\r\n  File \"/home/vagrant/Eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py\", line 163, in render\r\n    return base_renderer(**context)\r\n  File \"/home/vagrant/Eggs/Chameleon-2.22-py2.7.egg/chameleon/zpt/template.py\", line 258, in render\r\n    return super(PageTemplate, self).render(**vars)\r\n  File \"/home/vagrant/Eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py\", line 191, in render\r\n    raise_with_traceback(exc, tb)\r\n  File \"/home/vagrant/Eggs/Chameleon-2.22-py2.7.egg/chameleon/template.py\", line 171, in render\r\n    self._render(stream, econtext, rcontext)\r\n  File \"0fedb7d6ab68446c2aa6a59e9fd8839f.py\", line 1492, in render\r\n  File \"4e19bb3092c054d49cbb6c01a7228415.py\", line 971, in render_master\r\n  File \"/home/vagrant/Eggs/plone.app.layout-2.5.17-py2.7.egg/plone/app/layout/globals/layout.py\", line 201, in bodyClass\r\n    if self.thumb_visible():\r\n  File \"/home/vagrant/Eggs/plone.memoize-1.1.1-py2.7.egg/plone/memoize/view.py\", line 47, in memogetter\r\n    value = cache[key] = func(*args, **kwargs)\r\n  File \"/home/vagrant/Eggs/plone.app.layout-2.5.17-py2.7.egg/plone/app/layout/globals/layout.py\", line 110, in thumb_visible\r\n    thumb_visibility = settings.thumb_visibility\r\n  File \"/home/vagrant/Eggs/plone.registry-1.0.2-py2.7.egg/plone/registry/recordsproxy.py\", line 33, in __getattr__\r\n    raise AttributeError(name)\r\nAttributeError: thumb_visibility\r\n\r\n - Expression: \"python:plone_layout.bodyClass(template, view)\"\r\n - Filename:   ... egg/Products/CMFPlone/browser/templates/main_template.pt\r\n - Location:   (line 45: col 28)\r\n - Source:     ... e=\"isRTL portal_state/is_rtl;\r\n                              ^\r\n - Arguments:  repeat: {...} (0)\r\n               template: <ImplicitAcquisitionWrapper default_error_message at 0x7f015da7c4b0>\r\n               modules: <instance - at 0x7f016ad92050>\r\n               here: <ImplicitAcquisitionWrapper Plone at 0x7f015e106500>\r\n               user: <SpecialUser - at 0x7f0165573750>\r\n               nothing: <NoneType - at 0x7f0177167920>\r\n               container: <ImplicitAcquisitionWrapper Plone at 0x7f015e106500>\r\n               default: <object - at 0x7f017733f4f0>\r\n               request: <instance - at 0x7f0152e0fd88>\r\n               wrapped_repeat: <SafeMapping - at 0x7f015e6020a8>\r\n               traverse_subpath: <list - at 0x7f0152d20d88>\r\n               loop: {...} (0)\r\n               context: <ImplicitAcquisitionWrapper Plone at 0x7f015e106500>\r\n               translate: <function translate at 0x7f0152b25ed8>\r\n               root: <ImplicitAcquisitionWrapper Zope at 0x7f015e1e1aa0>\r\n               options: {...} (9)\r\n               target_language: de\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/comments/166275022","html_url":"https://github.com/plone/Products.CMFPlone/issues/1291#issuecomment-166275022","issue_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/1291","id":166275022,"user":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T11:19:48Z","updated_at":"2015-12-21T11:19:48Z","body":"It also points to Products.CMFPlone 5.0 instead of 5.0.1. I think @esteele is busy with that."}}