Gentoo Archives: gentoo-user

From: "Fatih Tümen" <fthtmn+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge/python failure
Date: Fri, 15 Oct 2010 15:53:55
Message-Id: AANLkTimUJniv+o=nJVY2upBthXv4s9xhUNAQTYK03KDw@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
43 I just checked the code to verify myself. I was wrong, ip is the loop
44 variable of ips list I recalled which is being iterated over.
45
46 Rsync server maybe down or smth, Did you try with a differnt rsync server?
47
48 Btw, AFAIR eix-sync can sync overlays, why you sync them individually?
49
50 --
51 Fatih