From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P6mgf-00022G-Oq for garchives@archives.gentoo.org; Fri, 15 Oct 2010 15:59:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32BBBE04C1; Fri, 15 Oct 2010 15:58:57 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id DF8C4E09BC for ; Fri, 15 Oct 2010 15:58:56 +0000 (UTC) Received: by fxm8 with SMTP id 8so531555fxm.40 for ; Fri, 15 Oct 2010 08:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=941E32FVQLJp25aXXYi+2HlvRiODCZscRopNHDXXFvM=; b=w+tIeK9UpSSVeU6u+hYU+gcyD7T80zDmTJpiKyfzDqu55QeqEwLOVnNF6etUwhGN7Y irQkSGqFvcaS/NdGprGfft6WJB8po/BXCFGoh4XobQF89CjF9ZOko6FnaRsEhfi4fBC2 n27OysNmc0YVwOPaBNP59cEjHjH3D3slNrpK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j7pmWYfVDWco4CEVEMFTU6aNG+Aam11DxXPs60yqXZbIev3Tm06VAC0Afh9CT4U2w2 dwNh7kwUutY0/UDJV3CNAN0pBx6z22TycJ5VLxsF36wVnE4GndZ5Xfx+xRnboVErh61d 6Nw7Ubu7ZABmM/f6/+3/CYH3VbHI7kRYfEkJQ= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.136.27 with SMTP id v27mr1791807wei.12.1287158331429; Fri, 15 Oct 2010 08:58:51 -0700 (PDT) Received: by 10.216.3.138 with HTTP; Fri, 15 Oct 2010 08:58:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 15 Oct 2010 08:58:51 -0700 Message-ID: Subject: Re: [gentoo-user] emerge/python failure From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 2d303c55-9a03-43d3-b26c-8f684678dcf2 X-Archives-Hash: 8d8bdbdef7fa7ac530f648013dcb6b92 2010/10/15 Fatih T=C3=BCmen : > On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht wrote= : >> c2stable ~ # eix-sync >> =C2=A0* Running emerge --sync >> Traceback (most recent call last): >> =C2=A0File "/usr/bin/emerge", line 43, in >> =C2=A0 =C2=A0retval =3D emerge_main() >> =C2=A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerg= e_main >> =C2=A0 =C2=A0return action_sync(settings, trees, mtimedb, myopts, myacti= on) >> =C2=A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in ac= tion_sync >> =C2=A0 =C2=A0"//" + user_name + ip + port + "/", 1)) >> TypeError: cannot concatenate 'str' and 'int' objects >> =C2=A0* emerge --sync failed >> =C2=A0* Time statistics: >> =C2=A0 =C2=A0 4 seconds for syncing >> =C2=A0 =C2=A0 4 seconds total >> c2stable ~ # emerge --sync >> Traceback (most recent call last): >> =C2=A0File "/usr/bin/emerge", line 43, in >> =C2=A0 =C2=A0retval =3D emerge_main() >> =C2=A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in >> emerge_main >> =C2=A0 =C2=A0return action_sync(settings, trees, mtimedb, myopts, myacti= on) >> =C2=A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in >> action_sync >> =C2=A0 =C2=A0"//" + user_name + ip + port + "/", 1)) >> TypeError: cannot concatenate 'str' and 'int' objects >> c2stable ~ # eselect python list >> Available Python interpreters: >> =C2=A0[1] =C2=A0 python2.6 * >> =C2=A0[2] =C2=A0 python3.1 >> c2stable ~ # >> > > At first sight it seems to me that someone made a typo in there.. =C2=A0i= p > should be ips[0] > Which specific version of portage and python are you using? > > -- > =C2=A0 =C2=A0Fatih Hi Fatih, It seems that the failure (so far) is only with syncing and not with using the tools to look at the system. That's good. c2stable ~ # eix -Ic python [I] app-admin/eselect-python (20100321@05/26/10): Eselect module for management of multiple Python versions [I] app-admin/python-updater (0.8@05/18/10): Script used to remerge python packages when changing Python version. [I] dev-lang/python (2.6.5-r3(2.6)[1]@10/12/10 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive, object-oriented programming language. Note that it seems the 2.6.5-r3 version is coming from the Pentoo overlay if it makes a difference. c2stable ~ # eix -Ic portage [I] app-portage/portage-utils (0.3.1@06/11/10): small and fast portage helper tools written in C [I] sys-apps/portage (2.2_rc95@10/13/10): Portage is the package management and distribution system for Gentoo Found 2 matches. c2stable ~ # As for syncing individually it's just an old-dog, new-trick thing. I've done it this way for years and somehow never got in the swing of doing anything else. Thanks for looking at the code. That's beyond my scope of expertise. - Mark