Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] portage bug ?
Date: Mon, 29 Aug 2011 09:42:13
Message-Id: 20110829094203.GA32672@gentoo.org
In Reply to: Re: [gentoo-alt] portage bug ? by Burcin Erocal
1 On 29-08-2011 11:30:46 +0200, Burcin Erocal wrote:
2 > > "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1]
3 > > TypeError: not all arguments converted during string formatting
4 >
5 > 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.
6 >
7
8 Thanks, there was a bug about it, I now see there is a ) missing. I'll
9 apply your patch soon.
10
11
12 > --- prefix-portage-2.2.01.19011.org/pym/_emerge/main.py 2011-08-24 13:55:50.326357336 +0200
13 > +++ prefix-portage-2.2.01.19011.1/pym/_emerge/main.py 2011-08-24 17:42:24.960793637 +0200
14 > @@ -160,8 +160,8 @@
15 > del e
16 > processed_count += 1
17 > myso = portage.subprocess_getstatusoutput(
18 > - "LANG=C LANGUAGE=C %s/usr/bin/install-info " +
19 > - "--dir-file=%s/dir %s/%s" % (EPREFIX, inforoot, inforoot, x))[1]
20 > + ("LANG=C LANGUAGE=C %s/usr/bin/install-info " +
21 > + "--dir-file=%s/dir %s/%s") % (EPREFIX, inforoot, inforoot, x))[1]
22 > existsstr="already exists, for file `"
23 > if myso!="":
24 > if
25 > re.search(existsstr,myso):
26 >
27 >
28 >
29
30 --
31 Fabian Groffen
32 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] portage bug ? Fabian Groffen <grobian@g.o>