'trophy' key error

Bug #1092736 reported by Jono Bacon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Viewer
New
Undecided
Unassigned

Bug Description

I am getting some terminal errors when you do the following:

 * Load up the viewer.
 * Click on 'My Trophies'.
 * Click the 'Latest' filter.
 * Click on a trophy that you have.

I then get:

Traceback (most recent call last):
  File "/home/jono/source/accomplishments/ubuntu-accomplishments-viewer/accomplishments_viewer/AccomplishmentsViewerWindow.py", line 890, in mytrophy_clicked
    self.set_display(DISPLAY_MODE_DETAILS, accomID=accomID)
  File "/home/jono/source/accomplishments/ubuntu-accomplishments-viewer/accomplishments_viewer/AccomplishmentsViewerWindow.py", line 1099, in set_display
    self._accomplishment_info(accomID)
  File "/home/jono/source/accomplishments/ubuntu-accomplishments-viewer/accomplishments_viewer/AccomplishmentsViewerWindow.py", line 1303, in _accomplishment_info
    trophydata = self.libaccom.get_trophy_data(accomID)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.KeyError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/home/jono/source/accomplishments/ubuntu-accomplishments-daemon/accomplishments/daemon/dbusapi.py", line 625, in get_trophy_data
    return self.api.get_trophy_data(accomID)
  File "/home/jono/source/accomplishments/ubuntu-accomplishments-daemon/accomplishments/daemon/api.py", line 1374, in get_trophy_data
    return dict(cfg._sections["trophy"])
KeyError: 'trophy'

Revision history for this message
Matt Fischer (mfisch) wrote :

I just upgraded to the latest daemon/viewer/etc and restarted everything and I cannot repro this. Is it a particular trophy?

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.