[Bug 1172740] Re: Quantal->Raring: UnicodeDecodeError: in NotEnoughFreeSpaceError
Launchpad Bug Tracker
1172740 at bugs.launchpad.net
Thu Aug 21 20:48:00 UTC 2014
This bug was fixed in the package ubuntu-release-upgrader - 1:0.220.4
---------------
ubuntu-release-upgrader (1:0.220.4) trusty-proposed; urgency=low
* DistUpgrade/DistUpgradeCache.py:
- fix crash in free space check for certain locales (LP: #1172740)
- removal of essential packages that are not in the main arch
is ok (LP: #1307904)
- fix str/unicode crash in certain locales when a package is
found in the removal blacklist (LP: #1310053)
* DistUpgrade/DistUpgradeViewGtk3.py:
- make details dialog resize when details are expanded/collapsed
(LP: #1072460)
- load webkit only when needed
* DistUpgrade/DistUpgradeViewText.py:
- fix py3 crash in text mode
* DistUpgrade/DistUpgradeMain.py:
- log python version
* po/{eo,id,ug}.po:
- fix translations of check-new-release-gtk which cause a crash
(LP: #1311396)
* data/demoted.cfg:
- autmatic refresh of the demoted packages
* po/*.po:
- automatic refresh from launchpad
-- Michael Vogt <michael.vogt at ubuntu.com> Thu, 24 Apr 2014 14:57:39 +0200
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
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
Status in “python-apt” package in Debian:
Confirmed
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