[Bug 1766794] Re: apport-collect doesn't create a ProblemType in the report
Steve Langasek
steve.langasek at canonical.com
Thu May 31 16:15:28 UTC 2018
Hello John, or anyone else affected,
Accepted apport into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.9-0ubuntu7.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apport (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
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/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 Committed
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
More information about the foundations-bugs
mailing list