[Bug 1172740] Re: Quantal->Raring: UnicodeDecodeError: in NotEnoughFreeSpaceError

Michael Vogt michael.vogt at canonical.com
Thu Apr 24 11:23:22 UTC 2014


I can (finally) reproduce this crash with the following commands:
# chroot clean-saucy-chroot
# apt-get install ubuntu-release-upgrader language-pack-ru vim-tiny
# export LC_ALL=ru_RU.UTF-8
# export LANG=en_US.UTF-8
# export LANGUAGE=en_US
# do-release-upgrade
ctrl-c
# cd /tmp/ubuntu-release-upgrader-*
# vi DistUpgradeCache.py in line 1139 go from 50 to 5000000
# ./dist-upgrade.py
this trigges the crash for me. Different values may not trigger it

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

Title:
  Quantal->Raring: UnicodeDecodeError:  in NotEnoughFreeSpaceError

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Triaged

Bug description:
  Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-o9yy3k/raring", line 10, in
  <module>
  sys.exit(main())

  File
  "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeMain.py",
  line 240, in main
  if app.run():

  File
  "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py",
  line 1777, in run
  return self.fullUpgrade()

  File
  "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py",
  line 1734, in fullUpgrade
  if not self.askDistUpgrade():

  File
  "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py",
  line 968, in askDistUpgrade
  if not self._checkFreeSpace():

  File
  "/tmp/ubuntu-release-upgrader-o9yy3k/DistUpgrade/DistUpgradeController.py",
  line 945, in _checkFreeSpace
  required.dir))

  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
  1: ordinal not in range(128)
  === Command detached from window (Thu Apr 25 16:39:54 2013) ===

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: ubuntu-release-upgrader-core 1:0.190.6
  ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
  Uname: Linux 3.5.0-27-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: i386
  Date: Thu Apr 25 16:49:19 2013
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=nb_NO.UTF-8
   LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to quantal on 2013-04-25 (0 days ago)

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



More information about the foundations-bugs mailing list