** 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 i
** 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 cont
** 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 14.
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.
https://bugs.laun
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 du
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 Erro
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 releas
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 MurrayWed, 20 Aug 2014 14:21:21 -0700
**
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.
** Ta
** 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 c
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
https
@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 subscrib
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 mi
** 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 sources.li
** 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
** 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 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 de
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
2
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 build-dependenc
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
non-ascii
** 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 t
** 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 t
** 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
@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 notifi
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 i
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
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 Ubuntu.
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"
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+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 up
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 VogtSat, 03 May 2014 08:37:51 +0
** 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 contains
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 ne
** 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, whi
*** 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 0x
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: Triag
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
sys.getfilesystemencoding
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.
--
Yo
>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-
** 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
T
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"
https://bugs.launchpad.net/ubuntu/+source/apt-clone/+bug/1
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 duri
** 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 restr
** Description changed:
- do-release-upgrade fails as below. I am using Polish utf-8 locale, so I
- suspect something called reports error in Polish with non-ascii
- characters...
+ TEST CASE:
+ 1. On Saucy or Precise add non-ascii characters to the file
/etc/apt/sources.list like:
+ # França
I can reproduce if I set a non-US locale like fr_FR.utf8. Setting to
triage.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Incomplete => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.n
(the latter caused by mate and cinnamon installed from PPA)
OK, this bug is about unicodedecodeerror when non-ascii comment is
present in /etc/apt/sources.list
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net
I cannot reproduce by just adding this comment, could you restore this
file as it was when this crash occurred and attach it to this bug
report?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309447
T
I found the reason: I had polish character in comment in
/etc/apt/sources.list. Just sth like:
# Wyłączone w trakcie upgrade do saucy
deb
(after I removed this comment, the error went away, now I get „can't
calculate upgrade” but that's another story)
--
You received this bug notification
Thanks for your report.
Could you open a terminal and run the command:
find /etc/apt
and paste the output in this bug report? Thanks.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => High
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Incomplete
48 matches
Mail list logo