[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2015-10-27 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2015-09-16 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2015-02-21 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-12-12 Thread Mathew Hodson
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-12-12 Thread Mathew Hodson
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.

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-10-24 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-10-23 Thread Mathew Hodson
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-09-18 Thread Brian Murray
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. **

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-09-18 Thread Launchpad Bug Tracker
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-26 Thread Chris J Arges
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-26 Thread Launchpad Bug Tracker
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-22 Thread Brian Murray
@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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-20 Thread Brian Murray
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-20 Thread Launchpad Bug Tracker
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-08-20 Thread Launchpad Bug Tracker
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-07-24 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-07-02 Thread fccoelho
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:

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-07-02 Thread fccoelho
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-06-06 Thread Michael Vogt
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-06-04 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-20 Thread christy
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-20 Thread Brian Murray
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-19 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-05 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-05 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-05 Thread Mathew Hodson
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-05 Thread Brian Murray
@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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-04 Thread Mathew Hodson
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-04 Thread Mathew Hodson
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-05-03 Thread Launchpad Bug Tracker
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,

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-29 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-29 Thread Launchpad Bug Tracker
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-28 Thread Brian Murray
** 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,

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-25 Thread Коренберг Марк
*** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-22 Thread Michael Vogt
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-22 Thread Michael Vogt
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-22 Thread Michael Vogt
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:

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-18 Thread Jean-Baptiste Lallement
** 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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-18 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-18 Thread Brian Murray
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-18 Thread Mekk
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

[Bug 1309447] Re: Unicode decode error during upgrade to 14.04 if sources.list contains non-ascii characters and locale is non-US

2014-04-18 Thread Ubuntu Foundations Team Bug Bot
** 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