Client applications crashes on startup, if daemon is not available

Bug #974994 reported by Rafał Cieślak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments Viewer
Fix Released
Medium
Rafał Cieślak

Bug Description

In case the client is unable to connect to the daemon after trying to run it (which may happen due to:
  - packaging problems
  - binary file unavailability
  - daemon crashing on startup due to some bug (this actually may be a likely case)
  - invalid daemon installation
  - problems with DBus connection),
it should a) try again and again, every few seconds or b) notify the user about the problem.

As for now, it crashes instead, with
   AttributeError: 'TrophyinfoWindow' object has no attribute 'ask_to_start_daemon'
because the notification has been recently removed.

It may be possible to easily join both a) and b) by using following procedure:
1) Try starting the daemon, if it succeeds - continue normally,
2) If it does not, set appropriate message in the status bar,
3) Wait several seconds, and proceed to 1).

Tags: bitesize

Related branches

description: updated
Changed in ubuntu-accomplishments-system:
assignee: nobody → Rafal Cieślak (rafalcieslak256)
tags: added: bitesize
description: updated
Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-system:
status: New → Fix Committed
Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-system:
milestone: none → 0.1
importance: Undecided → Medium
Jono Bacon (jonobacon)
affects: ubuntu-accomplishments-system → ubuntu-accomplishments-viewer
Changed in ubuntu-accomplishments-viewer:
milestone: 0.1 → none
milestone: none → 0.1
Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-viewer:
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.