Can't set pushbullet account

Bug #1390091 reported by Marco Trevisan (Treviño)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Indicator Remindor
Fix Released
High
Brian Douglass

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/PreferencesDialog.py", line 198, in on_btn_save_clicked
    service_status = self.save_services()
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/PreferencesDialog.py", line 297, in save_services
    pushbullet = self.validate_pushbullet()
  File "/usr/lib/python2.7/dist-packages/indicator_remindor/PreferencesDialog.py", line 362, in validate_pushbullet
    value = self.info.refresh_pushbullet_devices(self.pushbullet_api_key_o.get_text())
  File "/usr/lib/python2.7/dist-packages/remindor_common/helpers.py", line 196, in refresh_pushbullet_devices
    devices = p.devices()
  File "/usr/lib/python2.7/dist-packages/remindor_common/services/pushbullet.py", line 83, in devices
    'name': device['extras']['nickname']
KeyError: 'nickname'

The crash can easily be fixed by using the attached patch

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Revision history for this message
Brian Douglass (bhdouglass) wrote :

Thanks for tracking down that bug! I updated it to use Pushbullet's v2 api and push remindor-common v14.06.1 to the ppa. Let me know if you have any more problems with it!

Changed in indicator-remindor:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Brian Douglass (bhdouglass)
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.