Closed Bug 807517 Opened 12 years ago Closed 12 years ago

[socorro-crashstats] /daily?p=B2G&format=csv throws a 500 Internal Server Error

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: rhelmer)

References

()

Details

Traceback:
File "/home/rhelmer/src/socorro-crashstats/vendor/lib/python/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/home/rhelmer/src/socorro-crashstats/crashstats/crashstats/views.py" in inner
  155.         return view(request, *args, **kwargs)
File "/home/rhelmer/src/socorro-crashstats/crashstats/crashstats/views.py" in daily
  526.             form_selection
File "/home/rhelmer/src/socorro-crashstats/crashstats/crashstats/views.py" in _render_daily_csv
  648.             blob = data['totals']['%s:%s' % (product, version)]

Exception Type: KeyError at /daily
Exception Value: u'B2G:19.0a1'
Assignee: nobody → rhelmer
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/socorro-crashstats

https://github.com/mozilla/socorro-crashstats/commit/389d2fb71c532963a2e0c4d56960e1344cd71984
bug 807517 - guard against missing keys when building csv

https://github.com/mozilla/socorro-crashstats/commit/c4685ca53af7cc8ebd724d1a85beb8dc47007047
Merge pull request #277 from rhelmer/bug807517-csv-500

bug 807517 - guard against missing keys when building csv
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Verified FIXED; thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.