/usr/share/apport/apport-gtk:AttributeError:/usr/share/apport/apport-gtk@52:GTKUserInterface

Bug #2031920 reported by errors.ubuntu.com bug bridge
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

```
Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 52, in <module>
    class GTKUserInterface(apport.ui.UserInterface):
  File "/usr/share/apport/apport-gtk", line 230, in GTKUserInterface
    ) -> apport.ui.Action:
         ^^^^^^^^^^^^^^^^
AttributeError: module 'apport.ui' has no attribute 'Action'
```

This is probably caused by uprading apport-gtk but not python3-apport.

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

Tags: lunar
Benjamin Drung (bdrung)
description: updated
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote (last edit ):

* python-apport ships /usr/lib/python3/dist-packages/apport/ui.py
* apport-gtk ships /usr/share/apport/apport-gtk
* apport.ui.Action was added in 2.25.0 (commit 36ae3310861f1286eae8875a3195551126290914)

apport-gtk already depends on python3-apport (>= ${source:Version}). So this kind of crash should not be possible.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.