Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] portage unicode problem
Date: Wed, 02 Sep 2009 10:05:20
Message-Id: 20090902151359.GF17247@gentoo.org
In Reply to: [gentoo-alt] portage unicode problem by Markus Duft
1 On 02-09-2009 16:23:40 +0200, Markus Duft wrote:
2 > "/opt/gentoo/usr/lib/portage/pym/portage/elog/mod_save_summary.py", line
3 > 30, in process
4 > {"pid": os.getpid(), "time": time.strftime("%Y-%m-%d %H:%M:%S %Z",
5 > time.localtime(time.time())), "pkg": key})
6 > File "/opt/gentoo/usr/lib/python2.6/codecs.py", line 686, in write
7 > return self.writer.write(data)
8 > File "/opt/gentoo/usr/lib/python2.6/codecs.py", line 351, in write
9 > data, consumed = self.encode(object, self.errors)
10 > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 71:
11 > ordinal not in range(128)
12 >
13 >
14 > i have no idea what triggers this, but it must be related to the recent
15 > unicode changes in portage i believe.
16 >
17 > anybody else seeing this?
18
19 no, but I guess zmedico would be happy to see this (as bug) and fix it.
20
21
22 --
23 Fabian Groffen
24 Gentoo on a different level