papers"}, {"start": 599.3, "end": 599.76, "word": " with"}]'}]
2025-12-01 05:09:39,031 - INFO - 第2批次 LLM断句,每批次 500 个字或单词
2025-12-01 05:10:34,587 - INFO - 第2批次 LLM断句 完成
2025-12-01 05:10:34,587 - INFO - Finished call to 'videotrans.translator._chatgpt.ChatGPT.llm_segment.._send' after 294.172(s), this was the 2nd time calling it.
2025-12-01 05:10:34,587 - WARNING - 重新断句失败[except],已恢复原样 RetryError[]
2025-12-01 05:10:34,587 - WARNING - 重新断句失败[except],已恢复原样 RetryError[]
2025-12-01 05:10:34,603 - ERROR - LLM断句失败,将使用默认断句:RetryError[]
Traceback (most recent call last):
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_chatgpt.py", line 88, in _send
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\recognition\_overall.py", line 177, in _exec
File "videotrans\recognition\_base.py", line 110, in re_segment_sentences
File "videotrans\translator\_chatgpt.py", line 100, in llm_segment
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[]
2025-12-01 05:10:34,603 - ERROR - LLM断句失败,将使用默认断句:RetryError[]
Traceback (most recent call last):
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_chatgpt.py", line 88, in _send
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "videotrans\recognition\_overall.py", line 177, in _exec
File "videotrans\recognition\_base.py", line 110, in re_segment_sentences
File "videotrans\translator\_chatgpt.py", line 100, in llm_segment
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[]