翻译字幕阶段出错:[OpenAI ChatGPT] 运行时错误:[OpenAIChatGPT]content_filter:ChatCompletion(id='chatcmpl-CgkCJymisn6eGexJH0manogSYq9k2', choices=[Choice(finish_reason='content_filter', index=0, logprobs=None, message=ChatCompletionMessage(content=None, refusal=None, role='assistant', annotations=[], audio=None, function_call=None, tool_calls=None))], created=1764303395, model='gpt-4o-mini', object='chat.completion', service_tier=None, system_fingerprint='fp_efad92c60b', usage=CompletionUsage(completion_tokens=62, prompt_tokens=570, total_tokens=632, completion_tokens_details=CompletionTokensDetails(accepted_prediction_tokens=0, audio_tokens=0, reasoning_tokens=0, rejected_prediction_tokens=0), prompt_tokens_details=PromptTokensDetails(audio_tokens=0, cached_tokens=0))):
Traceback (most recent call last):
File "videotrans\translator\_base.py", line 77, in run
File "videotrans\translator\_base.py", line 137, 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 184, in run
File "videotrans\task\trans_create.py", line 417, in trans
File "videotrans\translator\__init__.py", line 907, in run
File "videotrans\translator\_base.py", line 80, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_chatgpt.py", line 168, in _item_task
RuntimeError: [OpenAIChatGPT]content_filter:ChatCompletion(id='chatcmpl-CgkCJymisn6eGexJH0manogSYq9k2', choices=[Choice(finish_reason='content_filter', index=0, logprobs=None, message=ChatCompletionMessage(content=None, refusal=None, role='assistant', annotations=[], audio=None, function_call=None, tool_calls=None))], created=1764303395, model='gpt-4o-mini', object='chat.completion', service_tier=None, system_fingerprint='fp_efad92c60b', usage=CompletionUsage(completion_tokens=62, prompt_tokens=570, total_tokens=632, completion_tokens_details=CompletionTokensDetails(accepted_prediction_tokens=0, audio_tokens=0, reasoning_tokens=0, rejected_prediction_tokens=0), prompt_tokens_details=PromptTokensDetails(audio_tokens=0, cached_tokens=0)))
TaskCfg(cache_folder='H:/win-pyvideotrans-v3.85/tmp28584/2897826989', target_dir='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly', remove_noise=False, is_separate=False, detect_language='en', subtitle_language=None, source_language='英语', target_language='简体中文', source_language_code='en', target_language_code='zh-cn', source_sub='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly/en.srt', target_sub='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly/zh-cn.srt', source_wav='H:/win-pyvideotrans-v3.85/tmp28584/2897826989/en.wav', source_wav_output='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly/en.m4a', target_wav='H:/win-pyvideotrans-v3.85/tmp28584/2897826989/target.wav', target_wav_output='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly/zh-cn.m4a', subtitles='', novoice_mp4='H:/win-pyvideotrans-v3.85/tmp28584/2897826989/novoice.mp4', noextname='Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly', shibie_audio=None, targetdir_mp4='H:/xiazai/zimu/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly.mp4', instrument=None, vocal=None, back_audio='', background_music=None, app_mode='tiqu', subtitle_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', copysrt_rawvideo=True, clear_cache=True, translate_type=3, tts_type=0, recogn_type=0, model_name='large-v3-turbo', split_type=0, voice_autorate=False, video_autorate=True, cuda=True, name='H:/xiazai/Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly.mp4', basename='Dark Psychology: NEVER Defend Yourself - Machiavelli’s Trick to Flip the Power Instantly.mp4', ext='mp4', dirname='H:/xiazai', shound_del_name=None, uuid='2897826989', remove_silent_mid=False, align_sub_audio=True, enable_diariz=False, nums_diariz=0)
=
system:Windows-10-10.0.26200-SP0
version:v3.85
frozen:True
language:zh
root_dir:H:/win-pyvideotrans-v3.85