#4193 TaskCfgSTS(is_cuda=False, uuid='9b27864912', cache_folder=None, target_dir='C:/Users/USER/Videos/pyvideotrans/translate'

219.71* Posted at: 1 day ago 👁20

翻译字幕阶段出错 [Gemini AI] This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
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 173, in run
File "videotrans\task\_translate_srt.py", line 44, in trans
File "videotrans\translator\__init__.py", line 991, in run
File "videotrans\translator\_base.py", line 100, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_gemini.py", line 124, in _item_task
RuntimeError: This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.
TaskCfgSTS(is_cuda=False, uuid='9b27864912', cache_folder=None, target_dir='C:/Users/USER/Videos/pyvideotrans/translate', source_language=None, source_language_code='Japanese', source_sub='C:/Users/USER/Videos/pyvideotrans/recogn/[email protected]', source_wav=None, source_wav_output=None, target_language=None, target_language_code='Traditional Chinese', target_sub='C:/Users/USER/Videos/pyvideotrans/translate/[email protected] Chinese.srt', target_wav=None, target_wav_output=None, name='C:/Users/USER/Videos/pyvideotrans/recogn/[email protected]', noextname='489155.com@FC2PPV-4883529', basename='[email protected]', ext='srt', dirname='C:/Users/USER/Videos/pyvideotrans/recogn', shound_del_name=None, translate_type=5)


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:F:/pyvideotrans-v3.98

1 Replies

这是由于 Gemini AI 翻译服务当前请求量过大,服务器端返回了限流错误。

解决方案

  1. 等待并重试:这是最直接的解决方法。根据错误信息提示,高需求通常是暂时的,请等待一段时间(例如 10-30 分钟)后重新尝试翻译任务。
  2. 调整翻译设置:在 菜单 -> 工具/选项 -> 高级选项 -> 字幕翻译调整 中:

    • 翻译后暂停秒 设置为一个较大的值(例如 10 秒或更长),以降低请求频率。
    • AI翻译渠道每批字幕行数 适当调小(例如从 20 调至 10),减少单次请求的数据量。
  3. 切换翻译渠道:如果问题持续存在,可以考虑暂时使用其他翻译渠道,例如 DeepSeek、OpenAI ChatGPT 或 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.

Related resource