KeyError: 'view_method' with slides.html
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva dLCMS |
In Progress
|
High
|
Jasper Op de Coul | ||
Bug Description
I created a dLCMS Learning Unit (id is "lu") and inside I added two dLCMS Slides ("slide1" and "slide2"). The slides.html view works as expected, but Zope's console window prints KeyError: 'view_method', see below. Is this ok or should this be fixed? (Silva dLCMS 1.6, Zope 2.8.5-final, python 2.3.5, win32)
2007-05-25 14:52:41 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File "E:\prog\
v = s(**kwargs)
File "E:\prog\
return self._bindAndEx
File "E:\prog\
return self._exec(
File "E:\prog\
result = self.pt_
File "E:\prog\
tal=not source, strictinsert=0)()
File "E:\prog\
self.
File "E:\prog\
handlers[
File "E:\prog\
self.
File "E:\prog\
return self.no_tag(start, program)
File "E:\prog\
self.
File "E:\prog\
handlers[
File "E:\prog\
self.
File "E:\prog\
handlers[
File "E:\prog\
self.
File "E:\prog\
return self.no_tag(start, program)
File "E:\prog\
self.
File "E:\prog\
handlers[
File "E:\prog\
self.
File "E:\prog\
handlers[
File "E:\prog\
self.
File "E:\prog\
return expression(self)
File "E:\prog\
return self._eval(
File "E:\prog\
ob = self._subexprs[
File "E:\prog\
ob = restrictedTrave
File "E:\prog\
o = object[name]
KeyError: 'view_method'
Changed in dlcms: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in dlcms: | |
assignee: | nobody → jasper-infrae |
Changed in dlcms: | |
status: | Confirmed → In Progress |
Hmm, I can not reproduce this with the following setup:
Silva: svn 1.6 branch
SilvaLayout: svn 1.6 branch
SilvaDLCMS: svn trunk
SilvaDLCMSLayout: svn trunk
using the dLCMSNavigation skin, or the default skin.
Also tested without SilvaLayout and SilvaDLCMSLayout.
Judging from the traceback, this is happening somewhere in a pagetemplate. It's strange that
the error is not shown in the browser, this probably has to do with the line:
"ERROR root Exception while rendering an error message"
Which suggests that the error occurs while rendering an error.
Which versions are you using, is my setup correct?