** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04
** Changed in: apt-clone (Ubuntu)
Milestone: trusty-updates => None
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: In Progress = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to
I added bug #1278280 as a duplicate, because I think it is the same
issue it has the same symptoms and test case.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error
Looking closer, the traceback on those bugs is different. It's a similar
Unicode issue, but maybe not the exact same one. I made them duplicates
of bug #1243795 instead.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Yes, we would need to update the Trusty version of ubuntu-release-
upgrader for people to get the newest version of apt-clone. However, it
is only necessary for people upgrading from Saucy to Trusty. I went
looking for failures like this for people upgrading from Saucy to Trusty
in the Ubuntu
Is there anything left to do for the ubuntu-release-upgrader task of
this bug?
Michael said in comment #22, The release-upgrader needs to be
rebuild/uploaded with this fix (and a updated build-dependency to ensure
that really the latest version with the fix of apt-clone is made part of
the
I've tested the apt-clone part of this fix by running LANG=''
test_lp1309447.py on a 14.04 system with the version of apt-clone from
the release pocket and observed a traceback. I then installed the
version of apt-clone from -proposed and ran the same test and did not
receive a traceback.
**
This bug was fixed in the package apt-clone - 0.3.1~ubuntu11.1
---
apt-clone (0.3.1~ubuntu11.1) trusty-proposed; urgency=medium
* Resolve unicode decode error for sources.list files if locale is
unsupported. (LP: #1309447)
-- Brian Murray br...@ubuntu.com Wed, 20 Aug 2014
Hello Mekk, or anyone else affected,
Accepted apt-clone into trusty-proposed. The package will build now and
be available at http://launchpad.net/ubuntu/+source/apt-
clone/0.3.1~ubuntu11.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
** Branch linked: lp:ubuntu/trusty-proposed/apt-clone
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list contains
non-ascii
@Michael - Do you have any ideas on how we can test the apt-clone part
of this fix? We need to get the fixed apt-clone into trusty for the
release-upgrader to use it, if I understand things correctly.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Changed in: apt-clone (Ubuntu)
Assignee: Michael Vogt (mvo) = Brian Murray (brian-murray)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to
** Branch linked: lp:~ubuntu-branches/ubuntu/utopic/apt-clone/utopic-
proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if
This bug was fixed in the package apt-clone - 0.3.1~ubuntu12
---
apt-clone (0.3.1~ubuntu12) utopic; urgency=medium
[ Brian Murray ]
* Add an option to replace the mirror used in /etc/apt/sources.list with one
of your choosing. (LP: #1290584)
* debian/tests/control: add in
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Fix Committed = In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to
I am still getting the same error even when I start the upgrader with
`do-release-upgrade -p` from saucy:
File
/tmp/ubuntu-release-upgrader-qwht26/DistUpgrade/sourceslist.py,
line 254, in str
line += # + self.comment
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
27:
I should also add that I have no-non ascii characters in my
sources.list. I get this error even when I delete all the sources.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode
Thanks Brian and Mathew and sorry for the trouble. The issue is not
actually the release upgrader but the apt-clone file its including. The
push a branch to lp:~mvo/apt-clone/lp1324833 that fixes the bug. The
release-upgrader needs to be rebuild/uploaded with this fix (and a
updated
I confirm my own comment #18 that this really did fail.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list contains
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Fix Committed = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Fix Released = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade
** Tags added: trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list contains
non-ascii characters and locale is non-US
To test the version of the release upgrader from the -proposed
repository you need to use 'do-release-upgrade -p'.
** Tags removed: verification-failed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
I've test this myself using the test case from the bug description and
'do-release-upgrade -p' and it did in fact fail.
I noticed the following traceback in my log file:
2014-05-05 10:59:56,198 INFO Using config files '['./DistUpgrade.cfg']'
2014-05-05 10:59:56,198 INFO uname information: 'Linux
How do you test in Trusty? When I run
do-release-upgrade -p
I get No new release found
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if
@Matthew - sorry if you are running trusty then you just use 'do-
release-upgrade -d' as the fix is in the main pocket for utopic. If you
are using saucy then you need to use 'do-release-upgrade -p' to download
the release upgrader from the trusty -proposed pocket.
--
You received this bug
** Branch linked: lp:~mvo/apt-clone/lp1309447
** Branch linked: lp:~mvo/ubuntu-release-upgrader/lp1309447
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during
Still crashes in Trusty with http://launchpad.net/ubuntu/+source/ubuntu-
release-upgrader/1:0.220.3
I used the test case in the bug description and ran the command
LANG=fr_FR.utf8 do-release-upgrade -d
** Attachment added: Output.txt
This bug was fixed in the package ubuntu-release-upgrader - 1:14.10.2
---
ubuntu-release-upgrader (1:14.10.2) utopic; urgency=low
* debian/test/control:
- add missing pep8 test dependency
* tests/test_xorg_fix_intrepid.py:
-
-- Michael Vogt michael.v...@ubuntu.com Sat,
Hello Mekk, or anyone else affected,
Accepted ubuntu-release-upgrader into trusty-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:0.220.3 in a few hours, and then in the
-proposed repository.
Please help us by testing this
** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-release-upgrader
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list
** This bug is no longer a duplicate of bug 1243795
do-release-upgrade crashed with UnicodeDecodeError in
runPostInstallScripts(): 'ascii' codec can't decode byte 0xe2 in position 15:
ordinal not in range(128)
--
You received this bug notification because you are a member of Ubuntu
Bugs,
*** This bug is a duplicate of bug 1243795 ***
https://bugs.launchpad.net/bugs/1243795
Bug #1243795 - the same exactly ?
** This bug has been marked a duplicate of bug 1243795
do-release-upgrade crashed with UnicodeDecodeError in
runPostInstallScripts(): 'ascii' codec can't decode byte
Thanks Jibel and Brian - I can only reproduce this if I do not have
language-pack-fr installed on precise.
If that is the case, then the command output is:
$ python -c 'import sys;print(sys.getfilesystemencoding())'
ANSI_X3.4-1968
and that leads python to fail with the above stacktrace.
--
You
I pushed a branch lp:~mvo/apt-clone/lp1309447 that contains a
testcase, however, I can only make it work if:
http://bazaar.launchpad.net/~mvo/apt-
clone/lp1309447/view/head:/tests/test_lp1309447.py#L11
the locale is set to something unsupported or non-utf8, i.e. if the
I pushed a fix for the issues I was able to reproduce here:
lp:~mvo/ubuntu-release-upgrader/lp1309447
it will use C.UTF-8 when the LANG is unset or set to C to ensure that the
release upgrader does not fall over on a utf8 sources.list file.
** Changed in: apt-clone (Ubuntu)
Status:
** Description changed:
TEST CASE:
1. On Saucy or Precise add non-ascii characters to the file
/etc/apt/sources.list like:
# Français accentué
deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main
The crash is actually in apt-clone.
** Package changed: ubuntu-release-upgrader (Ubuntu) = apt-clone
(Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error
Here's a patch I don't have 100% confidence in although it does work.
I'm cautious because of the work done to fix bug
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-
upgrader/+bug/1212025.
** Patch added: bug-1309447.patch
From the comment which I see in this patch (open in unicode mode...),
it looks like somebody intended to go towards handling file content as
unicode. Your patch reverts it towards binary. Maybe it would be better
to attempt input decoding (guessing the encoding somehow, at least
considering utf-8
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
Title:
Unicode decode error during upgrade to 14.04 if sources.list contains
non-ascii characters and locale is non-US
42 matches
Mail list logo