#4251 TaskCfgVTT(is_cuda=False, uuid='c98c2e6eaf', cache_folder='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/t

188.253* Posted at: 2 hours ago 👁8

翻译字幕阶段出错 [Google(免费)] 代理设置不正确或代理不可用,请检查代理或关闭代理并删掉代理文本框中所填内容
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
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 773, in urlopen
File "urllib3\connectionpool.py", line 1042, in _prepare_proxy
File "urllib3\connection.py", line 753, in connect
File "urllib3\connection.py", line 213, in _new_conn
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connecti
......
a%20bunda%0AAssume%20que%20%C3%A9%20eu (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\trans_create.py", line 678, in trans
File "videotrans\translator\__init__.py", line 953, in run
File "videotrans\translator\_base.py", line 98, in run
File "videotrans\translator\_base.py", line 119, in _run_text
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_google.py", line 39, in _item_task
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 671, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: /m?sl=pt&tl=zh-cn&hl=zh-cn&q=Voc%C3%AA%20t%C3%A1%20mentindo%20quando%20fala%0APela%20boca%20que%20eu%20n%C3%A3o%20presto%0ANa%20sua%20vida%20eu%20errei%0AMas%20eu%20te%20comi%20certo%0AEu%20j%C3%A1%20panico%0A%C3%89%20jacar%C3%A9,%20jacar%C3%A9%0APega%20essa%20vis%C3%A3o,%20caralho%0APosso%20at%C3%A9%20n%C3%A3o%20te%20dar%20flores%0AMas%20eu%20dou%20tapa%20na%20bunda%0AAssume%20que%20%C3%A9%20eu (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))
TaskCfgVTT(is_cuda=False, uuid='c98c2e6eaf', cache_folder='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf', target_dir='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4', source_language='葡萄牙语', source_language_code='pt', source_sub='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4/pt.srt', source_wav='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf/pt.wav', source_wav_output='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4/pt.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4/zh-cn.srt', target_wav='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf/target.wav', target_wav_output='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4/zh-cn.m4a', name='E:/素材/巴西/36h/新/4月24日-2.mp4', noextname='4月24日-2', basename='4月24日-2.mp4', ext='mp4', dirname='E:/素材/巴西/36h/新', shound_del_name=None, translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='pt', recogn_type=0, model_name='large-v3-turbo', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='E:/素材/巴西/36h/新/_video_out/4月24日-2-mp4/4月24日-2.mp4', novoice_mp4='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf/novoice.mp4', is_separate=True, embed_bgm=True, instrument='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf/instrument.wav', vocal='C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420/tmp/38672/c98c2e6eaf/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=1, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.19044-SP0
version:v3.99
frozen:True
language:zh
root_dir:C:/Users/Administrator/Downloads/win-pyvideotrans-v3.99-420

1 Replies

Google 翻译在国内无法直接访问,需要通过有效的网络代理才能连接。报错 代理设置不正确或代理不可用 说明你在主界面的“网络代理地址”中填写了代理,但代理地址错误、端口不对或代理服务未运行。

解决方案:

  1. 检查代理:确认你的代理客户端(如VPN/Clash等)正在运行,且代理地址/端口与主界面中填写的一致(格式如 http://127.0.0.1:7890,端口号根据你的代理客户端设置填写)。
  2. 如果没有可靠代理:建议撤掉代理,改用微软翻译(免费且无需代理)。操作步骤:

    • 删除主界面“网络代理地址”文本框中的所有内容,留空。
    • 在“翻译渠道”下拉列表中,将 Google(免费) 切换为 Microsoft(免费)
  3. 确定需要使用Google:请确保代理服务正常运行,并在软件“网络代理地址”中填入正确地址(如 http://127.0.0.1:10809),然后重试。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Related resource