[Bug 1997759] Re: /usr/share/apport/apport-gtk:TypeError:/usr/share/apport/apport-gtk at 596:__init__
Launchpad Bug Tracker
1997759 at bugs.launchpad.net
Thu Apr 6 17:30:57 UTC 2023
This bug was fixed in the package apport - 2.23.1-0ubuntu3.1
---------------
apport (2.23.1-0ubuntu3.1) kinetic; urgency=medium
* Declare python3-apport breaking older apport/apport-gtk/apport-kde
(LP: #1997759)
* Catch malformed problem report (LP: #1996040)
* Catch ValueError: not enough values to unpack (LP: #1995100)
-- Benjamin Drung <bdrung at ubuntu.com> Thu, 08 Dec 2022 02:38:15 +0100
** Changed in: apport (Ubuntu Kinetic)
Status: Fix Committed => Fix Released
--
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 Released
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