[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
** Changed in: software-properties (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
** Changed in: software-properties (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
** Branch linked: lp:~evfool/software-properties/lp1058072 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
This is indeed a bitesize bug but after fixing this bug #874766 becomes more important: After canceling the authentication dialog you will not get an error dialog, but the comboboxes on the Updates tab will not revert to the original (saved) values, thus you will see wrong values. ** Changed in: software-properties (Ubuntu) Assignee: (unassigned) = Robert Roth (evfool) ** Changed in: software-properties (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
As I wrote on Marius' bug, he's experiencing a real authorization problem. This bug is a design issue, where the code is working fine, but a change in the interface behavior is wanted. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
I experienced something similar, see bug #1074657. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
Thanks, Matthew, and no problem. :) For distinguishing the cases...I don't know of a way to do that. For any failed authentication, dbus returns the exception 'PermissionDeniedByPolicy', and with the patch, software-properties catches that. Maybe somewhere in dbus, a finer distinction could be found, but that's just speculation. What I know about this, I just learned at the time of going after this bug. I'll look next at the cleanest way to change the code, when it catches that exception, to do a no-op, and not pop any dialog. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
Edward, thanks for that work, and I'm sorry I didn't see it at the time (I wasn't subscribed to software-properties). Is it possible to distinguish between the case of clicking Cancel, and the case where PolicyKit fails for any other reason? I think we want to show an error alert only in the latter case. And perhaps make it a RecoverableError https://wiki.ubuntu.com/ErrorTracker#app-requested, so we can figure out what's causing it, and fix root causes later on. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
** Changed in: software-properties (Ubuntu) Importance: Undecided = Medium ** Tags added: quantal ** Changed in: software-properties (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1058072] Re: Cancelling PolicyKit authorization produces silly error message
Hi Matthew - I created that dialog, amidst fixing bug 828850 . The previous situation was: when you canceled authorization, you got an apport crash. It was several months ago, so I don't remember exactly why I thought a message might be needed. But I figured whether to have a dialog, at all, would be reviewed with the patch. I guess that's just happening now, in a way. If I can get some time, I'll make a patch to remove the dialog. The original patch that included it is attached there at bug 828850. One would remove the five lines that define the dialog. Then in each of the many places that the patch wraps in try-except, replace the dialog with, well, whatever is a pythonic no-op in that if statement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1058072 Title: Cancelling PolicyKit authorization produces silly error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs