#1561 TaskCfg(cache_folder='D:/videotrans/pyvideotrans385/tmp15832/ad3864c14f', target_dir='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最

112.224* Posted at: 21 hours ago 👁10

翻译字幕阶段出错:[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 connect
......
", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 439, in result
File "concurrent\futures\_base.py", line 391, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_google.py", line 40, 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=en&tl=zh-cn&hl=zh-cn&q=I've%20spoken%20with%20their%20people.%20We%20have%20a%20plan.%20It's%20horrible%20what's%20happening.%20It's%20a%20war%20that%20should%20have%20never%20happened.%20It%20would%20have%20never%20happened%20if%20I%20was%20president,%20and%20it's%20a%20shame.%20I%20thought%20they%20should%20have%20acted%20quicker,%20but%20it's%20a%20cold%20winter,%20and%20a%20lot%20of%20the%E2%80%94you%20talk%20about%20utilities,%20but%20a%20lot%20of%20the%20big%20energy-producing%20plants%20have%20been%20under%20attack,%20to%20put%20it%20mildly,%20to%20put%20it%20nicely.%0AYeah,%20we%20have%20a%20way%20of%20getting%20peace.%0AWe%20think%20we%20have%20a%20way%20of%20getting%20peace.%0AHe's%20going%20to%20have%20to%20approve%20it.%0AIt's%20so%20sad.%0ASo%20many%20people,%20you%20know,%20last%20month%20they%20lost%2025,000%20soldiers.%0AThis%20is%20something%20we%20haven't%20seen%20anything%20like%20this.%0AThis%20is%20the%20Second%20World%20War.%0AAnd%20they're%20averaging%20six%20or%20seven%20thousand%20a%20week%20between%20the%20two%20of%20them.%0ADead%20soldiers.%0AAnd%20it%20goes%20on%20and%20on.%0AAnd%20I%20think%20they're%20getting%20reasonably%20close.%0ABut%20I%20don't%20want%20to%20predict.%0AI%20would%20have%20said%20that%20would%20have%20been%20one%20of%20my%20early%20ones.%0AI%20did%20eight%20peace%20deals%20of%20countries,%20including%20India,%20Pakistan. (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。')))

TaskCfg(cache_folder='D:/videotrans/pyvideotrans385/tmp15832/ad3864c14f', target_dir='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准', remove_noise=True, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准/en.srt', target_sub='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准/zh-cn.srt', source_wav='D:/videotrans/pyvideotrans385/tmp15832/ad3864c14f/en.wav', source_wav_output='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准/en.m4a', target_wav='D:/videotrans/pyvideotrans385/tmp15832/ad3864c14f/target.wav', target_wav_output='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准/zh-cn.m4a', subtitles='', novoice_mp4='D:/videotrans/pyvideotrans385/tmp15832/ad3864c14f/novoice.mp4', noextname='#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准', shibie_audio=None, targetdir_mp4='D:/迅雷下载/筛选区/_video_out/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=0, recogn_type=1, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='D:/迅雷下载/筛选区/#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准.mp4', basename='#特朗普给乌克兰下达最后通牒# 特朗普:泽连斯基必须批准.mp4', ext='mp4', dirname='D:/迅雷下载/筛选区', shound_del_name=None, uuid='ad3864c14f', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0)


=
system:Windows-10-10.0.19045-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/videotrans/pyvideotrans385

1 Replies

错误显示代理连接被拒绝。您设置了代理但代理服务器无法连接。请按以下步骤解决:

  1. 检查代理设置:在主界面第5行的"网络代理"文本框中,确认代理地址格式正确(如 http://127.0.0.1:7860)。
  2. 测试代理可用性

    • 如果代理确实可用,请确认地址和端口无误
    • 如果代理已失效或不确定,建议清空代理文本框并直接关闭代理软件
  3. 临时解决方案:如果必须使用Google翻译但无法配置代理,可以:

    • 切换到其他免费翻译渠道(如微软、百度等)
    • 或者使用不需要代理的AI翻译(如DeepSeek、Gemini等)

错误核心是代理配置问题导致无法连接到Google翻译服务器。

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.

Donate: https://ko-fi.com/jianchang512

Trending Questions