13.10 to 14.04 upgrade: UnicodeEncodeError: 'ascii' codec can't encode character u'\xab' in position 13: ordinal not in range(128) Logged from file DistUpgradeCache.py, line 661 in apt.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
TEST CASE:
- install raring and ubuntu-
- use a language like de, it or fr
- run do-release-upgrader --frontend DistUpgradeViewText
- verify that you see a error message in apt.log as described in the bug (unfortunately not everyone can reproduce this issue, I reproduced it by editing DistUpgradeCache.py to always throw a blacklisted package expection)
- if the error does not show up, canncel the upgrade, run "vi /tmp/*/
- run the upgrade using "do-release-upgrade --proposed --frontend DistUpgradeView
- verify that there is no exception in apt.log
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.11.0-15-generic i686
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: i386
CrashDB: ubuntu
Date: Sat Apr 19 19:50:56 2014
MarkForUpload: True
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to saucy on 2014-04-19 (0 days ago)
Related branches
- Ubuntu branches: Pending requested
-
Diff: 81663 lines (+14939/-14920)130 files modifiedDistUpgrade/DistUpgradeApport.py (+8/-10)
DistUpgrade/DistUpgradeCache.py (+18/-4)
DistUpgrade/DistUpgradeMain.py (+1/-0)
DistUpgrade/DistUpgradeVersion.py (+1/-1)
DistUpgrade/DistUpgradeView.py (+6/-0)
DistUpgrade/DistUpgradeViewGtk3.py (+18/-9)
DistUpgrade/DistUpgradeViewText.py (+13/-4)
DistUpgrade/build-tarball.sh (+3/-3)
data/mirrors.cfg (+152/-0)
data/removal_blacklist.cfg (+1/-1)
debian/changelog (+64/-0)
po/af.po (+124/-126)
po/am.po (+125/-127)
po/an.po (+126/-128)
po/ar.po (+122/-124)
po/ast.po (+119/-121)
po/az.po (+124/-126)
po/be.po (+125/-127)
po/bg.po (+122/-124)
po/bn.po (+119/-121)
po/bo.po (+122/-124)
po/br.po (+124/-126)
po/bs.po (+119/-121)
po/ca.po (+122/-124)
po/ca@valencia.po (+135/-131)
po/ceb.po (+129/-131)
po/ckb.po (+126/-128)
po/crh.po (+122/-124)
po/cs.po (+122/-124)
po/csb.po (+124/-126)
po/cv.po (+129/-131)
po/cy.po (+127/-129)
po/da.po (+119/-121)
po/de.po (+119/-121)
po/dv.po (+126/-128)
po/el.po (+122/-124)
po/en_AU.po (+153/-155)
po/en_CA.po (+153/-155)
po/en_GB.po (+139/-141)
po/eo.po (+120/-122)
po/es.po (+122/-124)
po/et.po (+125/-127)
po/eu.po (+122/-124)
po/fa.po (+129/-131)
po/fi.po (+121/-123)
po/fil.po (+127/-129)
po/fo.po (+126/-128)
po/fr.po (+122/-124)
po/fr_CA.po (+122/-124)
po/fur.po (+127/-129)
po/fy.po (+126/-128)
po/ga.po (+129/-131)
po/gd.po (+119/-121)
po/gl.po (+122/-124)
po/gu.po (+129/-131)
po/gv.po (+129/-131)
po/he.po (+119/-121)
po/hi.po (+122/-124)
po/hr.po (+119/-121)
po/hu.po (+122/-124)
po/hy.po (+129/-131)
po/id.po (+123/-125)
po/is.po (+127/-129)
po/it.po (+123/-125)
po/ja.po (+119/-121)
po/jv.po (+129/-131)
po/ka.po (+124/-126)
po/kk.po (+125/-127)
po/km.po (+122/-124)
po/kn.po (+126/-128)
po/ko.po (+119/-121)
po/ku.po (+124/-126)
po/ky.po (+129/-131)
po/lb.po (+129/-131)
po/lo.po (+129/-131)
po/lt.po (+119/-121)
po/lv.po (+119/-121)
po/mhr.po (+129/-131)
po/mk.po (+124/-126)
po/ml.po (+126/-128)
po/mn.po (+126/-128)
po/mr.po (+126/-128)
po/ms.po (+122/-124)
po/mus.po (+129/-131)
po/my.po (+126/-128)
po/nb.po (+119/-121)
po/nds.po (+126/-128)
po/ne.po (+126/-128)
po/nl.po (+119/-121)
po/nn.po (+122/-124)
po/oc.po (+122/-124)
po/pa.po (+124/-126)
po/pl.po (+119/-121)
po/ps.po (+129/-131)
po/pt.po (+126/-128)
po/pt_BR.po (+119/-121)
po/qu.po (+129/-131)
po/ro.po (+124/-126)
po/ru.po (+122/-124)
po/rw.po (+129/-131)
po/sc.po (+129/-131)
po/sco.po (+127/-129)
po/sd.po (+126/-128)
po/se.po (+129/-131)
po/shn.po (+129/-131)
po/si.po (+127/-129)
po/sk.po (+119/-121)
po/sl.po (+119/-121)
po/sq.po (+119/-121)
po/sr.po (+125/-127)
po/sv.po (+177/-179)
po/ta.po (+126/-128)
po/ta_LK.po (+126/-128)
po/te.po (+122/-124)
po/tg.po (+129/-131)
po/th.po (+122/-124)
po/tl.po (+124/-126)
po/tr.po (+119/-121)
po/ug.po (+120/-122)
po/uk.po (+119/-121)
po/ur.po (+129/-131)
po/uz.po (+126/-128)
po/vi.po (+122/-124)
po/xh.po (+129/-131)
po/zh_CN.po (+119/-121)
po/zh_HK.po (+119/-121)
po/zh_TW.po (+119/-121)
po/zu.po (+129/-131)
utils/demoted.cfg (+9/-2)
utils/demoted.cfg.precise (+5/-18)
Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → trusty-updates |
Changed in ubuntu-release-upgrader (Ubuntu): | |
milestone: | trusty-updates → none |
status: | Confirmed → Triaged |
description: | updated |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu Trusty): | |
status: | Fix Committed → In Progress |
tags: |
added: verification-done removed: verification-needed |
From apt.log:
Traceback (most recent call last): python2. 7/logging/ __init_ _.py", line 851, in emit python2. 7/logging/ __init_ _.py", line 724, in format python2. 7/logging/ __init_ _.py", line 464, in format python2. 7/logging/ __init_ _.py", line 328, in getMessage e.py, line 661
File "/usr/lib/
msg = self.format(record)
File "/usr/lib/
return fmt.format(record)
File "/usr/lib/
record.message = record.getMessage()
File "/usr/lib/
msg = msg % self.args
UnicodeEncodeError: 'ascii' codec can't encode character u'\xab' in position 13: ordinal not in range(128)
Logged from file DistUpgradeCach