cubicweb-forge #343430 TicketBurndownView error while accessing Version [resolved]

When a Version is just created and no tickets is related to it, trying to view an empty Version returns an error:

2009-05-26 11:10:31 - (cubicweb.web) ERROR: NoSelectableObject('args: (<cubicweb.etwist.request.CubicWebTwistedRequestAdapter object at 0x4715a50>, <empty resultset for 'Any X,CD,L,LL where X load L, X load_left LL, X creation_date CD, X done_in V, V eid 21044'>)nkwargs: ['width', 'w', 'height'] ["<class 'cubes.forge.views.figures.TicketBurndownView'>"]',) Traceback (most recent call last):

ReST / HTML errors:System Message: ERROR/3 (&lt;string&gt; , line 5)</p>
Unexpected indentation.
File "/home/sandrine/src/cubicweb/cubicweb/web/application.py", line 320, in main_publish
result = controller.publish(rset=rset)
File "/home/sandrine/src/cubicweb/cubicweb/web/views/basecontrollers.py", line 110, in publish
return self.vreg.main_template(self.req, template, rset=rset, view=view)
File "/home/sandrine/src/cubicweb/cubicweb/cwvreg.py", line 208, in main_template

res = self.render('views', oid, req, **context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 10); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/cwvreg.py", line 201, in render

return selected.render(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 12); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 14); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/web/views/basetemplates.py", line 123, in call
view.render(w=w)
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 18); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 173, in call

self.wview(self.id, rset, row=i, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 20); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 212, in wview

self.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 22); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/appobject.py", line 197, in view

return view.render(**kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 24); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 26); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/web/views/primary.py", line 42, in cell_call
self.render_entity(self.complete_entity(row, col))
File "/home/sandrine/src/cubicweb/cubicweb/web/views/primary.py", line 82, in render_entity
self.content_navigation_components('navcontentbottom')
File "/home/sandrine/src/cubicweb/cubicweb/web/views/primary.py", line 91, in content_navigation_components
comp.render(w=self.w, row=self.row, view=self)
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 148, in render

view_func(**context)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 34); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubes/forge/views/sections.py", line 229, in cell_call
self.wview('burndown_chart', tickets_rset, width=800, height=500)
File "/home/sandrine/src/cubicweb/cubicweb/view.py", line 212, in wview

self.view(__vid, rset, __fallback_vid, w=self.w, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 38); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/appobject.py", line 192, in view

view = self.vreg.select_view(__vid, self.req, rset, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 40); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/cwvreg.py", line 275, in select_view

return self.select(views, req, rset, **kwargs)

ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 42); <em>backlink</em></p>
Inline strong start-string without end-string.
File "/home/sandrine/src/cubicweb/cubicweb/vregistry.py", line 285, in select
[repr(v) for v in vobjects]))
ReST / HTML errors:System Message: WARNING/2 (&lt;string&gt; , line 45)</p>
Block quote ends without a blank line; unexpected unindent.

NoSelectableObject: args: (<cubicweb.etwist.request.CubicWebTwistedRequestAdapter object at 0x4715a50>, <empty resultset for 'Any X,CD,L,LL where X load L, X load_left LL, X creation_date CD, X done_in V, V eid 21044'>) kwargs: ['width', 'w', 'height'] ["<class 'cubes.forge.views.figures.TicketBurndownView'>"]

prioritynormal
typebug
done in1.0.0
load0.500
load left0.000
closed by<not specified>