You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2014/01/06 04:19:32 UTC

Re: [Apache Bloodhound] #564: Inconsistencies in dashboard widgets

#564: Inconsistencies in dashboard widgets
-------------------------+-------------------------------------------------
  Reporter:  olemis      |      Owner:  rjollos
      Type:  defect      |     Status:  review
  Priority:  major       |  Milestone:  Release 8
 Component:  dashboard   |    Version:
Resolution:              |   Keywords:  version, component, milestone,
                         |  widgets
-------------------------+-------------------------------------------------

Comment (by olemis):

 As reported by ogaerick in comment:12:ticket:688 , the following error was
 logged by timeline widget when accessing /dashboard page after applying
 patches on top of r1554007


 [[span(Log entry, class=label label-important)]]
 {{{
 2014-01-05 22:01:45,792 Trac[web_ui] ERROR: -
 10e44756-1591-48c4-8a65-a76f276deb6f - Error rendering widget Timeline
 with options {'args': {}}
 }}}

 [[span(Traceback, class=label label-important)]]
 {{{#!py
 Traceback (most recent call last):
   File "/path/to/bloodhound/bloodhound_dashboard/bhdashboard/web_ui.py",
 line 269, in _render_widget
     return wp.render_widget(name, ctx, options)
   File "/path/to/bloodhound/bloodhound_dashboard/bhdashboard/util.py",
 line 132, in widget_name_checker
     return f(self, name, *args, **kwargs)
   File
 "/path/to/bloodhound/bloodhound_dashboard/bhdashboard/widgets/timeline.py",
 line 167, in render_widget
     timemdl = _env[TimelineModule]
 UnboundLocalError: local variable '_env' referenced before assignment
 }}}

 I've updated the corresponding
 [attachment:t564_r1545220_product_dashb_timeline.diff patch] in spite of
 fixing this

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/564#comment:9>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker