[Bug 1997759] Re: /usr/share/apport/apport-gtk:TypeError:/usr/share/apport/apport-gtk at 596:__init__
Benjamin Drung
1997759 at bugs.launchpad.net
Mon Mar 27 10:21:50 UTC 2023
Verified:
```
$ apt install python3-apport/kinetic-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '2.23.1-0ubuntu3.1' (Ubuntu:22.10/kinetic-proposed [all]) for 'python3-apport'
The following additional packages will be installed:
apport apport-gtk python3-problem-report
The following packages will be upgraded:
apport apport-gtk python3-apport python3-problem-report
4 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 193 kB of archives.
After this operation, 7168 B disk space will be freed.
[...]
```
** Tags removed: verification-needed verification-needed-kinetic
** Tags added: verification-done verification-done-kinetic
--
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 Released
Status in apport source package in Kinetic:
Fix Committed
Bug description:
Impact
======
The Apport GUI will not start if the apport/apport-gtk/apport-kde
package is older than 2.23.1 but python3-apport was upgraded to >=
2.23.1. ubuntu-bug will crash:
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/.
Test Plan
=========
1. Install apport from jammy:
```
sudo apt install apport/jammy apport-gtk/jammy python3-apport/jammy python3-problem-report/jammy
```
2. Upgrade python3-apport:
```
sudo apt install python3-apport/kinetic-proposed
```
3. Launch apport-bug:
```
apport-bug
```
All four apport package should be upgraded and apport-bug should
launch without problems.
Where problems could occur
==========================
The added Breaks will affect how APT handles the packages and could
trigger/reveal bug there or could put pressure on APT finding a
solution.
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