From: "Fatih Tümen" <fthtmn+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge/python failure
Date: Fri, 15 Oct 2010 19:19:32 +0300 [thread overview]
Message-ID: <AANLkTim033b+jABkmMQ16TkeRLj3wLQmBvodtDcoUO6g@mail.gmail.com> (raw)
In-Reply-To: <AANLkTineQfV17JyJXsDJx-PF5bq75-4MR=rBQPY1hAaZ@mail.gmail.com>
On Fri, Oct 15, 2010 at 6:58 PM, Mark Knecht <markknecht@gmail.com> wrote:
> 2010/10/15 Fatih Tümen <fthtmn+gentoo@gmail.com>:
>> On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht <markknecht@gmail.com> wrote:
>>> c2stable ~ # eix-sync
>>> * Running emerge --sync
>>> Traceback (most recent call last):
>>> File "/usr/bin/emerge", line 43, in <module>
>>> retval = emerge_main()
>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_main
>>> return action_sync(settings, trees, mtimedb, myopts, myaction)
>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in action_sync
>>> "//" + user_name + ip + port + "/", 1))
>>> TypeError: cannot concatenate 'str' and 'int' objects
>>> * emerge --sync failed
>>> * Time statistics:
>>> 4 seconds for syncing
>>> 4 seconds total
>>> c2stable ~ # emerge --sync
>>> Traceback (most recent call last):
>>> File "/usr/bin/emerge", line 43, in <module>
>>> retval = emerge_main()
>>> File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in
>>> emerge_main
>>> return action_sync(settings, trees, mtimedb, myopts, myaction)
>>> File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in
>>> action_sync
>>> "//" + user_name + ip + port + "/", 1))
>>> TypeError: cannot concatenate 'str' and 'int' objects
>>> c2stable ~ # eselect python list
>>> Available Python interpreters:
>>> [1] python2.6 *
>>> [2] python3.1
>>> c2stable ~ #
>>>
>>
>> At first sight it seems to me that someone made a typo in there.. ip
>> should be ips[0]
>> Which specific version of portage and python are you using?
>>
>> --
>> Fatih
>
> 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.
> <SNIP>
>
> 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=proj/portage.git;a=commit;h=c54c1af789b306a85e9d7e79fb54f02a05346616
--
Fatih
next prev parent reply other threads:[~2010-10-15 16:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 14:35 [gentoo-user] emerge/python failure Mark Knecht
2010-10-15 15:02 ` Fatih Tümen
2010-10-15 15:52 ` Fatih Tümen
2010-10-15 15:58 ` Mark Knecht
2010-10-15 16:19 ` Fatih Tümen [this message]
2010-10-15 17:29 ` Mark Knecht
2010-10-15 17:41 ` Fatih Tümen
2010-10-15 17:45 ` Mark Knecht
2010-10-15 16:27 ` Albert Hopkins
2010-10-15 16:55 ` Fatih Tümen
2010-10-15 18:19 ` Albert Hopkins
2010-10-15 18:38 ` Fatih Tümen
2010-10-15 16:34 ` Peter Ruskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTim033b+jABkmMQ16TkeRLj3wLQmBvodtDcoUO6g@mail.gmail.com \
--to=fthtmn+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox