#5274 TaskCfgVTT(is_cuda=False, uuid='d6fd35ea3b', cache_folder='D:/videotrans1/tmp/51264/d6fd35ea3b', target_dir='C:/Users/zw

31.22* Posted at: 2 days ago

翻译字幕阶段出错 [DeepSeek] 网络连接失败
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 101, in handle_request
File "httpcore\_sync\http11.py", line 143, in handle_request
File "httpcore\_sync\http11.py", line 113, in handle_request
File "httpcore\_sync\http11.py", line 186, in _receive_response_headers
File "httpcore\_sync\http11.py", line 238, in _receive_event
httpcore.RemoteProtocolError: Server disconnected without sending a response.

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.RemoteProtocolError: Server disconnected without sending a response.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\task\job.py", line 173, in run
File "videotrans\task\trans_create.py", line 645, in trans
File "videotrans\translator\__init__.py", line 981, in run
File "videotrans\translator\_base.py", line 101, in run
File "videotrans\translator\_base.py", line 164, in _run_srt
File "videotrans\translator\_deepseek.py", line 47, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1192, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1037, in request
openai.APIConnectionError: Connection error.
TaskCfgVTT(is_cuda=False, uuid='d6fd35ea3b', cache_folder='D:/videotrans1/tmp/51264/d6fd35ea3b', target_dir='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4', source_language='英语', source_language_code='en', source_sub='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4/en.srt', source_wav='D:/videotrans1/tmp/51264/d6fd35ea3b/en.wav', source_wav_output='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4/en.m4a', target_language='简体中文', target_language_code='zh-cn', target_sub='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4/zh-cn.srt', target_wav='D:/videotrans1/tmp/51264/d6fd35ea3b/target.wav', target_wav_output='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4/zh-cn.m4a', name='C:/Users/zwsoft/Desktop/WuKong 2027 DEMO.mp4', noextname='WuKong 2027 DEMO', basename='WuKong 2027 DEMO.mp4', ext='mp4', dirname='C:/Users/zwsoft/Desktop', shound_del_name=None, translate_type=4, tts_type=0, volume='+0%', pitch='+0Hz', voice_rate='+0%', voice_role='Yunyang(Male/CN)', voice_autorate=False, video_autorate=False, remove_silent_mid=False, align_sub_audio=True, detect_language='en', recogn_type=2, model_name='1.7B', 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='C:/Users/zwsoft/Desktop/_video_out/WuKong 2027 DEMO-mp4/WuKong 2027 DEMO.mp4', novoice_mp4='D:/videotrans1/tmp/51264/d6fd35ea3b/novoice.mp4', is_separate=True, instrument='D:/videotrans1/tmp/51264/d6fd35ea3b/instrument.wav', vocal='D:/videotrans1/tmp/51264/d6fd35ea3b/vocal.wav', back_audio='', clear_cache=False, background_music=None, subtitle_type=4, only_out_mp4=False, recogn2pass=True, output_srt=2, copysrt_rawvideo=False)


=
system:Windows-10-10.0.22631-SP0
version:v3.97
frozen:True
language:zh
root_dir:D:/videotrans1

1 Replies

暂无法确定具体原因。请提供软件安装目录下的 logs/ 文件夹中最新的日志文件(复制底部约30行报错信息)以便分析。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update. Dondate: ko-fi.com/jianchang512

Related resource