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

112.224* Posted at: 7 hours 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 69, in run

File "videotrans\translator\_base.py", line 98, 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\translate_srt.py", line 48, in trans

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

File "videotrans\translator\_base.py", line 75, 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
TaskCfgSTS(uuid='66dda35634', name='D:/迅雷下载/筛选区/fa.srt', dirname='D:/迅雷下载/筛选区', noextname='fa', basename='fa.srt', ext='srt', target_dir='D:/baidupan/win-pyvideotrans-v4.01-0602/output/translate', cache_folder=None, is_cuda=False, source_language=None, source_language_code='en', source_sub='D:/迅雷下载/筛选区/fa.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-Hans', target_sub='D:/baidupan/win-pyvideotrans-v4.01-0602/output/translate/fa.zh-Hans.srt', target_wav=None, target_wav_output=None, translate_type=1)


=
system:Windows-10-10.0.19045-SP0
version:v4.01
frozen:True
language:zh
root_dir:D:/videotrans/pyvideotrans40602

1 Replies

这是微软免费翻译接口不可用导致的,微软官方返回 404,通常是接口已被关闭或临时故障,不是您的配置问题。

解决方案:

  1. 更换翻译渠道:在主界面「翻译渠道」下拉框中改为「DeepSeek」或「Google翻译」(Google 需科学上网)。
  2. 若使用 DeepSeek:前往 https://platform.deepseek.com 注册并充值(可自定义充值 1 元),获取 API Key,填入「菜单 → 翻译设置 → DeepSeek」的密钥中,然后在翻译渠道中选择 DeepSeek。
  3. 若暂时不想换渠道,也可稍后重试,观察是否是微软临时故障,但恢复时间不确定。

请查阅相关文档:

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