Bugs not shown in the Timeouts section of oops summaries

Bug #608914 reported by Ursula Junque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-oops-tools
Triaged
High
Unassigned

Bug Description

As seen on https://devpad.canonical.com/~lpqateam/oops-summaries/lpnet-2010-07-20.html#time-outs, for example, the first section doesn't display any linked bugs, but if I go to one of the oopses there, like https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1662A100, I see there's one bug linked.

Tags: easy
Revision history for this message
Robert Collins (lifeless) wrote :

This might do it - I can't seem to do the buildout dance properly for this (arrrrrgh) but fingers crossed, it will work - or be close.

=== modified file 'src/oopstools/oops/dbsummaries.py'
--- src/oopstools/oops/dbsummaries.py 2010-07-14 08:45:31 +0000
+++ src/oopstools/oops/dbsummaries.py 2010-07-23 10:45:21 +0000
@@ -211,6 +211,8 @@
             count, bot_count, local_referrer_count, url_count)
         self.errors = errors.filter(
             most_expensive_statement__exact=most_expensive_statement)
+ if len(self.errors):
+ self.bug = self.errors[0].oopsinfestation.bug
         self.etype = most_expensive_statement
         self.evalue = '' # XXX None

Changed in oops-tools:
status: New → Triaged
importance: Undecided → High
affects: oops-tools → python-oops-tools
tags: added: easy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.