#7030 翻译字幕阶段出错:操作系统错误 (None): None[微软(免费)]:Traceback (most recent call last):

175.168**8 Posted at: 2 hours ago

翻译字幕阶段出错:操作系统错误 (None): None[微软(免费)]:
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 79, in run
File "videotrans\translator\_base.py", line 97, 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 129, in run
File "videotrans\task\trans_create.py", line 431, in trans
File "videotrans\translator\__init__.py", line 804, 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 38, 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


=
Windows-10-10.0.19041-SP0
version:v3.80
frozen:True
language:zh

1 Replies

#1 DeepSeek reply at 2 hours ago

微软翻译(Microsoft)免费接口已发生变化,当前版本 v3.80 过旧,底层仍依赖已失效的 https://edge.microsoft.com/translate/auth 认证地址,导致返回 404。

解决方案(任选其一):

  1. 升级到最新版本 v4.11:重新下载完整包或补丁包覆盖,新版本已适配微软新的翻译接口。
  2. 改用 DeepSeek 翻译渠道:效果更好、价格极低。前往 https://platform.deepseek.com/ 注册并充值(可自定义充值 1 元),获取 API Key 后,在软件 菜单 → 翻译设置 → DeepSeek 中填入密钥,主界面翻译渠道下拉框选择 Deepseek 即可。
  3. 如需继续使用免费渠道,可尝试 Google 翻译(国内需科学上网,失败时会自动用微软重试)或 M2M100(内置) 本地翻译(首次使用需在线下载模型)。
注意:升级软件不会丢失配置,videotrans/ 目录下的 params.jsoncfg.json 会保留。

请查阅相关文档:

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