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

bash prepare/download_glove.sh #163

Open
MichaelaQ opened this issue Oct 25, 2023 · 1 comment
Open

bash prepare/download_glove.sh #163

MichaelaQ opened this issue Oct 25, 2023 · 1 comment

Comments

@MichaelaQ
Copy link

bash prepare/download_glove.sh
Downloading glove (in use by the evaluators, not by MDM itself)
Traceback (most recent call last):
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connection.py", line 187, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f233691c250>: Failed to establish a new connection: [Errno 101] Network is unreachable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/requests/adapters.py", line 499, in send
timeout=timeout,
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/connectionpool.py", line 788, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?id=1cmXKUT31pqd7_XpJAiWEo1K81TMYHA5n (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f233691c250>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/michaela/ENTER/envs/mdm/bin/gdown", line 10, in
sys.exit(main())
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/gdown/cli.py", line 166, in main
resume=args.continue_,
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/gdown/download.py", line 146, in download
res = sess.get(url, headers=headers, stream=True, verify=verify)
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/requests/sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/home/michaela/ENTER/envs/mdm/lib/python3.7/site-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?id=1cmXKUT31pqd7_XpJAiWEo1K81TMYHA5n (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f233691c250>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
prepare/download_glove.sh: line 5: unzip: command not found
Cleaning

rm: cannot remove 'glove.zip': No such file or directory
Downloading done!
How can I solve this problem?

@GuyTevet
Copy link
Owner

OSError: [Errno 101] Network is unreachable

Seems you have network issues

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

2 participants