[ERROR] Gemini result is emtpy
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 72, in run
File "videotrans\translator\_base.py", line 142, 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 35, in run
File "videotrans\task\job.py", line 135, in process_task
File "videotrans\task\trans_create.py", line 620, 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\_gemini.py", line 105, in _item_task
videotrans.configure.excepts.TranslateSrtError: Gemini result is emtpy
[DEBUG] 开始字幕翻译: 渠道5
[INFO] Starting call to 'videotrans.translator._gemini.Gemini._item_task', this is the 1st time calling it.
[WARNING] e=ServerError("503 UNAVAILABLE. {'error': {'code': 503, 'message': 'This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.', 'status': 'UNAVAILABLE'}}")
[INFO] Finished call to 'videotrans.translator._gemini.Gemini._item_task' after 0.969(s), this was the 1st time calling it.
[DEBUG] 开始字幕翻译: 渠道5
[INFO] Starting call to 'videotrans.translator._gemini.Gemini._item_task', this is the 1st time calling it.
[DEBUG] result='1\n00:00:00,000 --> 00:00:05,000\nHello, my friend.\n'
[DEBUG] 以SRT格式翻译,原始字幕行数:1,翻译后行数:1
[DEBUG] 开始字幕翻译: 渠道5
[INFO] Starting call to 'videotrans.translator._gemini.Gemini._item_task', this is the 1st time calling it.
[WARNING] e=ServerError("503 UNAVAILABLE. {'error': {'code': 503, 'message': 'This model is currently experiencing high demand. Spikes in demand are usually temporary. Please try again later.', 'status': 'UNAVAILABLE'}}")
[INFO] Finished call to 'videotrans.translator._gemini.Gemini._item_task' after 20.563(s), this was the 1st time calling it.