DSAlign icon indicating copy to clipboard operation
DSAlign copied to clipboard

TaskCluster Download Issue

Open kaleko opened this issue 4 years ago • 0 comments

On a linux system, the bin/lm-dependencies.sh script fails. To reproduce the issue only four commands are needed:

git clone https://github.com/mozilla/DSAlign.git cd DSAlign/ bin/createenv.sh bin/lm-dependencies.sh

lm-dependencies.sh compiles fine, but then fails at the downloading step:

Downloading https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.1.cpu/artifacts/public/native_client.tar.xz ...
Traceback (most recent call last):
  File "/home/kaleko/DSAlign/bin/taskcluster.py", line 153, in <module>
    main()
  File "/home/kaleko/DSAlign/bin/taskcluster.py", line 147, in main
    maybe_download_tc(target_dir=args.target, tc_url=get_tc_url(args.arch, args.artifact, args.branch))
  File "/home/kaleko/DSAlign/bin/taskcluster.py", line 57, in maybe_download_tc
    urllib.request.urlretrieve(tc_url, target_file, reporthook=(report_progress if progress else None))
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 247, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/kaleko/anaconda3/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

kaleko avatar Apr 12 '21 20:04 kaleko