[Bug 1681528] Re: Include information about python versions
Brian Murray
brian at ubuntu.com
Fri Aug 18 18:11:11 UTC 2017
The python information will be gathered under the following conditions:
57 if report.get('ProblemType') == 'Package' or \
58 'python' in report.get('InterpreterPath', '') or \
59 'python' in report.get('ExecutablePath', ''):
One way to test the 'Package' type of problem is to use the crash-in-
postinst package from the daisy pluckers PPA.
https://launchpad.net/~daisy-pluckers/+archive/daisy-seeds
It is not enough to use 'dpkg -i' to trigger the crash though.
--
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/1681528
Title:
Include information about python versions
Status in apport package in Ubuntu:
New
Status in apport source package in Artful:
New
Bug description:
We are see lots of package installation failures that look like:
package:apport:2.20.3-0ubuntu8
Preparing to unpack .../023-apport_2.20.3-0ubuntu8.2_all.deb ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
^
SyntaxError: invalid syntax
One explanation for this is that pyclean is actually be run by python3
instead of python2.7. To confirm and invalidate reports like this
apport should check to see what /usr/bin/python and /usr/bin/python3
are symlinks to or double check the versions of /usr/bin/python and
/usr/bin/python3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1681528/+subscriptions
More information about the foundations-bugs
mailing list