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 <bl...@incubator.apache.org> on 2012/10/16 22:14:52 UTC

[Apache Bloodhound] #239: update of trunk/trac leaves errors in dashboard widgets

#239: update of trunk/trac leaves errors in dashboard widgets
-----------------------+--------------------
 Reporter:  gjm        |      Owner:  nobody
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  dashboard  |    Version:
 Keywords:             |
-----------------------+--------------------
 errors of form:
 {{{
 2012-10-16 20:54:03,386 Trac[web_ui] ERROR: - a153132c-108d-414a-91ae-
 ecf4acc81a21 - Error rendering widget TicketQuery with options {'args':
 {'max': 10, 'title': 'Active Tickets', 'query':
 'status=!closed&group=time&col=id&col=summary&col=owner&col=status&col=priority&order=pri
 ority&groupdesc=1&desc=1'}}
 Traceback (most recent call last):
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/bloodhound_dashboard/bhdashboard/web_ui.py"
 , line 244, in _render_widget
     return wp.render_widget(name, ctx, options)
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/bloodhound_dashboard/bhdashboard/util.py",
 line 130, in widget_name_checker
     return f(self, name, *args, **kwargs)
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/bloodhound_dashboard/bhdashboard/widgets/qu
 ery.py", line 97, in render_widget
     data = qrymdl.process_request(fakereq)[1]
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/trac/trac/ticket/query.py",
 line 965, in process_request
     return self.display_html(req, query)
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/trac/trac/ticket/query.py",
 line 1132, in display_html
     Chrome(self.env).add_jquery_ui(req)
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/trac/trac/web/chrome.py",
 line 1103, in add_jquery_ui
     is_iso8601 = req.lc_time == 'iso8601'
   File
 "/home/bloodhound/projects/bloodhound_merge/trunk/trac/trac/web/api.py",
 line 307, in __getattr__
     raise AttributeError(name)
 }}}

 leaving various widgets displaying errors. The following looks like it
 will fix the error:

 {{{
 #!diff
 Index: bhdashboard/util.py
 ===================================================================
 --- bhdashboard/util.py (revision 1398888)
 +++ bhdashboard/util.py (working copy)
 @@ -62,6 +62,7 @@
          'authname': rd.authenticate,
          'chrome': chrome.prepare_request,
          'hdf': getattr(rd, '_get_hdf', None),
 +        'lc_time': rd._get_lc_time,
          'locale' : getattr(rd, '_get_locale', None),
          'perm': rd._get_perm,
          'session': rd._get_session,
 }}}

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/239>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #239: update of trunk/trac leaves errors in dashboard widgets

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#239: update of trunk/trac leaves errors in dashboard widgets
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:  Release 3
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * milestone:   => Release 3


-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/239#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #239: update of trunk/trac leaves errors in dashboard widgets

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#239: update of trunk/trac leaves errors in dashboard widgets
------------------------+-----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  closed
  Priority:  major      |  Milestone:  Release 3
 Component:  dashboard  |    Version:
Resolution:  fixed      |   Keywords:
------------------------+-----------------------
Changes (by gjm):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 wondering why this is still open. No further related issues noted so
 closing.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/239#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Re: [Apache Bloodhound] #239: update of trunk/trac leaves errors in dashboard widgets

Posted by Apache Bloodhound <bl...@incubator.apache.org>.
#239: update of trunk/trac leaves errors in dashboard widgets
------------------------+----------------------
  Reporter:  gjm        |      Owner:  gjm
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:
------------------------+----------------------
Changes (by gjm):

 * owner:  nobody => gjm
 * status:  new => accepted


Comment:

 patch committed in r1398977

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/239#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker