This bug was fixed in the package apport - 2.23.0-0ubuntu1 --------------- apport (2.23.0-0ubuntu1) kinetic; urgency=medium
* New upstream release: - apport-gtk: - Gracefully handle import failure of gi (LP: #1980561) - Catch AssertionError when importing Gdk (LP: #1980238) - data/apport: - Fix PermissionError for setuid programs inside container (LP: #1982487) - Fix reading from stdin inside containers (LP: #1982555) - apport-kde: - Fix inverse order of choices (LP: #1967965) - Import apport before usage (LP: #1980553) - Drop old workaround for bug in SIP destructor (LP: #1980553) - apport-unpack: Fix ValueError: ['separator'] has no binary content (LP: #1889443) - Fix _run_hook getting called with ui=None (LP: #1983481) * Refresh patches and drop backported patches * Fix pydocstyle and pylint complains in patches -- Benjamin Drung <bdr...@ubuntu.com> Mon, 22 Aug 2022 22:31:55 +0200 ** Changed in: apport (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1983481 Title: _run_hook called with ui=None Status in Apport: Fix Released Status in apport package in Ubuntu: Fix Released Bug description: When totem crashes and I try to report the crash with ubuntu-bug, sometimes I get a stack trace: jik@jik5:~$ ubuntu-bug /var/crash/_usr_bin_totem.1000.crash ERROR: hook /usr/share/apport/package-hooks/source_totem.py crashed: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 228, in _run_hook symb['add_info'](report, ui) File "/usr/share/apport/package-hooks/source_totem.py", line 9, in add_info response = ui.choice("How would you describe the issue?", ["The totem interface is not working correctly", "No sound is being played", "Some audio files or videos are not being played correctly"], False) AttributeError: 'NoneType' object has no attribute 'choice' jik@jik5:~$ ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: totem-common 42.0-1ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-43.46-generic 5.15.39 Uname: Linux 5.15.0-43-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Wed Aug 3 10:35:28 2022 InstallationDate: Installed on 2019-01-02 (1308 days ago) InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3) LogAlsaMixer: Simple mixer control 'Line',0 Capabilities: cvolume cvolume-joined cswitch cswitch-joined Capture channels: Mono Limits: Capture 0 - 15 Mono: Capture 15 [100%] [15.00dB] [on] PackageArchitecture: all SourcePackage: totem UpgradeStatus: Upgraded to jammy on 2022-02-20 (163 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1983481/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp