[Bug 1964828] Re: ERROR: hook /usr/share/apport/general-hooks/ubuntu.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/general-hooks/ubuntu.py", line 81, in add_info apport.hookutils.attach_casper_md5check(report, File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1016, in attach_casper_md5check check = json.loads(report['CasperMD5json']) File "/usr/lib/python3.10/collections/__init__.py", line 1102, in __getitem__ raise KeyError(key) KeyError: 'CasperMD5json' kubuntu at kubuntu:~$ Gtk-Message: 21:22:43.923: Failed to load module "colorreload-gtk-module" ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment.

Benjamin Drung 1964828 at bugs.launchpad.net
Mon Jul 25 16:31:36 UTC 2022


So this bug is fixed in kinetic by apport version 2.22.0-0ubuntu1. The
fix for this bug is included in the SRUs for jammy and focal. See
https://bugs.launchpad.net/apport/+bug/1982555 for details.

** Also affects: apport (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: apport (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: apport (Ubuntu)
       Status: Confirmed => Fix Released

** Summary changed:

- ERROR: hook /usr/share/apport/general-hooks/ubuntu.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/general-hooks/ubuntu.py", line 81, in add_info     apport.hookutils.attach_casper_md5check(report,   File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1016, in attach_casper_md5check     check = json.loads(report['CasperMD5json'])   File "/usr/lib/python3.10/collections/__init__.py", line 1102, in __getitem__     raise KeyError(key) KeyError: 'CasperMD5json' kubuntu at kubuntu:~$ Gtk-Message: 21:22:43.923: Failed to load module "colorreload-gtk-module" ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment. ATTENTION: default value of option mesa_glthread overridden by environment.
+ /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'

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

Title:
  /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError:
  'CasperMD5json'

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Focal:
  New
Status in apport source package in Jammy:
  New

Bug description:
  ERROR: hook /usr/share/apport/general-hooks/ubuntu.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/general-hooks/ubuntu.py", line 81, in add_info
      apport.hookutils.attach_casper_md5check(report,
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1016, in attach_casper_md5check
      check = json.loads(report['CasperMD5json'])
    File "/usr/lib/python3.10/collections/__init__.py", line 1102, in __getitem__
      raise KeyError(key)
  KeyError: 'CasperMD5json'
  kubuntu at kubuntu:~$ Gtk-Message: 21:22:43.923: Failed to load module "colorreload-gtk-module"
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubiquity 22.04.7
  ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
  Uname: Linux 5.15.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperVersion: 1.467
  CurrentDesktop: KDE
  Date: Mon Mar 14 21:22:23 2022
  InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
  LiveMediaBuild: Kubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220314)
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list