[Bug 1769262] Re: PythonDetails contains an error message if python not installed

Brian Murray brian at ubuntu.com
Tue Jun 5 00:29:07 UTC 2018


The test case passed with the version of apport from bionic-proposed.

bdmurray at clean-bionic-amd64:~$ grep Python /var/crash/_usr_bin_update-manager.1000.crash 
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: N/A
bdmurray at clean-bionic-amd64:~$ apt-cache policy apport
apport:
  Installed: 2.20.9-0ubuntu7.2
  Candidate: 2.20.9-0ubuntu7.2


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-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/1769262

Title:
  PythonDetails contains an error message if python not installed

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  Fix Committed

Bug description:
  [Test Case]
  0) ensure python is not installed on the system
  1) launch 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

  [Regression Potential]
  The fix for this also modified the code which creates Python3Details so we should ensure that Python3Details is not broken.

  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