This bug was fixed in the package apport - 2.20.9-0ubuntu7.2 --------------- apport (2.20.9-0ubuntu7.2) bionic; urgency=medium
* apport/ui.py: Include ProblemType in reports which are updated as package hooks may expect the report to have a ProblemType. (LP: #1766794) * test/test_ui.py: modify run_crash_kernel test to account for the fact that linux-image-$kvers-$flavor is now built from the linux-signed source package on amd64 and ppc64el. (LP: #1766740) * data/general-hooks/ubuntu.py: Don't display a messy error if python or python3 is not installed. (LP: #1769262) * debian/apport.links: source_linux-signed.py -> source_linux.py package hook (LP: #1773012) * data/package-hooks/source_linux.py: Redirect bugs filed about the linux-signed source package to linux. (LP: #1773012) -- Brian Murray <br...@ubuntu.com> Wed, 30 May 2018 15:19:49 -0700 ** Changed in: apport (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1766794 Title: apport-collect doesn't create a ProblemType in the report Status in Apport: Fix Released Status in apport package in Ubuntu: Fix Released Status in apport source package in Bionic: Fix Released Bug description: Running 'sudo apport-collect BUGID' on 18.04 and then selecting 'V: View report' results in Tracebacks. [Test Case] 1) ssh to a system running bionic 2) run apport-collect 1766787 3) say yes that you want to update a bug report that isn't yours 4) Choose to view the report 5) Observe the following Traceback ERROR: hook /usr/share/apport/general-hooks/generic.py crashed: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook symb['add_info'](report, ui) File "/usr/share/apport/general-hooks/generic.py", line 90, in add_info if report['ProblemType'] == 'Crash': File "/usr/lib/python3.6/collections/__init__.py", line 991, in __getitem__ raise KeyError(key) KeyError: 'ProblemType' With the version of the package from -proposed you will not see the Traceback. [Regression Potential] The change is just to stop removing the ProblemType from the created report so there really isn't a chance of a regression. To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1766794/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp