You have been subscribed to a public bug:

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

** Affects: software-properties (Ubuntu)
     Importance: High
     Assignee: William Wilson (jawn-smith)
         Status: Triaged

** Affects: software-properties (Ubuntu Eoan)
     Importance: Medium
     Assignee: William Wilson (jawn-smith)
         Status: Won't Fix

** Affects: software-properties (Ubuntu Focal)
     Importance: High
     Assignee: William Wilson (jawn-smith)
         Status: Confirmed

** Affects: software-properties (Ubuntu Groovy)
     Importance: Undecided
     Assignee: William Wilson (jawn-smith)
         Status: Confirmed


** Tags: eoan focal fr-26 groovy id-5ce6bfe06de363297ab7cde9 kylin-19.10
-- 
gi.repository.GLib.GError: pk-client-error-quark: could not do untrusted 
question as no klass support
https://bugs.launchpad.net/bugs/1829401
You received this bug notification because you are a member of Desktop 
Packages, which is subscribed to software-properties in Ubuntu.

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to