Running taskcluster.py : “IO error [errno socket error] Name or service not known)

Hello, Im running the following command to get “generate_trie” for branch .0.5.1, in Ubuntu 16.04

$ python util/taskcluster.py --target native_client --branch v0.5.1

However I see the error message. IOError: [Errno socket error] [Errno -2] Name or service not known

I have tried in different computers and all of them display the same error. Also, the following link is not working for me in a browser: https://index.taskcluster.net/v1/task/project.deepspeech.deepspeech.native_client.master.cpu/artifacts/public/native_client.tar.xz

Is this something wrong on my side? is the native_client.amd64.cpu.linux.tar.xz the same thing that Im trying to generate with taskcluster.py ?

Error message:

Downloading https://index.taskcluster.net/v1/task/project.deepspeech.deepspeech.native_client.master.cpu/artifacts/public/native_client.tar.xz
Traceback (most recent call last):
File “util/taskcluster.py”, line 156, in
main()
File “util/taskcluster.py”, line 150, in main
maybe_download_tc(target_dir=args.target, tc_url=get_tc_url(args.arch, args.artifact, args.branch))
File “util/taskcluster.py”, line 57, in maybe_download_tc
urllib.request.urlretrieve(tc_url, target_file, reporthook=(report_progress if progress else None))
File “/usr/lib/python2.7/urllib.py”, line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File “/usr/lib/python2.7/urllib.py”, line 248, in retrieve
fp = self.open(url, data)
File “/usr/lib/python2.7/urllib.py”, line 216, in open
return getattr(self, name)(url)
File “/usr/lib/python2.7/urllib.py”, line 446, in open_https
h.endheaders(data)
File “/usr/lib/python2.7/httplib.py”, line 1082, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 909, in _send_output
self.send(msg)
File “/usr/lib/python2.7/httplib.py”, line 871, in send
self.connect()
File “/usr/lib/python2.7/httplib.py”, line 1299, in connect
HTTPConnection.connect(self)
File “/usr/lib/python2.7/httplib.py”, line 848, in connect
self.timeout, self.source_address)
File “/usr/lib/python2.7/socket.py”, line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno -2] Name or service not known

Short answer, yes, start over with a current version, otherwise

Unfortunately, this link is invalid now because it points to the old taskcluster index and it expired.

Yes, you can download this file, it contains the same things.

1 Like

Thanks, Im able to work with the prebuilt binary file.

1 Like