[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

C de-Avillez hggdh2 at ubuntu.com
Fri Oct 19 18:34:18 UTC 2012


** Description changed:

- = Test Case = 
+ = Test Case =
  1. install precise
- 2. use a language like german or french
- 3. run sudo do-release-upgrade --fronted=DistUpgradeViewText
- 4. on the "Forsetzen" (continue) prompt press "d"
- 5. verify FAIL with a UnicodeEncodeError as seen below
- 6. run sudo do-release-upgrade --proposed --frontend=DistUpgradeViewText
- 7. repeat 4
- 8. verify not FAIL
+ 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. on the "Forsetzen" (continue) prompt press "d"
+ 6. verify FAIL with a UnicodeEncodeError as seen below
+ 7. run sudo do-release-upgrade --proposed --frontend=DistUpgradeViewText
+ 8. repeat 4
+ 9. 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

-- 
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:
  In Progress
Status in “ubuntu-release-upgrader” source package in Quantal:
  Fix Committed

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. on the "Forsetzen" (continue) prompt press "d"
  6. verify FAIL with a UnicodeEncodeError as seen below
  7. run sudo do-release-upgrade --proposed --frontend=DistUpgradeViewText
  8. repeat 4
  9. 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