#6051 [Errno 2] No such file or directory: 'D:\\tmp\\faster-20260724-15_58_18.srt':Traceback (most recent call last): File

122.192* Posted at: 1 hour ago

[Errno 2] No such file or directory: 'D:\tmp\faster-20260724-15_58_18.srt':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 202, in faster_whisper
File "pathlib.py", line 1154, in write_text
File "pathlib.py", line 1119, in open
FileNotFoundError: [Errno 2] No such file or directory: 'D:\tmp\faster-20260724-15_58_18.srt'

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 52, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_whisper.py", line 40, in _exec
File "videotrans\recognition\_whisper.py", line 128, in _faster
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: [Errno 2] No such file or directory: 'D:\tmp\faster-20260724-15_58_18.srt':Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 202, in faster_whisper
File "pathlib.py", line 1154, in write_text
File "pathlib.py", line 1119, in open
FileNotFoundError: [Errno 2] No such file or directory: 'D:\tmp\faster-20260724-15_58_18.srt'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/21605/Desktop/巍宇/7月24日 (1).mp4,
输出结果保存到文件夹: D:/视频编辑/7月24日 (1)-mp4,
临时文件夹: D://tmp/25152/e1c6bae096
已选 清理已存在
未选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: large-v3-turbo, 发音语言: 简体中文, 断句方式:默认断句
翻译渠道:Google(免费),原始语言:简体中文,目标语言:英语, 已选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Thomas(Male/GB), 配音语言:英语, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入软字幕
已选 仅输出mp4
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/

1 Replies

这是由于软件运行时尝试将语音识别结果写入 D:\tmp 目录,但该目录不存在或当前用户无写入权限导致的。常见于系统临时文件夹被手动清理、权限限制或磁盘空间不足。

解决方法:

  1. 手动创建 D:\tmp 文件夹(如果不存在)。
  2. 右键该文件夹 → 属性 → 安全 → 确保当前用户拥有“完全控制”权限。
  3. 重启软件后重试。如果仍有问题,将软件解压到纯英文路径(如 D:\pyVideoTrans),临时目录会自动重建。
  4. 也可在高级选项中修改临时文件夹位置(菜单 → 工具 → 高级选项 → 通用设置 → 临时目录),指向一个已有写入权限的路径。

如果以上仍无法解决,请提供 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 via ko-fi.com

Dondate via PayPal

Related resource