Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mirrorselect Find 3 fastest servers error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Tue Apr 08, 2014 8:00 pm    Post subject: mirrorselect Find 3 fastest servers error Reply with quote

Hi,
today I was trying to run emerge --sync but the czech mirror I use seemed to be dead, so long story short I want to find the best alternate mirror but encounter this:

Code:
# mirrorselect -s3 -b10 -o -D >> /etc/portage/make.conf
* Downloading a list of mirrors... Got 194 mirrors.
* Downloading 100k files from each mirror... [1 of 194]Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.3/mirrorselect", line 61, in <module>
    MirrorSelect().main(sys.argv)
  File "/usr/lib64/python3.3/site-packages/mirrorselect/main.py", line 411, in main
    urls = self.select_urls(hosts, options)
  File "/usr/lib64/python3.3/site-packages/mirrorselect/main.py", line 374, in select_urls
    selector = Deep(hosts, options, self.output)
  File "/usr/lib64/python3.3/site-packages/mirrorselect/selectors.py", line 273, in __init__
    self.deeptest()
  File "/usr/lib64/python3.3/site-packages/mirrorselect/selectors.py", line 293, in deeptest
    mytime, ignore = self.deeptime(host, maxtime)
  File "/usr/lib64/python3.3/site-packages/mirrorselect/selectors.py", line 332, in deeptime
    url_parts = url_parse(url)
TypeError: 'module' object is not callable
 

I guess it has something to do with python, but am not sure what to do, can someone please help?
thanks ahead..
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 977
Location: Somewhere in Denmark

PostPosted: Wed Apr 09, 2014 2:41 pm    Post subject: Reply with quote

Just tried the same - and experienced the same error:

Code:
* Downloading a list of mirrors... Got 194 mirrors.
* Downloading 100k files from each mirror... [1 of 194]Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.3/mirrorselect", line 61, in <module>
    MirrorSelect().main(sys.argv)
  File "/usr/lib/python3.3/site-packages/mirrorselect/main.py", line 411, in main
    urls = self.select_urls(hosts, options)
  File "/usr/lib/python3.3/site-packages/mirrorselect/main.py", line 374, in select_urls
    selector = Deep(hosts, options, self.output)
  File "/usr/lib/python3.3/site-packages/mirrorselect/selectors.py", line 273, in __init__
    self.deeptest()
  File "/usr/lib/python3.3/site-packages/mirrorselect/selectors.py", line 293, in deeptest
    mytime, ignore = self.deeptime(host, maxtime)
  File "/usr/lib/python3.3/site-packages/mirrorselect/selectors.py", line 332, in deeptime
    url_parts = url_parse(url)
TypeError: 'module' object is not callable


Tried re-emerging mirrorselect, tried python-updater - still fails.

Tried switching to python2.7-interpreter

Code:
eselect python set 1


and it runs fine...
Back to top
View user's profile Send private message
jhon987
Apprentice
Apprentice


Joined: 18 Nov 2013
Posts: 297

PostPosted: Wed Apr 09, 2014 3:29 pm    Post subject: Reply with quote

thanks friend :D , I knew it has something to do with python, so now I switched to python 2.7 and it works fine for me as well. later I'll switch back to 3.3...
I hope someone would fix that in the future.
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 977
Location: Somewhere in Denmark

PostPosted: Wed Apr 09, 2014 3:51 pm    Post subject: Reply with quote

It should be - it has been reported to the bugzilla some time ago it seems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum