View previous topic :: View next topic |
Author |
Message |
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Tue Apr 08, 2014 8:00 pm Post subject: mirrorselect Find 3 fastest servers error |
|
|
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 |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 977 Location: Somewhere in Denmark
|
Posted: Wed Apr 09, 2014 2:41 pm Post subject: |
|
|
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 |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Wed Apr 09, 2014 3:29 pm Post subject: |
|
|
thanks friend , 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 |
|
|
freke l33t
Joined: 23 Jan 2003 Posts: 977 Location: Somewhere in Denmark
|
Posted: Wed Apr 09, 2014 3:51 pm Post subject: |
|
|
It should be - it has been reported to the bugzilla some time ago it seems. |
|
Back to top |
|
|
|
|
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
|
|