#5607 :Traceback (most recent call last): File "urllib\request.py", line 1348, in do_open File "http\client.py", line 1283,

36.231* Posted at: 3 hours ago

:Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1283, in request
File "http\client.py", line 1329, in _send_request
File "http\client.py", line 1278, in endheaders
File "http\client.py", line 1038, in _send_output
File "http\client.py", line 976, in send
File "http\client.py", line 1455, in connect
File "ssl.py", line 513, in wrap_socket
File "ssl.py", line 1104, in _create
File "ssl.py", line 1375, in do_handshake
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 51, in openai_whisper
File "whisper\__init__.py", line 137, in load_model
File "whisper\__init__.py", line 73, in _download
File "urllib\request.py", line 216, in urlopen
File "urllib\request.py", line 519, in open
File "urllib\request.py", line 536, in _open
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 1391, in https_open
File "urllib\request.py", line 1351, in do_open
urllib.error.URLError:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 46, in run
File "videotrans\task\trans_create.py", line 319, in recogn
File "videotrans\recognition\__init__.py", line 191, in run
File "videotrans\recognition\_base.py", line 90, in run
File "videotrans\recognition\_whisper.py", line 36, in _exec
File "videotrans\recognition\_whisper.py", line 85, in _openai
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: :Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1283, in request
File "http\client.py", line 1329, in _send_request
File "http\client.py", line 1278, in endheaders
File "http\client.py", line 1038, in _send_output
File "http\client.py", line 976, in send
File "http\client.py", line 1455, in connect
File "ssl.py", line 513, in wrap_socket
File "ssl.py", line 1104, in _create
File "ssl.py", line 1375, in do_handshake
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 51, in openai_whisper
File "whisper\__init__.py", line 137, in load_model
File "whisper\__init__.py", line 73, in _download
File "urllib\request.py", line 216, in urlopen
File "urllib\request.py", line 519, in open
File "urllib\request.py", line 536, in _open
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 1391, in https_open
File "urllib\request.py", line 1351, in do_open
urllib.error.URLError:

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/pyvideotrans/SanPing Image.mp4,
输出结果保存到文件夹: C:/Users/thinkpad/Desktop/SanPing Image-mp4,
临时文件夹: E:/BaiduNetdiskDownload/tmp/10628/7a4258eae9
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:openai-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Aria(Female/US), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕
已选 分离人声与背景声,存在分离后的纯净人声文件,存在分离后的背景声音文件
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.19045-SP0
version:v4.03
frozen:True
language:zh
root_dir:E:/BaiduNetdiskDownload

1 Replies

模型下载失败,原因是网络无法连接到模型托管服务器(Hugging Face)。openai-whisper(本地内置) 首次使用需在线下载模型,由于国内网络限制或 SSL 证书问题导致下载中断。

解决方案:

  1. 手动下载模型文件
    根据使用的模型 large-v3-turbo,下载对应的 .pt 文件,放到软件根目录的 models/ 文件夹下:

  2. 切换为 faster-whisper 渠道
    faster-whisper 同样支持 large-v3-turbo 模型,且网络下载失败时的处理更友好。在 ASR Channel 中选择 faster-whisper(本地内置),模型选择 large-v3-turbo。若下载失败,可参考手动下载 faster-whisper 模型的方式放置模型文件。
  3. 检查代理设置
    在软件主界面的网络代理框中,填写可用的代理地址(如 http://127.0.0.1:7890),或确保系统代理已正确配置。如果未使用代理,请清空代理框。

请查阅相关文档:

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