[Bug 926340] Re: aptd crashed with UnicodeDecodeError in _set_error(): 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)

luis mendes lufifeme at hotmail.com
Sun Sep 2 11:44:34 UTC 2012


** Changed in: aptdaemon (Ubuntu)
     Assignee: (unassigned) => luis mendes (lufifeme)

-- 
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/926340

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

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

Bug description:
  [Impact] Widespread crashes instead of proper error messages any time something goes wrong with aptdaemon.
  [Test Case] Make sure you have the appropriate language pack installed, for some locale that uses a lot of non-ASCII characters (I chose Japanese).  To make it easier to see the error in action, kill any currently-running aptd processes, and run 'sudo /usr/sbin/aptd' in one terminal.  In another terminal, run 'LC_ALL=ja_JP.UTF-8 LANGUAGE= aptdcon --install germinat' (typo intentional).  With a broken aptdaemon version, this will cause aptd to crash.  If you're running 12.10, then to provoke this bug you need to run aptd using python rather than the default python3.
  [Regression Potential] I think we just need to make sure that translated messages are still displayed correctly.

  Original report follows:

  i got same bug on ubuntu 12.04

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: aptdaemon 0.43+bzr769-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-12.21-ux31 3.2.2
  Uname: Linux 3.2.0-12-ux31 x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Fri Feb  3 22:03:36 2012
  DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
  ExecutablePath: /usr/sbin/aptd
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120125)
  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 _set_error(): 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
  UpgradeStatus: Upgraded to precise on 2012-02-03 (0 days ago)
  UserGroups:

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




More information about the foundations-bugs mailing list