Client applications crashes on startup, if daemon is not available
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_
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).
Related branches
- Jono Bacon: Pending requested
-
Diff: 17 lines (+6/-1)1 file modifiedaccomplishments/gui/TrophyinfoWindow.py (+6/-1)
description: | updated |
Changed in ubuntu-accomplishments-system: | |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
tags: | added: bitesize |
description: | updated |
Changed in ubuntu-accomplishments-system: | |
status: | New → Fix Committed |
Changed in ubuntu-accomplishments-system: | |
milestone: | none → 0.1 |
importance: | Undecided → Medium |
affects: | ubuntu-accomplishments-system → ubuntu-accomplishments-viewer |
Changed in ubuntu-accomplishments-viewer: | |
milestone: | 0.1 → none |
milestone: | none → 0.1 |
Changed in ubuntu-accomplishments-viewer: | |
status: | Fix Committed → Fix Released |