Skip to content

Instantly share code, notes, and snippets.

@jone
Created December 12, 2017 17:33
Show Gist options
  • Save jone/09eb072165921f6c5fb6fa82f8001cca to your computer and use it in GitHub Desktop.
Save jone/09eb072165921f6c5fb6fa82f8001cca to your computer and use it in GitHub Desktop.
2017-12-12T15:07:46 ERROR plone.app.viewletmanager rendering of plone.htmlhead.links in plone.links.RSS fails: 'dict' object is not callable
- Expression: "view/rsslinks"
- Filename: ... ayout-2.3.12-py2.7.egg/plone/app/layout/links/rsslink.pt
- Location: (line 1: col 28)
- Source: ... tal:feeds tal:repeat="link view/rsslinks">
^^^^^^^^^^^^^
- Arguments: repeat: {...} (0)
template: <ViewPageTemplateFile - at 0x7f6925ce4e10>
views: <ViewMapper - at 0x7f6919a99790>
modules: <instance - at 0x7f695b967b90>
args: <tuple - at 0x7f69683d4050>
here: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
user: <ImplicitAcquisitionWrapper - at 0x7f69203134b0>
nothing: <NoneType - at 0x7ad050>
container: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
request: <instance - at 0x7f69232243b0>
wrapped_repeat: <SafeMapping - at 0x7f6919156d08>
traverse_subpath: <list - at 0x7f6913ce2d40>
default: <object - at 0x7f69683aaba0>
loop: {...} (0)
context: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
view: <RSSViewlet plone.links.RSS at 0x7f691cee56d0>
translate: <function translate at 0x7f692c755b18>
root: <ImplicitAcquisitionWrapper Zope at 0x7f6922c5ae10>
options: {...} (0)
target_language: de
Traceback (most recent call last):
File "/home/zope/eggs/plone.app.viewletmanager-2.0.6-py2.7.egg/plone/app/viewletmanager/manager.py", line 105, in render
html.append(viewlet.render())
File "/home/zope/eggs/plone.app.layout-2.3.12-py2.7.egg/plone/app/layout/viewlets/common.py", line 50, in render
return self.index()
File "/home/zope/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/zope/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/zope/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/home/zope/eggs/five.pt-2.2.4-py2.7.egg/five/pt/engine.py", line 98, in __call__
return self.template.render(**kwargs)
File "/home/zope/eggs/z3c.pt-3.0-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/home/zope/eggs/Chameleon-2.25-py2.7.egg/chameleon/zpt/template.py", line 261, in render
return super(PageTemplate, self).render(**vars)
File "/home/zope/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/home/zope/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "/home/zope/......../var/chameleon-cache/a302fc11790624b3d8db763dfa2b251f.py", line 89, in render
__iterator = _static_140420322122128(getitem('view'), econtext, True, ('rsslinks', ))
TypeError: 'dict' object is not callable
- Expression: "view/rsslinks"
- Filename: ... ayout-2.3.12-py2.7.egg/plone/app/layout/links/rsslink.pt
- Location: (line 1: col 28)
- Source: ... tal:feeds tal:repeat="link view/rsslinks">
^^^^^^^^^^^^^
- Arguments: repeat: {...} (0)
template: <ViewPageTemplateFile - at 0x7f6925ce4e10>
views: <ViewMapper - at 0x7f6919a99790>
modules: <instance - at 0x7f695b967b90>
args: <tuple - at 0x7f69683d4050>
here: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
user: <ImplicitAcquisitionWrapper - at 0x7f69203134b0>
nothing: <NoneType - at 0x7ad050>
container: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
request: <instance - at 0x7f69232243b0>
wrapped_repeat: <SafeMapping - at 0x7f6919156d08>
traverse_subpath: <list - at 0x7f6913ce2d40>
default: <object - at 0x7f69683aaba0>
loop: {...} (0)
context: <ImplicitAcquisitionWrapper oevfahrplan at 0x7f6919ab5050>
view: <RSSViewlet plone.links.RSS at 0x7f691cee56d0>
translate: <function translate at 0x7f692c755b18>
root: <ImplicitAcquisitionWrapper Zope at 0x7f6922c5ae10>
options: {...} (0)
target_language: de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment