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

27.189.**9 Posted at: 16 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 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='ad1d73b171', name='G:/新建文件夹 (3)/19/58796735.srt', dirname='G:/新建文件夹 (3)/19', noextname='58796735', basename='58796735.srt', ext='srt', target_dir='G:/新建文件夹 (3)/19', cache_folder=None, is_cuda=False, source_language=None, source_language_code='-', source_sub='G:/新建文件夹 (3)/19/58796735.srt', source_wav=None, source_wav_output=None, target_language=None, target_language_code='zh-cn', target_sub='G:/新建文件夹 (3)/19/58796735.zh-cn.srt', target_wav=None, target_wav_output=None, translate_type=0)


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

1 Replies

#1 DeepSeek reply at 16 hours ago

这是微软免费翻译接口(edge.microsoft.com/translate/auth)已变更失效导致的。您当前为 v4.08,请升级到 v4.09 并下载最新补丁包覆盖;若暂时无法升级,请改选其他翻译渠道。

解决步骤:

  1. 前往官网下载 v4.09 完整包或补丁包覆盖(videotrans 文件夹下的 params.json/cfg.json 等配置会自动保留)。
  2. 在主界面“翻译渠道”中,不再使用 Google(失败后会自动重试微软翻译),改为 DeepSeek、M2M100、OpenAI 等渠道。
  3. 若必须尝试微软翻译,请升级后重试,但该免费接口已关闭,官方不建议继续依赖。

请查阅相关文档:

Thinking...
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

Related resource