Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge/python failure
Date: Fri, 15 Oct 2010 15:59:17
Message-Id: AANLkTineQfV17JyJXsDJx-PF5bq75-4MR=rBQPY1hAaZ@mail.gmail.com
In Reply to: Re: [gentoo-user] emerge/python failure by "Fatih Tümen"
1 2010/10/15 Fatih Tümen <fthtmn+gentoo@×××××.com>:
2 > On Fri, Oct 15, 2010 at 5:35 PM, Mark Knecht <markknecht@×××××.com> wrote:
3 >> c2stable ~ # eix-sync
4 >>  * Running emerge --sync
5 >> Traceback (most recent call last):
6 >>  File "/usr/bin/emerge", line 43, in <module>
7 >>    retval = emerge_main()
8 >>  File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in emerge_main
9 >>    return action_sync(settings, trees, mtimedb, myopts, myaction)
10 >>  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in action_sync
11 >>    "//" + user_name + ip + port + "/", 1))
12 >> TypeError: cannot concatenate 'str' and 'int' objects
13 >>  * emerge --sync failed
14 >>  * Time statistics:
15 >>     4 seconds for syncing
16 >>     4 seconds total
17 >> c2stable ~ # emerge --sync
18 >> Traceback (most recent call last):
19 >>  File "/usr/bin/emerge", line 43, in <module>
20 >>    retval = emerge_main()
21 >>  File "/usr/lib64/portage/pym/_emerge/main.py", line 1604, in
22 >> emerge_main
23 >>    return action_sync(settings, trees, mtimedb, myopts, myaction)
24 >>  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2134, in
25 >> action_sync
26 >>    "//" + user_name + ip + port + "/", 1))
27 >> TypeError: cannot concatenate 'str' and 'int' objects
28 >> c2stable ~ # eselect python list
29 >> Available Python interpreters:
30 >>  [1]   python2.6 *
31 >>  [2]   python3.1
32 >> c2stable ~ #
33 >>
34 >
35 > At first sight it seems to me that someone made a typo in there..  ip
36 > should be ips[0]
37 > Which specific version of portage and python are you using?
38 >
39 > --
40 >    Fatih
41
42 Hi Fatih,
43
44 It seems that the failure (so far) is only with syncing and not with
45 using the tools to look at the system. That's good.
46
47 c2stable ~ # eix -Ic python
48 [I] app-admin/eselect-python (20100321@05/26/10): Eselect module for
49 management of multiple Python versions
50 [I] app-admin/python-updater (0.8@05/18/10): Script used to remerge
51 python packages when changing Python version.
52 [I] dev-lang/python (2.6.5-r3(2.6)[1]@10/12/10
53 3.1.2-r4(3.1)@09/30/10): Python is an interpreted, interactive,
54 object-oriented programming language.
55 <SNIP>
56
57 Note that it seems the 2.6.5-r3 version is coming from the Pentoo
58 overlay if it makes a difference.
59
60 c2stable ~ # eix -Ic portage
61 [I] app-portage/portage-utils (0.3.1@06/11/10): small and fast portage
62 helper tools written in C
63 [I] sys-apps/portage (2.2_rc95@10/13/10): Portage is the package
64 management and distribution system for Gentoo
65 Found 2 matches.
66 c2stable ~ #
67
68 As for syncing individually it's just an old-dog, new-trick thing.
69 I've done it this way for years and somehow never got in the swing of
70 doing anything else.
71
72 Thanks for looking at the code. That's beyond my scope of expertise.
73
74 - Mark

Replies

Subject Author
Re: [gentoo-user] emerge/python failure "Fatih Tümen" <fthtmn+gentoo@×××××.com>