#5577 翻译字幕阶段出错 [Google(免费)] Google 翻译失败Traceback (most recent call last):File "videotrans\translator\_base.py", line 65, in ru

2a12:e100* Posted at: 1 hour ago

翻译字幕阶段出错 [Google(免费)] Google 翻译失败
Traceback (most recent call last):

File "videotrans\translator\_base.py", line 65, in run

File "videotrans\translator\_base.py", line 95, 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 421, in exc_check

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 135, in process_task

File "videotrans\task\trans_create.py", line 608, in trans

File "videotrans\translator\__init__.py", line 851, in run

File "videotrans\translator\_base.py", line 71, in run

File "tenacity\__init__.py", line 480, in call

File "videotrans\translator\_google.py", line 35, in _item_task

videotrans.configure.excepts.TranslateSrtError: Google 翻译失败
cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 批量翻译模式
原始输入文件名: C:/Users/Administrator/Documents/雷公视频/让交易变简单/The ULTIMATE Wyckoff Trading Course.mp4,
输出结果保存到文件夹: C:/Users/Administrator/Downloads/win-pyvideotrans-v4.03-0626/The ULTIMATE Wyckoff Trading Course-mp4,
临时文件夹: C:/Users/Administrator/Downloads/win-pyvideotrans-v4.03-0626/tmp/18636/492acc584a
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 英语, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:YunJhe(Male/TW), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26100-SP0
version:v4.03
frozen:True
language:zh
root_dir:C:/Users/Administrator/Downloads/win-pyvideotrans-v4.03-0626

1 Replies

这是中国大陆地区使用 Google 翻译时常见的网络连接失败。日志显示 代理地址: 为空,导致无法访问 Google 服务。

解决方案:

  1. 配置代理:在主界面第 5 行 网络代理 文本框中填写您的代理地址(例如 http://127.0.0.1:7890),然后重新开始任务。
  2. 切换翻译渠道:如果无法使用代理,请将翻译渠道切换为无需代理的渠道:

    • 微软翻译(免费) – 无需代理,稳定可用
    • 百度翻译 – 需申请免费 API Key
    • DeepSeek – AI 翻译,质量更好
  3. 检查网络:确保当前网络环境可以访问 translate.googleapis.com

请查阅相关文档:

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. Dondate: ko-fi.com/jianchang512

Related resource