[Bug 1923541] Re: /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'
Benjamin Drung
1923541 at bugs.launchpad.net
Thu Jul 28 14:11:12 UTC 2022
*** This bug is a duplicate of bug 1964828 ***
https://bugs.launchpad.net/bugs/1964828
Probably this KeyError was never fixed (the changelog entry for version
2.20.11-0ubuntu65 talks about something else). So I mark this bug as
duplicate of bug #1964828.
** This bug has been marked a duplicate of bug 1964828
/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/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