[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)

Jorge Suárez de Lis yo at jorgesuarezdelis.name
Mon Feb 11 08:24:39 UTC 2013


Is this actually fixed on 12.04? I got this message today.

$ aptdcon -i knotes
The following NEW packages will be installed (39):
  akonadi-backend-mysql akonadi-server kdepim-runtime kdepimlibs-kio-plugins knotes
  libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4
  libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4 libakonadiprotocolinternals1
  libboost-program-options1.46.1 libdmtx0a libkabc4 libkalarmcal2 libkcal4
  libkcalcore4 libkcalutils4 libkdepim4 libkholidays4 libkimap4 libkldap4 libkmbox4
  libkmime4 libkontactinterface4 libkpimidentities4 libkpimtextedit4 libkpimutils4
  libkresources4 libmailtransport4 libmicroblog4 libmysqlclient18 libprison0
  libqrencode3 libqt4-sql-mysql mysql-client-core-5.5 mysql-server-core-5.5
The following packages will be upgraded (2):
  libmysqlclient18:i386 mysql-common
Need to get 16.4 MB of archives.
After this operation, 62.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?Y
[+] 100% Fallou
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/console.py", line 210, in _on_exit
    trans.error_details)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 59: ordinal not in range(128)

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