[Bug 1923541] [NEW] /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'
Thomas Bechtold
1923541 at bugs.launchpad.net
Tue Apr 13 04:15:26 UTC 2021
Public bug reported:
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.
** Affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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