This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
run flash command failed #1310
Replies: 1 comment
-
Hey @kelvinwang139 I think this is the same error as reported in #1309 so closing this one 😃 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
when I run flash command, the following error occured. Could you help on it?
(lighting) D:\workspace\ai\lightning-flash>flash --help
INFO - Downloading default
.ttf
font file - SpaceGrotesk-Medium.ttf from https://raw.githubusercontent.com/airctic/storage/master/SpaceGrotesk-Medium.ttf to C:\Users\A01161.icevision\fonts\SpaceGrotesk-Medium.ttf | icevision.visualize.utils:get_default_font:67Traceback (most recent call last):
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\connectionpool.py", line 700, in urlopen
self._prepare_proxy(conn)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\connectionpool.py", line 994, in _prepare_proxy
conn.connect()
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\connection.py", line 364, in connect
self.sock = conn = self._connect_tls_proxy(hostname, conn)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\connection.py", line 499, in connect_tls_proxy
socket = ssl_wrap_socket(
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "D:\program\Anaconda3\envs\lighting\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "D:\program\Anaconda3\envs\lighting\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "D:\program\Anaconda3\envs\lighting\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1131)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\adapters.py", line 440, in send
resp = conn.urlopen(
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /airctic/storage/master/SpaceGrotesk-Medium.ttf (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\program\Anaconda3\envs\lighting\lib\runpy.py", line 194, in _run_module_as_main
return run_code(code, main_globals, None,
File "D:\program\Anaconda3\envs\lighting\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\program\Anaconda3\envs\lighting\Scripts\flash.exe_main.py", line 4, in
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\flash_init.py", line 18, in
from flash.core.utilities.imports import _TORCH_AVAILABLE
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\flash\core\utilities\imports.py", line 129, in
_ICEVISION_GREATER_EQUAL_0_11_0 = compare_version("icevision", operator.ge, "0.11.0")
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\flash\core\utilities\imports.py", line 58, in compare_version
pkg = importlib.import_module(package)
File "D:\program\Anaconda3\envs\lighting\lib\importlib_init.py", line 127, in import_module
return bootstrap.gcd_import(name[level:], package, level)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision_init.py", line 7, in
from icevision import models
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision\models_init.py", line 2, in
from icevision.models.interpretation import *
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision\models\interpretation.py", line 14, in
from icevision.visualize.show_data import show_preds
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision\visualize_init.py", line 2, in
from icevision.visualize.draw_data import *
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision\visualize\draw_data.py", line 26, in
DEFAULT_FONT_PATH = get_default_font()
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\icevision\visualize\utils.py", line 72, in get_default_font
font_file.write_bytes(requests.get(URL).content)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "D:\program\Anaconda3\envs\lighting\lib\site-packages\requests\adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /airctic/storage/master/SpaceGrotesk-Medium.ttf (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
Beta Was this translation helpful? Give feedback.
All reactions