projz_renpy_translation icon indicating copy to clipboard operation
projz_renpy_translation copied to clipboard

这一连串的报错是什么情况

Open redball1017 opened this issue 5 months ago • 4 comments

报错信息: ` ERROR:root:No module named 'torch' Traceback (most recent call last): File "translator_init_.py", line 24, in File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "translator\ai_init_.py", line 17, in File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "translator\ai\impl.py", line 22, in ModuleNotFoundError: No module named 'torch' ERROR:root:Unable to connect the Internet.

Traceback (most recent call last): File "urllib3\connection.py", line 198, in _new_conn File "urllib3\util\connection.py", line 85, in create_connection File "urllib3\util\connection.py", line 73, in create_connection OSError: [WinError 10049] 在其上下文中,该请求的地址无效。

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "urllib3\connectionpool.py", line 793, in urlopen File "urllib3\connectionpool.py", line 491, in _make_request File "urllib3\connectionpool.py", line 467, in _make_request File "urllib3\connectionpool.py", line 1099, in _validate_conn File "urllib3\connection.py", line 616, in connect File "urllib3\connection.py", line 213, in _new_conn urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000001D6E0725430>: Failed to establish a new connection: [WinError 10049] 在其上下文中,该请求的地址无效。

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "requests\adapters.py", line 486, in send File "urllib3\connectionpool.py", line 847, in urlopen File "urllib3\util\retry.py", line 515, in increment urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='geolocation.onetrust.com', port=443): Max retries exceeded with url: /cookieconsentpub/v1/geo/location (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001D6E0725430>: Failed to establish a new connection: [WinError 10049] 在其上下文中,该请求的地址无效。'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "translators\server.py", line 333, in get_region_of_server File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 519, in send requests.exceptions.ConnectionError: HTTPSConnectionPool(host='geolocation.onetrust.com', port=443): Max retries exceeded with url: /cookieconsentpub/v1/geo/location (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001D6E0725430>: Failed to establish a new connection: [WinError 10049] 在其上下文中,该请求的地址无效。'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "urllib3\connection.py", line 198, in _new_conn File "urllib3\util\connection.py", line 60, in create_connection File "socket.py", line 918, in getaddrinfo socket.gaierror: [Errno 11004] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "urllib3\connectionpool.py", line 793, in urlopen File "urllib3\connectionpool.py", line 491, in _make_request File "urllib3\connectionpool.py", line 467, in _make_request File "urllib3\connectionpool.py", line 1099, in _validate_conn File "urllib3\connection.py", line 616, in connect File "urllib3\connection.py", line 205, in _new_conn urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x000001D6E073A160>: Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "requests\adapters.py", line 486, in send File "urllib3\connectionpool.py", line 847, in urlopen File "urllib3\util\retry.py", line 515, in increment urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ip.taobao.com', port=443): Max retries exceeded with url: /outGetIpInfo (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D6E073A160>: Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "translators\server.py", line 340, in get_region_of_server File "requests\api.py", line 115, in post File "requests\api.py", line 59, in request File "requests\sessions.py", line 589, in request File "requests\sessions.py", line 703, in send File "requests\adapters.py", line 519, in send requests.exceptions.ConnectionError: HTTPSConnectionPool(host='ip.taobao.com', port=443): Max retries exceeded with url: /outGetIpInfo (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D6E073A160>: Failed to resolve 'ip.taobao.com' ([Errno 11004] getaddrinfo failed)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "translator\api_init_.py", line 19, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "translator\api\translators_impl.py", line 25, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "trans\translators_api_init.py", line 16, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "trans\translators_api\wraaper.py", line 21, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "translators_init.py", line 5, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "translators\server.py", line 5682, in File "translators\server.py", line 5410, in init File "translators\server.py", line 344, in get_region_of_server translators.server.TranslatorError: Unable to connect the Internet. `

补充:

我也没给python代理之类的,怎么感觉好像是网络问题,不应该啊

redball1017 avatar Aug 29 '24 06:08 redball1017