Thoughts in progress, not quite a patch, yet -
I think we want to catch the exception with a try statement in
SoftwarePropertiesGtk.py, but I don't know yet where is the sensible
place to put it. The exception catching could be like this, using an
error dialog function already defined there:
except PermissionDeniedByPolicy:
error(self.window_main,
"Authorization failed.",
"Software sources can't be changed without permission.")
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/828850
Title:
software-properties-gtk crashed with DBusException in call_blocking():
com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy:
com.ubuntu.softwareproperties.applychanges
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/828850/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs