do-release-upgrade crashed in runPostInstallScripts() with UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 15: ordinal not in range(128)

Bug #1243795 reported by Timo Jyrinki on 2013-10-23
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Medium
Unassigned

Bug Description

I did saucy -> trusty upgrade. This appeared after I started the last (cleanup) phase.

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: ubuntu-release-upgrader-core 1:0.207
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CrashDB: ubuntu
Date: Wed Oct 23 19:42:21 2013
ExecutablePath: /usr/bin/do-release-upgrade
InstallationDate: Installed on 2012-03-16 (585 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /tmp/ubuntu-release-upgrader-kjbsc2/trusty --mode=server --frontend=DistUpgradeViewGtk3 --devel-release
PythonArgs: ['/usr/bin/do-release-upgrade', '--mode=server', '--frontend=DistUpgradeViewGtk3', '--devel-release']
SourcePackage: ubuntu-release-upgrader
Title: do-release-upgrade crashed with UnicodeDecodeError in runPostInstallScripts(): 'ascii' codec can't decode byte 0xe2 in position 15: ordinal not in range(128)
UpgradeStatus: Upgraded to trusty on 2013-10-23 (0 days ago)
UserGroups:

VarLogDistupgradeTermlog:

Timo Jyrinki (timo-jyrinki) wrote :
tags: removed: need-duplicate-check
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Triaged
Brian Murray (brian-murray) wrote :

The post install script being run was xorg_fix_proprietary, was was written to Mainlog.txt fine so it must be an issue with the exception being logged.

What i did to start upgrade:
-deleted sources.list.save
-deleted sources.list.distUpgrade
-renamed sources.list.d to sources.list.disabled
-created empty sources.list.d
-started upgrade LANG=en_US.UTF8 sudo do-release-upgrade -d

I don't know which step is really mandatory but it seems that .list files parser crashes upgrader, so it is better to leave a single minimal sources.list file for upgrade procedure and then return and update all custom .list files manually after upgrade.

fccoelho (fccoelho) wrote :

This bug is still there, even now.

anyone working on fixing this?

summary: - do-release-upgrade crashed with UnicodeDecodeError in
- runPostInstallScripts(): 'ascii' codec can't decode byte 0xe2 in
- position 15: ordinal not in range(128)
+ do-release-upgrade crashed in runPostInstallScripts() with
+ UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 15:
+ ordinal not in range(128)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers