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
On 24-06-2008 11:41:09 -0500, Jeremy Olexa wrote:
> > Can't seem to reproduce. Can you give the backtrace with 10770? > > It will only fail if the pkg isn't in the world file already.
I used -av in addition to your command. I can try without...
> %% emerge --noreplace gcc:4.2 > Calculating dependencies... done! > Traceback (most recent call last): > File "/home/jolexa/portage/linux-64/usr/bin/emerge", line 20, in <module> > retval = _emerge.emerge_main() > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py", > line 9542, in emerge_main > myopts, myaction, myfiles, spinner) > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py", > line 8874, in action_build > mydepgraph.saveNomergeFavorites() > File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/_emerge/__init__.py", > line 5375, in saveNomergeFavorites > colorize("INFORM", a)
a looks like it indeed is an atom, which cannot be converted to a string or something?!?
> File "/home/jolexa/portage/linux-64/usr/lib/portage/pym/portage/output.py", > line 304, in colorize > return codes[color_key] + text + codes["reset"] > TypeError: cannot concatenate 'str' and 'Atom' objects
-- Fabian Groffen Gentoo on a different level -- gentoo-alt@l.g.o mailing list