[DEBUG] 新进程执行结束结束timeout=3
[DEBUG] LLM重新断句完成,用时:71.62530303001404s
[ERROR] 重新断句失败,已恢复原样
Logging error
Traceback (most recent call last):
File "logging\__init__.py", line 1103, in emit
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
File "videotrans\task\only_one.py", line 47, in run
File "videotrans\task\trans_create.py", line 394, in recogn
File "logging\__init__.py", line 1506, in error
File "logging\__init__.py", line 1624, in _log
File "logging\__init__.py", line 1634, in handle
File "logging\__init__.py", line 1696, in callHandlers
File "logging\__init__.py", line 968, in handle
File "logging\__init__.py", line 1108, in emit
Message: '重新断句失败,已恢复原样'
Arguments: ()
[DEBUG] 开始字幕翻译: 渠道4
[INFO] Starting call to 'videotrans.translator._openaicompat.OpenAICampat._item_task', this is the 1st time calling it.
[DEBUG] 字幕翻译:[deepseek,deepseek-v4-flash,https://api.deepseek.com/v1/]
[DEBUG] 以SRT格式翻译,原始字幕行数:477,翻译后行数:477
[DEBUG] 原始语言字幕和目标语言字幕行数一致,均为 source_len=477
[DEBUG] 跳过二次识别