#5528 Permission denied: C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb/final_audio_temp.wavTraceback (most rece

2001:1308* Posted at: 3 hours ago

Permission denied: C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb/final_audio_temp.wav
Traceback (most recent call last):
File "shutil.py", line 816, in move
PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb/final_audio_temp.wav' -> 'C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb/target.wav'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 109, in run
File "videotrans\task\trans_create.py", line 720, in align
File "videotrans\task\_rate.py", line 339, in run
File "videotrans\task\_rate.py", line 629, in _concat_audio_aligned
File "videotrans\task\_rate.py", line 691, in _exec_concat_audio
File "shutil.py", line 837, in move
PermissionError: [WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb/final_audio_temp.wav'

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Rafael Hilario/Desktop/0-video de Manhwa/Shorts/MI hija se me orino encima, manhwa.mp4,
输出结果保存到文件夹: C:/Users/Rafael Hilario/Desktop/0-video de Manhwa/Shorts/_video_out/MI hija se me orino encima, manhwa-mp4,
临时文件夹: C:/Users/Rafael Hilario/Desktop/doblaje/tmp/19184/bb0ad52ddb
已选 清理已存在
未选 启用CUDA加速
未选 降噪
ASR Channel:faster-whisper(LocalBuilt-in), model_name: large-v3-turbo, 发音语言: Spanish, 断句方式:默认断句
Trans Channel:Microsoft (Free),原始语言:Spanish,目标语言:English, 已选 Send SRT
Dubb Channel:Edge-TTS(Free), 角色:AndrewMultilingual(Male/US), 配音语言:English, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: Embed Hard Subs
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:en
root_dir:C:/Users/Rafael Hilario/Desktop/doblaje

1 Replies

The error occurs because final_audio_temp.wav is being held open by another process (likely a previous ffmpeg or audio-processing subprocess) when shutil.move tries to rename it. This is a common Windows file-locking issue.

Solutions (try in order):

  1. Add the entire pyVideoTrans folder to antivirus exclusions (especially Windows Defender real-time scanning). Go to Windows Security → Virus & threat protection → Manage settings → Exclusions → Add C:\Users\Rafael Hilario\Desktop\doblaje as a folder exclusion.
  2. Close all other programs that might be accessing the tmp folder (media players, video editors, file explorers). Restart the computer to clear any stale file handles.
  3. Clean the tmp folder manually: Navigate to C:\Users\Rafael Hilario\Desktop\doblaje\tmp and delete the 19184 subfolder (or all contents). Then retry the video.
  4. Run the software as Administrator (right-click sp.exe → “Run as administrator”). This sometimes helps with file permissions.
  5. If the problem persists, ensure your video file path and output path contain only ASCII characters. Your current paths seem fine, but double-check there are no special symbols.

Additional notes from your log:

  • You are using CPU mode (CUDA not enabled) with large-v3-turbo model — this can be very slow and may cause timeout-related lockups. Consider enabling CUDA if you have an NVIDIA GPU.
  • Temporary workaround: In the main interface, check “Clean Cache” to force a fresh start.

If none of the above helps, please:

  1. Provide the software version (top-left corner of the GUI) – you have v4.03 shown, but confirm if it matches the latest.
  2. Share the last ~20 lines from logs/YYYYMMDD.log after reproducing the error. This will help identify which process holds the file.

Please check relevant documentation:

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