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

114.88**5 Posted at: 2 hours 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 79, in run
File "videotrans\translator\_base.py", line 96, 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 184, in run
File "videotrans\task\_translate_srt.py", line 45, in trans
File "videotrans\translator\__init__.py", line 880, in run
File "videotrans\translator\_base.py", line 81, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_microsoft.py", line 35, 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

TaskCfg(cache_folder=None, target_dir='E:/_video_out/KV-321test-mp4', remove_noise=False, is_separate=False, detect_language=None, subtitle_language=None, source_language=None, target_language=None, source_language_code='ja', target_language_code='zh-cn', source_sub='E:/_video_out/KV-321test-mp4/KV-321test-ja.srt', target_sub='E:/_video_out/KV-321test-mp4/KV-321test-ja.zh-cn.srt', source_wav=None, source_wav_output=None, target_wav=None, target_wav_output=None, subtitles=None, novoice_mp4=None, noextname='KV-321test-ja', shibie_audio=None, targetdir_mp4=None, instrument=None, vocal=None, back_audio=None, background_music=None, app_mode='biaozhun', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role=None, copysrt_rawvideo=False, clear_cache=False, translate_type=0, tts_type=None, recogn_type=None, model_name=None, split_type=0, voice_autorate=False, video_autorate=False, cuda=False, name='E:/_video_out/KV-321test-mp4/KV-321test-ja.srt', basename='KV-321test-ja.srt', ext='srt', dirname='E:/_video_out/KV-321test-mp4', shound_del_name=None, uuid='9d2b8f524b', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0, rephrase=2, only_out_mp4=False)


=
system:Windows-10-10.0.19045-SP0
version:v3.91
frozen:True
language:zh
root_dir:D:/Program Files/win-pyvideotrans-v3.91_20251219_004054

1 Replies

#1 DeepSeek reply at 2 hours ago

这是微软翻译接口失效导致的。你当前使用的是旧版 v3.91,微软已关闭了 edge.microsoft.com/translate/auth 这个免费接口,旧版自动回退到微软翻译时就会报此错误。

解决方案:

  1. 升级软件到最新版 v4.11:旧版内置的微软翻译地址已失效,新版已适配。请重新下载完整包或补丁包覆盖。
  2. 更换翻译渠道:若暂时无法升级,可改用 DeepSeek(效果优、成本低)或本地离线翻译模型 M2M100(无需联网)。在软件菜单“翻译设置”中配置 DeepSeek API Key,然后翻译渠道选择“DeepSeek”即可。
  3. Google 翻译也需网络代理:你选择了 Google 翻译,但报错显示回退到了微软翻译,说明 Google 无法连接(国内需科学上网)。配置有效代理后可避免回退。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource