[Bug 1357034] Re: apport_pkgfailure fails to run in python3
Launchpad Bug Tracker
1357034 at bugs.launchpad.net
Thu Aug 14 23:55:49 UTC 2014
This bug was fixed in the package ubuntu-release-upgrader - 1:14.10.6
---------------
ubuntu-release-upgrader (1:14.10.6) utopic; urgency=medium
[ Martin Pitt ]
* check-new-release-gtk: Fix deprecated Gio.Settings constructor invocation.
[ Brian Murray ]
* Fix test failure with DistUpgradeFetcherCore test by switching from
precise to trusty.
* DistUpgrade/DistUpgradeApport.py:
- log that dependency problems are not reported.
- all apport versions support --tags now so just add dist-upgrade tag
- remove redundant ErrorMessage string
- modify Popen call to set universal_newlines=True (LP: #1357034)
-- Brian Murray <brian at ubuntu.com> Thu, 14 Aug 2014 15:40:19 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1357034
Title:
apport_pkgfailure fails to run in python3
Status in “ubuntu-release-upgrader” package in Ubuntu:
Fix Released
Status in “ubuntu-release-upgrader” source package in Trusty:
Triaged
Bug description:
$ ipython3
Python 3.4.0 (default, Apr 11 2014, 13:05:11)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from DistUpgrade import DistUpgradeApport
In [2]: DistUpgradeApport.apport_pkgfailure("whoopsie", "it failed")
WARNING:root:Failed to run apport ('str' does not support the buffer interface)
Out[2]: False
I've seen the same error message in some distribution upgrade failures
e.g. bug 1350416.
2014-07-30 09:15:35,305 DEBUG running apport_pkgfailure() cgmanager: subprocess installed post-installation script returned error exit status 1
2014-07-30 09:15:36,352 WARNING Failed to run apport ('str' does not support the buffer interface)
This has to do with the log files DistUpgradeApport is adding to the
bug report.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1357034/+subscriptions
More information about the foundations-bugs
mailing list