#6588 Automatic model download failed. Click [Help Docs] for manual download instructions:

1.187.**5 Posted at: 12 hours ago

Automatic model download failed. Click [Help Docs] for manual download instructions:

Traceback (most recent call last):
File "httpx\_transports\default.py", line 101, in map_httpcore_exceptions
File "httpx\_transports\default.py", line 127, in iter
File "httpcore\_sync\connection_pool.py", line 367, in iter
File "httpcore\_sync\connection_pool.py", line 363, in iter
File "httpcore\_sync\http11.py", line 349, in iter
File "httpcore\_sync\http11.py", line 341, in iter
File "httpcore\_sync\http11.py", line 210, in _receive_response_body
File "httpcore\_sync\http11.py", line 220, in _receive_event
File "contextlib.py", line 153, in exit
File "httpcore\_exceptions.py", line 14, in map_exceptions
httpcore.RemoteProtocolError: peer closed connection without sending complete message body (received 1083577292 bytes, expected 1512927867)

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

Traceback (most recent call
......
idators.py", line 88, in _inner_fn

return fn(*args, **kwargs)

File "huggingface_hub\file_download.py", line 421, in http_get

for chunk in response.iter_bytes(chunk_size=constants.DOWNLOAD_CHUNK_SIZE):

File "httpx\_models.py", line 897, in iter_bytes
File "httpx\_models.py", line 951, in iter_raw
File "httpx\_client.py", line 153, in iter
File "httpx\_transports\default.py", line 126, in iter
File "contextlib.py", line 153, in exit
File "httpx\_transports\default.py", line 118, in map_httpcore_exceptions
httpx.RemoteProtocolError: peer closed connection without sending complete message body (received 1083577292 bytes, expected 1512927867)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 66, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 211, in run
File "videotrans\recognition\_base.py", line 90, in run
File "videotrans\recognition\_whisper.py", line 50, in _download
File "videotrans\util\help_down.py", line 168, in check_and_down_hf
videotrans.configure.excepts.DownloadModelsError: Automatic model download failed. Click [Help Docs] for manual download instructions:

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: D:/New folder (2)/video_九兽神主第一集我脑袋中隐藏着九只..._0.mp4,
输出结果保存到文件夹: D:/New folder (2)/_video_out/video_九兽神主第一集我脑袋中隐藏着九只..._0-mp4,
临时文件夹: D:/videotrans/tmp/10104/570e91d7b7
已选 清理已存在
未启用CUDA加速
未选 降噪
STT Service:faster-whisper(Built-in), distil-large-v3, 发音语言: Simplified Chinese, 断句方式:默认断句
TranslateSrt:Microsoft Translate (Free),原始语言:Simplified Chinese,目标语言:Hindi, 已选 SendSRT
TTS Service:ChatterBox(Built-in), 角色:clone, 配音语言:Hindi, 未选 二次语音识别
音量:+0%, 语速:+0%, 未选 音频加速, 未选 视频慢速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
字幕: Soft Subtitles


=
system:Windows-10-10.0.19045-SP0
version:v4.09
frozen:True
language:en
root_dir:D:/videotrans

1 Replies

#1 DeepSeek reply at 12 hours ago

This is a network interruption during the model download: the connection was dropped before the full model file was received (the error shows 1,083,577,292 bytes were downloaded, but 1,512,927,867 bytes were expected). This is not a software bug — it means your connection to the Hugging Face repository was unstable or interrupted.

How to fix it

  1. Retry the download — simply start the task again. pyVideoTrans will attempt to resume or re-download. In mainland China, it will automatically switch to the domestic mirror site (hf-mirror.com) if the direct connection fails. For large models (e.g. distil-large-v3, which is roughly 1.5 GB), a stable VPN/proxy is strongly recommended.
  2. If auto-download keeps failing, download the model manually:

    • Delete any incomplete files already in D:/videotrans/models/models--Systran--faster-distil-whisper-large-v3.
    • Download all files from: https://huggingface.co/Systran/faster-distil-whisper-large-v3/tree/main
    • Place them into: D:/videotrans/models/models--Systran--faster-distil-whisper-large-v3
    • Make sure file names are kept exactly as on the site (do not let the browser rename files like model(2).safetensors).
  3. Optional — improve reliability for future downloads: Since the error also shows your input file has a long path with Chinese characters and spaces (D:/New folder (2)/video_九兽神主第一集我脑袋中隐藏着九只..._0.mp4), it is best practice to move videos to a short, English-only path (e.g. D:/videos/test.mp4) to avoid FFmpeg path-length and special-character issues downstream.

Please consult the related documentation:

Thinking...
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 via ko-fi.com

Related resource