翻译字幕阶段出错 [字节大模型] Connection error.
Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 250, in handle_request
File "httpcore\_sync\connection_pool.py", line 216, in handle_request
File "httpcore\_sync\connection_pool.py", line 196, in handle_request
File "httpcore\_sync\connection.py", line 99, in handle_request
File "httpcore\_sync\connection.py", line 76, in handle_request
File "httpcore\_sync\connection.py", line 122, in _connect
File "httpcore\_backends\sync.py", line 205, in connect_tcp
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.ConnectError: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "openai\_base_client.py", line 1005, in request
File "httpx\_client.py", line 914, in send
File "httpx\_client.py", line 942, in _send_handling_auth
File "httpx\_client.py", line 979, in _send_handling_redirects
File "httpx\_client.py", line 1014, in _send_single_request
File "httpx\_transports\default.py", line 249, in handle_request
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.ConnectError: [Errno 11001] getaddrinfo failed
The above exception was the direct cause of the following exception:
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 1037, in request
openai.APIConnectionError: Connection error.
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 658, in trans
File "videotrans\translator\__init__.py", line 973, 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: Connection error.
TaskCfgVTT(is_cuda=True, uuid='64acb62b1d', cache_folder='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d', target_dir='F:/FanYi/20260417-mp4', source_language='日语', source_language_code='ja', source_sub='F:/FanYi/20260417-mp4/ja.srt', source_wav='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d/ja.wav', source_wav_output='F:/FanYi/20260417-mp4/ja.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='F:/FanYi/20260417-mp4/zh-cn.srt', target_wav='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d/target.wav', target_wav_output='F:/FanYi/20260417-mp4/zh-cn.m4a', name='F:/tu ku/20260417.mp4', noextname='20260417', basename='20260417.mp4', ext='mp4', dirname='F:/tu ku', shound_del_name=None, translate_type=13, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='No', voice_autorate=True, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='ja', recogn_type=8, model_name='tiny', shibie_audio=None, remove_noise=True, enable_diariz=False, nums_diariz=0, rephrase=0, fix_punc=False, subtitle_language=None, app_mode='biaozhun', subtitles='', targetdir_mp4='F:/FanYi/20260417-mp4/20260417.mp4', novoice_mp4='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d/novoice.mp4', is_separate=True, embed_bgm=True, instrument='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d/instrument.wav', vocal='F:/FanYi/win-pyvideotrans-v3.99/tmp/19960/64acb62b1d/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=1, only_out_mp4=True, recogn2pass=True, output_srt=0, copysrt_rawvideo=False)
=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99