[Test Case]
1. install the version from -proposed
2. launch software-properties
3. do any action that requires an authentification and cancel it
-> you should see a warning showing on the command line (if you launched it)
-> whoopsie shouldn't trigger that a crash happened.
[Regression Potential]
None, as it's just wrapping the crash in a try/except clause.
This is reproducible by launching software-properties-gtk as any user that is not an admin, or from any session where the user can't be verified to be an admin via policykit - including when the user hits 'cancel' in the authentication dialog. We should suppress these exceptions so they don't show up as crashes on the desktop.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: software-properties-gtk 0.81.8
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
Uname: Linux 3.0.0-8-generic x86_64
Architecture: amd64
Date: Thu Aug 11 14:27:10 2011
ExecutablePath: /usr/bin/software-properties-gtk
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-properties-gtk -n -t 132120584
ProcCwd: /home/yehuda/Documents
ProcEnviron:
LANGUAGE=en_CA:en
PATH=(custom, no user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-properties-gtk', '-n', '-t', '132120584']
SourcePackage: software-properties
Title: software-properties-gtk crashed with DBusException in call_blocking(): com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy: com.ubuntu.softwareproperties.applychanges
UpgradeStatus: Upgraded to oneiric on 2011-07-27 (21 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
I was able to work around this by using <TAB> to select a source and <SPACEBAR> to activate the check box. Now I can check/uncheck at will and have no errors.
I noticed yesterday when I encountered the bug it didn't prompt me for password when I made a selection, but today it does (whether I check or uncheck the box) every time I open that dialog.
Hope this information helps. If I figure out more details I'll post them as well.