Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download files #85

Closed
miquelduranfrigola opened this issue Apr 24, 2024 · 4 comments
Closed

Cannot download files #85

miquelduranfrigola opened this issue Apr 24, 2024 · 4 comments

Comments

@miquelduranfrigola
Copy link

Hi! Thanks for a great repository.
I am trying to download the files as suggested in the README, but unfortunately I get this error:

(delfta) mduranfrigola@raluy:~/Desktop$ python -c "import runpy; _ = runpy.run_module('delfta.download', run_name='__main__')"
2024/04/24 05:17:59 PM | DelFTa | INFO: Now downloading trained models and utils...
Traceback (most recent call last):                                                                                                  
  File "<string>", line 1, in <module>
  File "/home/mduranfrigola/miniconda3/envs/delfta/lib/python3.9/runpy.py", line 228, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/home/mduranfrigola/miniconda3/envs/delfta/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/mduranfrigola/miniconda3/envs/delfta/lib/python3.9/site-packages/delfta/download.py", line 134, in <module>
    _download_required()
  File "/home/mduranfrigola/miniconda3/envs/delfta/lib/python3.9/site-packages/delfta/download.py", line 93, in _download_required
    with tarfile.open(models_tar) as handle:
  File "/home/mduranfrigola/miniconda3/envs/delfta/lib/python3.9/tarfile.py", line 1797, in open
    raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully

Do you know what might be going on?
Thanks a lot in advance.

@josejimenezluna
Copy link
Owner

Hi @miquelduranfrigola, it appears the remotes containing the necessary downloadables are undergoing some issues:

(base) [hawk31@office ~]$ wget "https://www.research-collection.ethz.ch/bitstream/handle/20.500.11850/520281/utils.tar.gz?sequence=8&isAllowed=y"
--2024-04-24 17:05:07--  https://www.research-collection.ethz.ch/bitstream/handle/20.500.11850/520281/utils.tar.gz?sequence=8&isAllowed=y
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.research-collection.ethz.ch (www.research-collection.ethz.ch)... 129.132.8.151
Connecting to www.research-collection.ethz.ch (www.research-collection.ethz.ch)|129.132.8.151|:443... connected.
HTTP request sent, awaiting response... 429 Too Many Requests
2024-04-24 17:05:08 ERROR 429: Too Many Requests.

Can I suggest trying again later?

@miquelduranfrigola
Copy link
Author

Yes of course! There is no rush. Thanks for the prompt reply.

@cisert
Copy link
Collaborator

cisert commented Apr 24, 2024

Seems to be working now - please recheck again :)

@miquelduranfrigola
Copy link
Author

It works perfectly now. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants