[Bug 1357034] Re: apport_pkgfailure fails to run in python3

Chris J Arges 1357034 at bugs.launchpad.net
Tue Sep 2 15:01:44 UTC 2014


Hello Brian, or anyone else affected,

Accepted ubuntu-release-upgrader into trusty-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:0.220.5 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 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 to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
       Status: Triaged => Fix Committed

** Tags added: verification-needed

-- 
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:
  Fix Committed

Bug description:
  Impact:

  apport package failures are not being received during distribution
  upgrades to Trusty from Precise or Saucy.

  Test Case:

  1) start the distribution upgrade to trusty (do-release-upgrade)
  2) stop the upgrade and change to directory /tmp/ubunut-release-upgrader-xyz
  3) start ipython3 or python3

  $ 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

  With the version of the ubuntu-release-upgrader from trusty-proposed
  apport should not fail to run.

  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