[Bug 1923541] Re: /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'

Launchpad Bug Tracker 1923541 at bugs.launchpad.net
Thu Apr 15 17:11:16 UTC 2021


This bug was fixed in the package apport - 2.20.11-0ubuntu65

---------------
apport (2.20.11-0ubuntu65) hirsute; urgency=medium

  * test/test_backend_apt_dpkg.py: libc6 recommends packages, some of which
    are not installed on buildds now, so switch to testing libc-bin which only
    has dependencies and is what the test is supposed to test.

 -- Brian Murray <brian at ubuntu.com>  Wed, 14 Apr 2021 13:52:22 -0700

** Changed in: apport (Ubuntu Hirsute)
       Status: In Progress => 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/1923541

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 Hirsute:
  Fix Released

Bug description:
  Currently running 21.04, apport version is 2.20.11-0ubuntu62 .

  When I try to fill a bug, I see:

  $ ubuntu-bug  network-manager
  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 84, in add_info
      apport.hookutils.attach_casper_md5check(report,
    File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 1002, in attach_casper_md5check
      del report['CasperMD5json']
    File "/usr/lib/python3.9/collections/__init__.py", line 1064, in __delitem__
      del self.data[key]
  KeyError: 'CasperMD5json'

  
  It's not crashing the bug reporting itself, but it looks wrong to have a stacktrace on the command line.

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



More information about the foundations-bugs mailing list