Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Alan Hourihane <alanh@...>
Subject: Re: portage bug ?
Date: Wed, 31 Aug 2011 10:28:12 +0100
On 08/31/11 01:13, Alan Hourihane wrote:
> On 08/29/11 20:05, Fabian Groffen wrote:
>> On 29-08-2011 11:42:03 +0200, Fabian Groffen wrote:
>>> On 29-08-2011 11:30:46 +0200, Burcin Erocal wrote:
>>>>>     "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1]
>>>>> TypeError: not all arguments converted during string formatting
>>>> I also ran into this last week. The following patch fixes the problem for me. It seems to be introduced in the prefix version of portage.
>>>>
>>> Thanks, there was a bug about it, I now see there is a ) missing.  I'll
>>> apply your patch soon.
>> I've been looking at default, and didn't find extra parenthesis there,
>> so I tried the following.  Does that work for you?
>>
>> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commitdiff;h=749ef8e20137bede1a9824448b2676224b06f71b;hp=5b6156b085ab5ae518fa6c4ed9b2e2c5b75fd184
>> or
>> http://prefix.gentooexperimental.org:8000/portage-prefix/rev/4e2a4854863a
>>
> Didn't work.....
>
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 44, in <module>
>     retval = emerge_main()
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 1909, in emerge_main
>     trees, mtimedb, retval)
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 370, in post_emerge
>     infodirs, info_mtimes, retval)
>   File "/j/usr/lib/portage/pym/_emerge/main.py", line 164, in
> chk_updated_info_files
>     "--dir-file=%s/dir %s/%s" % (_unicode_decode(EPREFIX), inforoot,
> inforoot, x))[1]
> TypeError: not all arguments converted during string formatting
>
>
Using this seemed to work ....

"--dir-file="+EPREFIX+inforoot+"/dir "+EPREFIX+inforoot+"/"+x)[1]

Alan.


Replies:
Re: portage bug ?
-- Alan Hourihane
References:
portage bug ?
-- Alan Hourihane
Re: portage bug ?
-- Burcin Erocal
Re: portage bug ?
-- Fabian Groffen
Re: portage bug ?
-- Fabian Groffen
Re: portage bug ?
-- Alan Hourihane
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: portage bug ?
Next by thread:
Re: portage bug ?
Previous by date:
Re: portage bug ?
Next by date:
Re: portage bug ?


Updated Jun 07, 2012

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.