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

Mathew Hodson mathew.hodson at gmail.com
Sat Aug 23 02:14:43 UTC 2014


** No longer affects: python-apt (Debian)

** Bug watch removed: Debian Bug tracker #750120
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750120

-- 
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:
  Fix Released
Status in “ubuntu-release-upgrader” source package in Trusty:
  Fix Released

Bug description:
  [Test Case]
  # 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

  Observe a Traceback ending with a UnicodeDecodeError in _checkFreeSpace()
  To test the package in -proposed you'll need to use do-release-upgrade -p and switch to the new ubuntu-release-upgrader-* directory and make the modifications there.

  Original Report
  ---------------
  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: BugDistroRelease: 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:enSourcePackage: 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