[Bug 929399] Re: do-release-upgrade crashed with UnicodeDecodeError in __main__: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Tue Feb 21 10:00:05 UTC 2012


Thanks for your report Daniel.

This is reproducible by installing a German locale then running:
LANGUAGE=de:en LC_ALL=C do-release-upgrade --help

(which is how the system is set according to proc/environ)


** Changed in: update-manager (Ubuntu)
       Status: New => Triaged

** Changed in: update-manager (Ubuntu)
     Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)

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

Title:
  do-release-upgrade crashed with UnicodeDecodeError in __main__:
  'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in
  range(128)

Status in “update-manager” package in Ubuntu:
  Triaged

Bug description:
  I triggered the crash by running:

    LC_ALL=C do-release-upgrade --help

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: update-manager-core 1:0.156.4
  ProcVersionSignature: Ubuntu 3.2.0-14.23-generic 3.2.3
  Uname: Linux 3.2.0-14-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  CheckboxSubmission: 2f383a1679e8525d7196eb2518a1921f
  CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
  Date: Thu Feb  9 09:58:58 2012
  ExecutablePath: /usr/bin/do-release-upgrade
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1327602597
   com.ubuntu.update-manager window-height 600
   com.ubuntu.update-manager window-width 600
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110817)
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python /usr/bin/do-release-upgrade --help
  PythonArgs: ['/usr/bin/do-release-upgrade', '--help']
  SourcePackage: update-manager
  Title: do-release-upgrade crashed with UnicodeDecodeError in __main__: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)
  Traceback:
   Traceback (most recent call last):
     File "/usr/bin/do-release-upgrade", line 46, in <module>
       help=_("Show version and exit").decode(enc))
   UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 36: ordinal not in range(128)
  UpgradeStatus: Upgraded to precise on 2012-01-12 (27 days ago)
  UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/929399/+subscriptions




More information about the foundations-bugs mailing list