[Bug 1769262] Re: PythonDetails contains an error message if python not installed
Launchpad Bug Tracker
1769262 at bugs.launchpad.net
Thu May 10 19:28:08 UTC 2018
This bug was fixed in the package apport - 2.20.10-0ubuntu1
---------------
apport (2.20.10-0ubuntu1) cosmic; urgency=medium
* New upstream release:
- backends/packaging-apt-dpkg.py: when using a permanent sandbox better
check for the package being already available thereby reducing quantity
of downloads.
- apport/report.py: Use timeout parameter in subprocess to limit how long
we'll wait for gdb to return information as gdb can hang with some core
files.
- data/apport: Fix PEP8 issues
- 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: Fix UnicodeDecodeError when processing
DpkgTerminalLog. (LP: #1766337)
* 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: #1766740)
* data/package-hooks/source_linux.py: Redirect bugs filed about the
linux-signed source package to linux. (LP: #1766740)
-- Brian Murray <brian at ubuntu.com> Thu, 10 May 2018 09:31:34 -0700
** Changed in: apport (Ubuntu)
Status: New => Fix Released
--
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/1769262
Title:
PythonDetails contains an error message if python not installed
Status in apport package in Ubuntu:
Fix Released
Bug description:
[Test Case]
0) ensure python is not installed on the system
1) launchpad update-manager
2) kill update-manager
3) view the crash report
With the version of apport in the archive you will see messy
PythonDetails like below. With the version of apport from -proposed
you will instead see:
PythonDetails: N/A
Original Description
--------------------
In an Ubuntu 18.04 apport-package report, bug 1768866, we can see the following which looks super messy:
PythonDetails: /root/Error: command ['which', 'python'] failed with
exit code 1:, Error: [Errno 2] Aucun fichier ou dossier de ce type:
"/root/Error: command ['which', 'python'] failed with exit code 1:":
"/root/Error: command ['which', 'python'] failed with exit code 1:",
unpackaged
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1769262/+subscriptions
More information about the foundations-bugs
mailing list