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

180.143.**4 Posted at: 1 hour ago

翻译字幕阶段出错 [微软(免费)] 404 Client Error: Not Found for url: https://edge.microsoft.com/translate/auth
Traceback (most recent call last):

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

File "videotrans\translator\_base.py", line 107, 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 136, in process_task

File "videotrans\task\translate_srt.py", line 47, in trans

File "videotrans\translator\_runner.py", line 63, in run

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

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

File "videotrans\translator\_microsoft.py", line 26, 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
cfg=TaskCfgSTS(uuid='a66b39dc9e', name="E:/EN_Video/test/Minecraft, But Its Actually One Block - Beppo (1080p, h264).CUT.00'00-03'58-mp4/en.srt", dirname="E:/EN_Video/test/Minecraft, But Its Actually One Block - Beppo (1080p, h264).CUT.00'00-03'58-mp4", noextname='en', basename='en.srt', ext='srt', target_dir='D:/pytran/output/translate', cache_folder=None, is_cuda=False, source_language=None, source_language_code='en', source_sub="E:/EN_Video/test/Minecraft, But Its Actually One Block - Beppo (1080p, h264).CUT.00'00-03'58-mp4/en.srt", source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-Hans', target_sub='D:/pytran/output/translate/en.zh-Hans.srt', target_wav=None, target_wav_output=None, translate_type=1)


=
system:Windows-10-10.0.26200-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/pytran

1 Replies

这是微软免费翻译接口(edge.microsoft.com/translate/auth)当前不可用导致的:微软已关闭或临时故障该免费接口,并非你的文件或软件配置问题。

解决方案:

  1. 将「翻译渠道」从「微软(免费)」切换为「DeepSeek」(推荐,效果更好):

    • 前往 https://platform.deepseek.com/ 注册并充值(最低1元);
    • 获取 API Key,填入「菜单 → 翻译设置 → DeepSeek」的密钥栏;
    • 回到主界面,翻译渠道选择 DeepSeek
    • 若翻译结果被截断,请在该渠道设置面板中取消勾选 Thinking(思考模式)并适当调大 max token。
  2. 或改用本地离线翻译「M2M100(内置)」:

    • 直接在主界面翻译渠道中选择 M2M100(内置)
    • 第一次使用会自动下载模型(约存放于 软件目录/models/m2m100_12b),之后可完全离线翻译,无网络依赖。
  3. 注意:Google翻译国内需代理才能用;若选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