Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] colorization errors with portage-2.2.00.10760
Date: Tue, 24 Jun 2008 17:00:48
Message-Id: 20080624170041.GN11162@gentoo.org
In Reply to: Re: [gentoo-alt] colorization errors with portage-2.2.00.10760 by Jeremy Olexa
1 On 24-06-2008 11:41:09 -0500, Jeremy Olexa wrote:
2 > > Can't seem to reproduce. Can you give the backtrace with 10770?
3 >
4 > It will only fail if the pkg isn't in the world file already.
5
6 I used -av in addition to your command. I can try without...
7
8 > %% emerge --noreplace gcc:4.2
9 > Calculating dependencies... done!
10 > Traceback (most recent call last):
11 > File "/home/jolexa/portage/linux-64/usr/bin/emerge", line 20, in <module>
12 > retval = _emerge.emerge_main()
13 > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py",
14 > line 9542, in emerge_main
15 > myopts, myaction, myfiles, spinner)
16 > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py",
17 > line 8874, in action_build
18 > mydepgraph.saveNomergeFavorites()
19 > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py",
20 > line 5375, in saveNomergeFavorites
21 > colorize("INFORM", a)
22
23 a looks like it indeed is an atom, which cannot be converted to a string
24 or something?!?
25
26 > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/portage/output.py",
27 > line 304, in colorize
28 > return codes[color_key] + text + codes["reset"]
29 > TypeError: cannot concatenate 'str' and 'Atom' objects
30
31
32 --
33 Fabian Groffen
34 Gentoo on a different level
35 --
36 gentoo-alt@l.g.o mailing list