[Bug 828850] Re: software-properties-gtk crashed with DBusException in call_blocking(): com.ubuntu.SoftwareProperties.PermissionDeniedByPolicy: com.ubuntu.softwareproperties.applychanges
Edward Donovan
828850 at bugs.launchpad.net
Wed Apr 18 08:01:04 UTC 2012
I got this crash, again, when software sources asked for my password,
and I hit ESC. I haven't had a chance to look at the code (and don't
know if I could figure anything out). That said... The error says:
PermissionDeniedByPolicy: com.ubuntu.softwareproperties.applychanges
In my case, is the code presuming the authorization dialog resulted in a
successful authorization? Perhaps it's lacking a check for whether it
really got permission, or at least how the dialog exited.
Beyond that, should 'permission denied' cause a crash? That seems like
a case we ought to be able to cover. Maybe it's not exactly a crash, in
my case: the software-properties-gtk window was still there, and still
responsive, I believe. But some internals crashed enough to start
apport up. 'Permission denied' does seems like something we should
report to the user, perhaps in a dialog, and not have to throw an
exception for.
Maybe I can get time to look at the code. Whether I might get anywhere is a crapshoot.
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in 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
Status in “software-properties” package in Ubuntu:
Triaged
Bug description:
dont know
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/828850/+subscriptions
More information about the foundations-bugs
mailing list