[Bug 2031920] Re: /usr/share/apport/apport-gtk:AttributeError:/usr/share/apport/apport-gtk at 52:GTKUserInterface

Benjamin Drung 2031920 at bugs.launchpad.net
Fri Aug 18 15:06:33 UTC 2023


* 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.

-- 
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/2031920

Title:
  /usr/share/apport/apport-gtk:AttributeError:/usr/share/apport/apport-
  gtk at 52:GTKUserInterface

Status in apport package in Ubuntu:
  New

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/.

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




More information about the foundations-bugs mailing list