[Bug 1068389] Re: P->Q - do-release-upgrade crashed with UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 1: ordinal not in range(128) in DistUpgrade/DistUpgradeViewText.py", line 143, in showInPager

Vaulter 1068389 at bugs.launchpad.net
Sun Sep 15 08:00:27 UTC 2013


$ do-release-upgrade -V
do-release-upgrade: version 0.156.14.9
$ cat /etc/issue
Ubuntu 12.04.3 LTS \n \l

$ sudo do-release-upgrade -d
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

still gives error when pressing details on russian locale


** Attachment added: "main.log"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1068389/+attachment/3821726/+files/main.log

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

Title:
  P->Q - do-release-upgrade crashed with UnicodeEncodeError: 'ascii'
  codec can't encode character u'\xbb' in position 1: ordinal not in
  range(128) in DistUpgrade/DistUpgradeViewText.py", line 143, in
  showInPager

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Fix Released
Status in “ubuntu-release-upgrader” source package in Quantal:
  Fix Released

Bug description:
  = Test Case =
  1. install precise
  2. edit /etc/update-manager/release-updates, and set 'Prompt=normal'
  3. use a language like german or french
  4. run sudo do-release-upgrade --frontend=DistUpgradeViewText
  5. You will be asked if you want to update your system (still on Precise). Answer 'oui' or 'ja', as the language may be. The process will now advance to grab the Quantal repositories
  6. on the "Forsetzen" (or "_Continuer" (continue) prompt press "d"
  7. verify FAIL with a UnicodeEncodeError as seen below
  8. Verify /etc/apt/sources.list and correct the entries to point to Precise (instead of Quantal) if needed
  9. run sudo do-release-upgrade --proposed --frontend=DistUpgradeViewText
  10. repeat 4-6 above
  11. verify not FAIL

  I started
    sudo do-release-upgrade
  in 12.04. After downloading new packages list and generating changes it asked me if I want to proceed or see details.:

     Fortsetzen [j/N]  Details [d]

  I pressed 'd' and do-release-upgrade crashed with stack trace, see the
  attached  /var/log/dist-upgrade/main.log

  ProblemType: BugDistroRelease: Ubuntu 12.04
  Package: update-manager-core 1:0.156.14.11
  ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
  Uname: Linux 3.2.0-32-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: i386
  Date: Fri Oct 19 01:51:57 2012
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1350454575
   com.ubuntu.update-manager show-details true
   com.ubuntu.update-manager window-height 574
   com.ubuntu.update-manager window-width 600
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/zshSourcePackage: update-manager
  UpgradeStatus: Upgraded to precise on 2012-10-18 (0 days ago)
  VarLogDistupgradeAptclonesystemstate.tar.gz: Error: [Errno 13] Keine Berechtigung: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
  mtime.conffile..etc.update.manager.release.upgrades: 2012-10-19T01:47:24.264454

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1068389/+subscriptions




More information about the foundations-bugs mailing list