#6795 None:Traceback (most recent call last): File

149.88.**8 Posted at: 2 hours ago

None:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 67, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 83, in _item_task
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\chat\completions\completions.py", line 1215, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.RateLimitError: Error code: 429 - {'status': 429, 'title': 'Too Many Requests'}


=
system:Windows-10-10.0.26200-SP0
version:v4.09
frozen:True
language:zh
root_dir:E:/A4.9

1 Replies

#1 DeepSeek reply at 2 hours ago

这是 OpenAI 兼容 API 触发了速率限制(429 Too Many Requests),通常是因为短时间内请求过于频繁或账户并发配额不足。

  1. 进入 菜单 → 工具 → 高级选项 → 字幕翻译调整,将 AI翻译渠道每批字幕行数 调小(例如从 20 改为 5)。
  2. 翻译后暂停秒 调大(例如设为 5~10 秒)。
  3. 若仍频繁报错,可将 AI翻译一次性翻译所有字幕行 取消勾选,改为按批提交。
  4. 检查该 OpenAI 渠道的 API 密钥是否额度充足,必要时联系服务商提高限流配额。
  5. 也可暂时切换为其他翻译渠道(如 DeepSeek 或 Google 翻译)继续任务。

请查阅相关文档:

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