** Description changed: 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.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766794 Title: apport-collect doesn't create a ProblemType in the report To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1766794/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
