[Bug 1923541] Re: /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'
graingert
1923541 at bugs.launchpad.net
Sun Jul 24 08:54:41 UTC 2022
- Previous message (by thread): [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.
- Next message (by thread): [Bug 1923541] Re: /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
KeyError: 'CasperMD5json' is still happening on Jammy
--
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
- Previous message (by thread): [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.
- Next message (by thread): [Bug 1923541] Re: /usr/share/apport/general-hooks/ubuntu.py crashed: KeyError: 'CasperMD5json'
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the foundations-bugs
mailing list