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 1P6n1M-0005TY-Gu for garchives@archives.gentoo.org; Fri, 15 Oct 2010 16:20:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C317BE079A; Fri, 15 Oct 2010 16:20:04 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id A0A33E079A for ; Fri, 15 Oct 2010 16:20:04 +0000 (UTC) Received: by gyg8 with SMTP id 8so868154gyg.40 for ; Fri, 15 Oct 2010 09:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=Mupr77ADABaAy/SXIWgV7zq2qS0SwyII/cOblKen4lw=; b=NB0eyjIQz4lqLc3SMv4WNeV4eJLFkhOdnI/YpFzV3V7wHG5XO09Y4IMMsol8ZqZ/6j BW2MQDFPZY66jkjwF8Sg2Gw4vfe4nBWjgL5dPYpjCIbSKzf8MByzaXt4sz0Ms6v1DgQv ikxVeKqAcpRs/IblO43w1vjzP4QRVWLjnCIck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=hF+zBeksOF/AIMmUASMmL9SDwE+EKYkb/neV+yb2k7+yIBkUhAintdhIEe2kuYIlvm L5O3PHJ0Z717pHS7QnL0tkzFUP/p+TzzBJWGWMdci/6nIEZyg2BEV9oDdmvHsSatP+Cc Yzmz+OLPMC6/00Gj7af8w5E8/6z43QU2XLUNM= Received: by 10.42.115.2 with SMTP id i2mr819583icq.112.1287159603267; Fri, 15 Oct 2010 09:20:03 -0700 (PDT) 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 Sender: fthtmn@gmail.com Received: by 10.231.19.71 with HTTP; Fri, 15 Oct 2010 09:19:32 -0700 (PDT) In-Reply-To: References: From: =?ISO-8859-1?Q?Fatih_T=FCmen?= Date: Fri, 15 Oct 2010 19:19:32 +0300 X-Google-Sender-Auth: pb7SeteBDuOjY-vkx2dPvcvu6kQ Message-ID: Subject: Re: [gentoo-user] emerge/python failure To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 340c3f11-b52f-4344-b79e-d2edc4f659cf X-Archives-Hash: 126e8ee5f31c43341d89368f7be9d2ec On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht wrote: > 2010/10/15 Fatih T=FCmen : >> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht wrot= e: >>> c2stable ~ # eix-sync >>> =A0* Running emerge --sync >>> Traceback (most recent call last): >>> =A0File "/usr/bin/emerge", line 43, in >>> =A0 =A0retval =3D emerge_main() >>> =A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_= main >>> =A0 =A0return action_sync(settings, trees, mtimedb, myopts, myaction) >>> =A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in acti= on_sync >>> =A0 =A0"//" + user_name + ip + port + "/", 1)) >>> TypeError: cannot concatenate 'str' and 'int' objects >>> =A0* emerge --sync failed >>> =A0* Time statistics: >>> =A0 =A0 4 seconds for syncing >>> =A0 =A0 4 seconds total >>> c2stable ~ # emerge --sync >>> Traceback (most recent call last): >>> =A0File "/usr/bin/emerge", line 43, in >>> =A0 =A0retval =3D emerge_main() >>> =A0File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in >>> emerge_main >>> =A0 =A0return action_sync(settings, trees, mtimedb, myopts, myaction) >>> =A0File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in >>> action_sync >>> =A0 =A0"//" + user_name + ip + port + "/", 1)) >>> TypeError: cannot concatenate 'str' and 'int' objects >>> c2stable ~ # eselect python list >>> Available Python interpreters: >>> =A0[1] =A0 python2.6 * >>> =A0[2] =A0 python3.1 >>> c2stable ~ # >>> >> >> At first sight it seems to me that someone made a typo in there.. =A0ip >> should be ips[0] >> Which specific version of portage and python are you using? >> >> -- >> =A0 =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 > > Got it, you hit the bug 340899 and its already fixed, just apply the patch http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a=3Dcommit;h=3D= c54c1af789b306a85e9d7e79fb54f02a05346616 -- Fatih