[Bug 1997759] Re: /usr/share/apport/apport-gtk:TypeError:/usr/share/apport/apport-gtk at 596:__init__

Benjamin Drung 1997759 at bugs.launchpad.net
Thu Nov 24 19:31:14 UTC 2022


Commit a9f95932a94d40443f43166c20e382d4059eaa7d ("Pass around command
line arguments to ease testing", Apport release 2.23.1) introduced the
argv parameter. The code is spread over multiple packages:

* apport/ui.py: python3-apport
* bin/apport-cli: apport
* gtk/apport-gtk: apport-gtk
* kde/apport-kde: apport-kde

So the dependencies need to be made more tight.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1997759

Title:
  /usr/share/apport/apport-gtk:TypeError:/usr/share/apport/apport-
  gtk at 596:__init__

Status in apport package in Ubuntu:
  Fix Committed

Bug description:
  Traceback (most recent call last):
    File "/usr/share/apport/apport-gtk", line 596, in <module>
      app = GTKUserInterface()
    File "/usr/share/apport/apport-gtk", line 56, in __init__
      apport.ui.UserInterface.__init__(self)
  TypeError: UserInterface.__init__() missing 1 required positional argument: 'argv'

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.23.1-0ubuntu3, the problem page at https://errors.ubuntu.com/problem/feb7fb0f8e0c34715dc6cf742f9d16824c977662 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/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1997759/+subscriptions




More information about the foundations-bugs mailing list