[Bug 1829401] Re: gi.repository.GLib.GError: pk-client-error-quark: could not do untrusted question as no klass support
William Wilson
1829401 at bugs.launchpad.net
Wed Jan 27 23:13:39 UTC 2021
** Description changed:
The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 0.98.2, the problem page at https://errors.ubuntu.com/problem/300ff7bf9068dc50ace4c5db5c4a34ba0dfc926d contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
[Back trace]
Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 86, in on_pktask_finish
- results = self._pktask.generic_finish(result)
+ File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 86, in on_pktask_finish
+ results = self._pktask.generic_finish(result)
gi.repository.GLib.GError: pk-client-error-quark: could not do untrusted question as no klass support (8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 89, in on_pktask_finish
- Gtk.ButtonsType.CANCEL, _("Error while refreshing cache"))
- File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
- return super_init_func(self, **new_kwargs)
- File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 575, in __init__
- self._init(*args, **new_kwargs)
- File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
- return super_init_func(self, **new_kwargs)
- File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 521, in __init__
- _window_init(self, *args, **kwargs)
- File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
- return super_init_func(self, **new_kwargs)
+ File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 89, in on_pktask_finish
+ Gtk.ButtonsType.CANCEL, _("Error while refreshing cache"))
+ File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
+ return super_init_func(self, **new_kwargs)
+ File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 575, in __init__
+ self._init(*args, **new_kwargs)
+ File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
+ return super_init_func(self, **new_kwargs)
+ File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 521, in __init__
+ _window_init(self, *args, **kwargs)
+ File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
+ return super_init_func(self, **new_kwargs)
TypeError: could not convert value for property `transient_for' from DialogCacheOutdated to GtkWindow
+
+
+ [Impact]
+
+ * If selected mirrors are not reachable or have
+ expired GPG keys, software-properties-gtk
+ would crash
+
+ [Test Case]
+
+ * Edit the file /usr/share/python-apt/templates/Ubuntu.mirrors
+
+ * Find your locale in this file and add a non-existent URL
+ to the list
+
+ * Run software-properties-gtk and choose your newly added
+ URL from the "Download From" dropdown menu
+
+ * Press "Close" in the bottom right, and when
+ prompted press "Reload"
+
+ * You should be presented with an error window rather than
+ the program crashing
+
+ [Where problems could occur]
+
+ * The new error window binds to the parent window. If the
+ parent window has gotten into a bad state this could
+ cause problems
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1829401
Title:
gi.repository.GLib.GError: pk-client-error-quark: could not do
untrusted question as no klass support
Status in packagekit package in Ubuntu:
Triaged
Status in packagekit source package in Eoan:
Won't Fix
Status in packagekit source package in Focal:
Confirmed
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with package version 0.98.2, the problem page at https://errors.ubuntu.com/problem/300ff7bf9068dc50ace4c5db5c4a34ba0dfc926d contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
[Back trace]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 86, in on_pktask_finish
results = self._pktask.generic_finish(result)
gi.repository.GLib.GError: pk-client-error-quark: could not do untrusted question as no klass support (8)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogCacheOutdated.py", line 89, in on_pktask_finish
Gtk.ButtonsType.CANCEL, _("Error while refreshing cache"))
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
return super_init_func(self, **new_kwargs)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 575, in __init__
self._init(*args, **new_kwargs)
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
return super_init_func(self, **new_kwargs)
File "/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 521, in __init__
_window_init(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 319, in new_init
return super_init_func(self, **new_kwargs)
TypeError: could not convert value for property `transient_for' from DialogCacheOutdated to GtkWindow
[Impact]
* If selected mirrors are not reachable or have
expired GPG keys, software-properties-gtk
would crash
[Test Case]
* Edit the file /usr/share/python-apt/templates/Ubuntu.mirrors
* Find your locale in this file and add a non-existent URL
to the list
* Run software-properties-gtk and choose your newly added
URL from the "Download From" dropdown menu
* Press "Close" in the bottom right, and when
prompted press "Reload"
* You should be presented with an error window rather than
the program crashing
[Where problems could occur]
* The new error window binds to the parent window. If the
parent window has gotten into a bad state this could
cause problems
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1829401/+subscriptions
More information about the Ubuntu-sponsors
mailing list