all reports are broken by bad charms

Bug #1204139 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmworld
Fix Released
Low
Brad Crittenden

Bug Description

All three reports

    http://staging.jujucharms.com/reports/charm-activity.json
    http://staging.jujucharms.com/reports/charm-contributors.json
    http://staging.jujucharms.com/reports/charm-count.json

fail for the same reason:

 2013-07-23 15:20:39 [1162] [ERROR] http://staging.jujucharms.com/reports/charm-activity.json
Traceback (most recent call last):
  ...
  File "/home/webops_deploy/charmworld/charmworld/views/reports.py", line 24, in json_charm_changes
    step=timedelta(7)).records()
  File "/home/webops_deploy/charmworld/charmworld/reports.py", line 247, in series_charm_changes
    for change in charm['changes']:
KeyError: 'changes'

The views are using charm_data instead of model. There is not guarantee that there is information to complete the graphs.

Tags: oops

Related branches

Curtis Hovey (sinzui)
tags: added: oops
Brad Crittenden (bac)
Changed in charmworld:
assignee: nobody → Brad Crittenden (bac)
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in charmworld:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in charmworld:
status: Fix Committed → Fix Released
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.