Merge lp:~laney/ubuntu-system-settings/migration-script-no-crash into lp:ubuntu-system-settings
Proposed by
Iain Lane
Status: | Merged |
---|---|
Approved by: | Sebastien Bacher |
Approved revision: | 644 |
Merged at revision: | 647 |
Proposed branch: | lp:~laney/ubuntu-system-settings/migration-script-no-crash |
Merge into: | lp:ubuntu-system-settings |
Diff against target: |
25 lines (+6/-2) 1 file modified
debian/ubuntu-system-settings-sound-gsettings-to-accountsservice.py (+6/-2) |
To merge this branch: | bzr merge lp:~laney/ubuntu-system-settings/migration-script-no-crash |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher (community) | Approve | ||
PS Jenkins bot | continuous-integration | Needs Fixing | |
Review via email: mp+210005@code.launchpad.net |
Commit message
Don't crash if the migration script can't set values
Description of the change
If you're not authorised to write to AS, the migration script crashes. There's not a lot we can do to rectify the situation, but fix the crash by catching it and writing an error.
Actually, we don't have error handling in u-s-s for this case either. It's not massively urgent to fix - this is quite niche & we don't have a generic 'error state' which we'd want to use.
Put something like this in a pkla file & then run the script to repro this bug
[NO]
Identity=
Action=
ResultActive=no
To post a comment you must log in.
FAILED: Continuous integration, rev:644 /code.launchpad .net/~laney/ ubuntu- system- settings/ migration- script- no-crash/ +merge/ 210005/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/684/ jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 3760 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty- touch/3348 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- trusty- amd64-ci/ 200 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- trusty- armhf-ci/ 188 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- trusty- i386-ci/ 187 jenkins. qa.ubuntu. com/job/ autopilot- testrunner- otto-trusty/ 3306 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/3768 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/3768/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/3350 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/3350/ artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- mediumtests- runner- mako/5719 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 4592
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- system- settings- ci/684/ rebuild
http://