#6302 翻译字幕阶段出错 [Google(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/authTraceback (most rece

59.62* Posted at: 1 hour ago

翻译字幕阶段出错 [Google(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
Traceback (most recent call last):
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 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 173, in run
File "videotrans\task\trans_create.py", line 678, in trans
File "videotrans\translator\__init__.py", line 966, in run
File "videotrans\translator\_base.py", line 100, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 34, in _item_task
File "requests\models.py", line 1026, in raise_for_status
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
TaskCfgVTT(is_cuda=False, uuid='70833752c4', cache_folder='E:/翻译软件/tmp/18764/70833752c4', target_dir='E:/拳击/_video_out/中文-短-上集-mp4', source_language='简体中文', source_language_code='zh-cn', source_sub='E:/拳击/_video_out/中文-短-上集-mp4/zh-cn.srt', source_wav='E:/翻译软件/tmp/18764/70833752c4/zh-cn.wav', source_wav_output='E:/拳击/_video_out/中文-短-上集-mp4/zh-cn.m4a', target_language='英语', target_language_code='en', target_sub='E:/拳击/_video_out/中文-短-上集-mp4/en.srt', target_wav='E:/翻译软件/tmp/18764/70833752c4/target.wav', target_wav_output='E:/拳击/_video_out/中文-短-上集-mp4/en.m4a', name='E:/拳击/中文-短-上集.mp4', noextname='中文-短-上集', basename='中文-短-上集.mp4', ext='mp4', dirname='E:/拳击', shound_del_name=None, translate_type=0, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Steffan(Male/US)', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='zh-cn', 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:/拳击/_video_out/中文-短-上集-mp4/中文-短-上集.mp4', novoice_mp4='E:/翻译软件/tmp/18764/70833752c4/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=0, only_out_mp4=False, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:E:/翻译软件

1 Replies

这是微软免费翻译接口当前不可用导致的(报错中的 edge.microsoft.com/translate/auth 即微软翻译的鉴权地址)。选择 Google 翻译时,若 Google 失败会自动回退到微软翻译;而当前微软翻译接口返回 404,可能服务器临时故障或已关闭,因此最终报此错。

解决方案(任选其一):

  1. 改用 DeepSeek:到 https://platform.deepseek.com/ 登录充值(可自定义充值 1 元),获取 API Key,填入「菜单 → 翻译设置 → DeepSeek」的密钥中,然后在翻译渠道下拉框选择 DeepSeek
  2. 改用 M2M100(内置) 本地翻译,第一次使用会在线下载模型,完全免费离线翻译。
  3. 若仍想用 Google 翻译:需在网络代理框中填写可用代理(形如 http://127.0.0.1:端口号),否则在国内无法访问 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.

Dondate via ko-fi.com

Dondate via PayPal

Related resource