[Bug 1034806] Re: aptd crashed with UnicodeDecodeError in _emit_acquire_item(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Launchpad Bug Tracker 1034806 at bugs.launchpad.net
Sat Aug 11 02:25:15 UTC 2012


This bug was fixed in the package aptdaemon - 0.45+bzr852-0ubuntu2

---------------
aptdaemon (0.45+bzr852-0ubuntu2) quantal; urgency=low

  * debian/patches/fix_gettext_return_value_type.patch: also return unicode
    from aptdaemon.utils.IsoCodes.get_localised_name(). (LP: #1034806)
 -- Steve Langasek <steve.langasek at ubuntu.com>   Sat, 11 Aug 2012 01:39:05 +0000

** Branch linked: lp:ubuntu/aptdaemon

** Changed in: aptdaemon (Ubuntu)
       Status: Invalid => Fix Released

** Branch linked: lp:~vorlon/aptdaemon/lp.1034806

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1034806

Title:
  aptd crashed with UnicodeDecodeError in _emit_acquire_item(): 'ascii'
  codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “aptdaemon” source package in Precise:
  Fix Committed

Bug description:
  [Impact]
  Regression introduced in the previous SRU because a format string is now a unicode while one of the arguments is still a string.  This generally causes aptd to crash for all users who are running in a locale where either their language name or the name of the English language contains non-ASCII characters.

  [Test case]
  1. Using gnome-language-selector, install the Russian langpack and make it the system default.
  2. Install aptdaemon from precise-proposed.
  3. Run update-manager and choose "Update" (listed as "Проверить")
  4. Verify that aptdaemon does not crash, and the package lists are updated successfully from the 

  [Regression potential]
  Minimal.  The patch includes a test case, which has been manually run to verify it succeeds and there are no other regressions in the test suite (the test suite is not run at build time in precise).  This is a fix for a regression introduced in a previous -proposed upload, and the bug can be considered resolved as soon as the problem is confirmed to be addressed in precise-proposed.

  just crashed, don't know why, lol.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: aptdaemon 0.43+bzr805-0ubuntu3
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
  Uname: Linux 3.2.0-29-generic x86_64
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  Date: Thu Aug  9 13:27:54 2012
  ExecutablePath: /usr/sbin/aptd
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/sbin/aptd
  ProcEnviron:

  PythonArgs: ['/usr/sbin/aptd']
  SourcePackage: aptdaemon
  Title: aptd crashed with UnicodeDecodeError in _emit_acquire_item(): 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1034806/+subscriptions




More information about the foundations-bugs mailing list