翻译字幕阶段出错 [字节大模型] Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177704999780337079cdcc08b35ab782b1fd6e8da4cf09e8211', 'param': '', 'type': 'TooManyRequests'}}
Traceback (most recent call last):
File "videotrans\translator\_huoshan.py", line 45, in _item_task
File "openai\resources\responses\responses.py", line 898, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.RateLimitError: Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177704999780337079cdcc08b35ab782b1fd6e8da4cf09e8211', 'param': '', 'type': 'TooManyRequests'}}
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\trans_create.py", line 659, in trans
File "videotrans\translator\__init__.py", line 969, in run
File "videotrans\translator\_base.py", line 97, in run
File "videotrans\translator\_base.py", line 161, in _run_srt
File "videotrans\translator\_huoshan.py", line 55, in _item_task
RuntimeError: Error code: 429 - {'error': {'code': 'RequestBurstTooFast', 'message': 'System protection triggered by request burst. Please slow down traffic growth and increase requests gradually before retrying. Request id: 02177704999780337079cdcc08b35ab782b1fd6e8da4cf09e8211', 'param': '', 'type': 'TooManyRequests'}}
TaskCfgVTT(is_cuda=True, uuid='5863c1afa7', cache_folder='F:/win-pyvideotrans-v3.99-418/tmp/26992/5863c1afa7', target_dir='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4', source_language='日语', source_language_code='ja', source_sub='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4/ja.srt', source_wav='F:/win-pyvideotrans-v3.99-418/tmp/26992/5863c1afa7/ja.wav', source_wav_output='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4/zh-cn.srt', target_wav='F:/win-pyvideotrans-v3.99-418/tmp/26992/5863c1afa7/target.wav', target_wav_output='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4/zh-cn.m4a', name='F:/AAA/buji/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座.mp4', noextname='第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座', basename='第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座.mp4', ext='mp4', dirname='F:/AAA/buji', shound_del_name=None, translate_type=13, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=4, model_name='kotoba-tech/kotoba-whisper-v2.0', shibie_audio=None, remove_noise=False, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/AAA/buji/_video_out/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座-mp4/第1回\u3000はじめよう\u3000簿記! ~資産・負債・純資産~ 簿記 高校講座.mp4', novoice_mp4='F:/win-pyvideotrans-v3.99-418/tmp/26992/5863c1afa7/novoice.mp4', is_separate=False, embed_bgm=True, instrument=None, vocal=None, back_audio='', clear_cache=False, background_music=None, subtitle_type=3, only_out_mp4=True, recogn2pass=True, output_srt=2, copysrt_rawvideo=False)
=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/win-pyvideotrans-v3.99-418