#6979 [Errno 2] No such file or directory: 'C:\\Users\\anjia\\Downloads\\Compressed\\win-pyvideotrans-v4.11_2\\tmp\\19060\\236

184.147**3 Posted at: 3 hours ago

[Errno 2] No such file or directory: 'C:\Users\anjia\Downloads\Compressed\win-pyvideotrans-v4.11_2\tmp\19060\236e9dd576\queuetts-1788135997.780996.json',Traceback (most recent call last):
File "videotrans\process\qwen_tts.py", line 50, in qwen3tts_fun
File "pathlib.py", line 1134, in read_text
File "pathlib.py", line 1119, in open
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\anjia\Downloads\Compressed\win-pyvideotrans-v4.11_2\tmp\19060\236e9dd576\queuetts-1788135997.780996.json'

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 107, in run
File "videotrans\task\_stage_dubbing.py", line 24, in dubbing
File "videotrans\task\_stage_dubbing.py", line 101, in _tts
File "videotrans\tts\__init__.py", line 233, in run
File "videotrans\tts\_base.py", line 103, in run
File "videotrans\tts\_qwenttslocal.py", line 59, in _exec
File "videotrans\configure\base.py", line 270, in _new_process
videotrans.configure.excepts.VideoTransError: [Errno 2] No such file or directory: 'C:\Users\anjia\Downloads\Compressed\win-pyvideotrans-v4.11_2\tmp\19060\236e9dd576\queuetts-1788135997.780996.json',Traceback (most recent call last):
File "videotrans\process\qwen_tts.py", line 50, in qwen3tts_fun
File "pathlib.py", line 1134, in read_text
File "pathlib.py", line 1119, in open
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\anjia\Downloads\Compressed\win-pyvideotrans-v4.11_2\tmp\19060\236e9dd576\queuetts-1788135997.780996.json'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频 单视频模式
原始输入文件名: D:/课程/Abstract Linear Algebra (Fall 2021)/Abstract Linear Algebra (Fall 2021) - 034 - 34 Generalized eigenspaces and multiplicities of eigenvalues.mp4,
输出结果保存到文件夹: D:/课程/Abstract Linear Algebra (Fall 2021)/_video_out/Abstract Linear Algebra (Fall 2021) - 034 - 34 Generalized eigenspaces and multiplicities of eigenvalues-mp4,
临时文件夹: C:/Users/anjia/Downloads/Compressed/win-pyvideotrans-v4.11_2/tmp/19060/236e9dd576
已选 清理已存在
未启用CUDA加速
未选 降噪
已选 恢复标点符号
语音识别:faster-whisper(内置), large-v3, 发音语言: 英语, 断句方式:LLM重新断句
翻译渠道:DeepSeek,原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
配音渠道:Qwen3-TTS(内置), 角色:clone, 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 已选 视频慢速
字幕: 不嵌入字幕
已选 仅输出mp4


=
system:Windows-10-10.0.26100-SP0
version:v4.11
frozen:True
language:zh
root_dir:C:/Users/anjia/Downloads/Compressed/win-pyvideotrans-v4.11_2

1 Replies

#1 DeepSeek reply at 3 hours ago

该报错的核心原因:临时队列文件queuetts-*.json在Qwen3-TTS配音子进程读取前已被删除或未成功生成。最常见来源是多个sp.exe实例共享同一个tmp临时文件夹,其中一个实例关闭时会将tmp整体清空,导致另一个正在运行的实例找不到正在使用的队列文件。

解决方案(按顺序尝试):

  1. 确保只运行一个sp.exe实例
    关闭所有已打开的pyVideoTrans窗口,重新启动软件,只处理一个视频。多实例会导致临时文件夹被互相清理。
  2. 将软件解压到浅层全英文路径
    你当前解压在 C:\Users\anjia\Downloads\Compressed\win-pyvideotrans-v4.11_2,位于用户下载目录下,路径较深且易受系统清理工具影响。建议重新解压到 D:\pyVideoTrans 这类非系统盘、纯英文数字、无空格路径。
  3. 关闭杀毒软件或将软件目录加入白名单
    queuetts 文件可能被Windows Defender、360等误判为临时风险文件而隔离删除。将整个软件目录加入信任白名单后再试。
  4. 重启后重新执行,取消勾选清理已生成
    如果同一视频需要重新翻译,取消勾选“清理已生成”,避免软件在中间阶段清理掉正在使用的文件。
  5. 检查磁盘剩余空间
    若C盘空间不足,可能导致临时文件写入失败或写入后被自动回收。确保软件所在盘至少有5GB以上空闲。

若以上仍无法解决,请提供软件安装目录下 logs/ 文件夹中最新日志文件(复制底部约30行报错信息),以便进一步分析。

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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