/usr/share/apport/apport-gtk:TypeError:/usr/share/apport/apport-gtk@596:__init__
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact
======
The Apport GUI will not start if the apport/
Traceback (most recent call last):
File "/usr/share/
app = GTKUserInterface()
File "/usr/share/
apport.
TypeError: UserInterface.
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:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
Test Plan
=========
1. Install apport from jammy:
```
sudo apt install apport/jammy apport-gtk/jammy python3-
```
2. Upgrade python3-apport:
```
sudo apt install python3-
```
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.
Commit a9f95932a94d404 43f43166c20e382 d4059eaa7d ("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.