Closed Bug 881632 Opened 8 years ago Closed 8 years ago

[socorro-crashstats] Unable to display Graph Data from Top Crashers

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: scoobidiver, Assigned: adrian)

References

Details

When clicking the graph data glyph for a signature, the loading bar stays indefinitely.

See https://crash-stats-django.allizom.org/topcrasher/products/Firefox/versions/24.0a1
Adrian, can you take a look at this please? Should we just int(duration) on the django side?

Jun 11 01:03:26 Socorro Web Services (pid 21238): 2013-06-11 01:03:26,482 ERROR - Dummy-3 - File "/data/socorro/application/socorro/lib/datetimeutil.py", line 21, in strHoursToTimeDelta#012    return datetime.timedelta(hours=int(hoursAsString))
Jun 11 01:03:26 Socorro Web Services (pid 21238): 2013-06-11 01:03:26,482 ERROR - Dummy-3 - ValueError: invalid literal for int() with base 10: '168.0'
Assignee: nobody → adrian
Hmm this is already ('duration', int) in the SignatureTrend model, but I see in the view how it'd be cast as a float.
Commits pushed to master at https://github.com/mozilla/socorro-crashstats

https://github.com/mozilla/socorro-crashstats/commit/eca4670e57e8b9295ea630e23b8cfcea7bb1d4c0
Fixes bug 881632 - Forced duration to be an int (was a float).

https://github.com/mozilla/socorro-crashstats/commit/37168b9b8bd0b2ad74d57e3cc09c685e168423da
Merge pull request #371 from AdrianGaudebert/881632-duration-as-int

Fixes bug 881632 - Forced duration to be an int (was a float).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
It's not fixed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Blocks: 887300
I'm re-fixing this bug, the original problem is solved. There is an other one that will be fixed in bug 887300.
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.