Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Re: portage unicode problem
Date: Thu, 03 Sep 2009 03:21:22
Message-Id: 20090903083054.GC26654@gentoo.org
In Reply to: [gentoo-alt] Re: portage unicode problem by Markus Duft
1 On 03-09-2009 10:27:34 +0200, Markus Duft wrote:
2 > Zac Medico wrote:
3 > > Markus Duft wrote:
4 > >> File
5 > >> "/opt/gentoo/usr/lib/portage/pym/portage/elog/mod_save_summary.py", line
6 > >> 30, in process
7 > >> {"pid": os.getpid(), "time": time.strftime("%Y-%m-%d %H:%M:%S %Z",
8 > >> time.localtime(time.time())), "pkg": key})
9 > >> File "/opt/gentoo/usr/lib/python2.6/codecs.py", line 686, in write
10 > >> return self.writer.write(data)
11 > >> File "/opt/gentoo/usr/lib/python2.6/codecs.py", line 351, in write
12 > >> data, consumed = self.encode(object, self.errors)
13 > >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 71:
14 > >> ordinal not in range(128)
15 > >
16 > > Hopefully the attached patch fixes it.
17 > >
18 >
19 > Yeah that worked, thanks! Will you apply to svn? Thanks!
20
21 He already did, I'll sync and release it for you tonight
22
23
24 --
25 Fabian Groffen
26 Gentoo on a different level