#7975 System Error (None): NoneTraceback (most recent call last):

103.125**5 Posted at: 1 hour ago

System Error (None): None
Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 205, in process_task

File "videotrans\task\dubbing.py", line 286, in task_done

File "shutil.py", line 434, in copy2

File "shutil.py", line 234, in copyfile

shutil.SameFileError: 'C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts/en.wav' and 'C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts/en.wav' are the same file
trk=[DubbingSrt]: uuid='6883bc0672', proxy_str=None, cfg=[TaskCfgTTS]
原始输入文件名: C:/Users/innoc/OneDrive/Desktop/ootaku workspace/_video_out/Genius 62-63-enhanced-v2_1-mp4/en.srt,
输出结果保存到文件夹: C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts,
临时文件夹: C:/Users/innoc/OneDrive/Desktop/pyvideo/tmp/33632/6883bc0672
已启用CUDA加速
TTS Service:ChatterBox(Built-in), 角色:zh_female_nverguo.wav, 配音语言:en
音量:+0%, 语速:+0%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
已选 移除每条字幕配音开头和结尾静音缓冲
静音移除力度: default, precent=1, hasend=False, should_recogn=False, should_trans=False, should_dubbing=True, should_hebing=False, out_ext='wav', is_multi_role=True, ignore_align=False, output_folder='C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts', subs=[SrtItem(text="Hiram's grandfather called her name. He said there were only two cases where a person could", start_time=6100, end_time=10540, startraw='00:00:06,100', endraw='00:00:10,540', line=1, time='00:00:06,100 --> 00:00:10,540', spk='', filename=''), SrtItem(text='truly change. One was when they came back from the brink of death. Hiram was speechless,', start_time=10540, end_time=14580, startraw='00:00:10,540', endraw='00:00:14,580', line=2, time='00:00:10,540 --> 00:00:14,580', spk='', filename=''), SrtItem(text='and she wondered what on earth her grandfather was talking about.', start_time=14620, end_time=17660, startraw='00:00:14,620', endraw='00:00:17,660', line=3, time='00:00:14,620 --> 00:00:17,660', spk='', filename=''), SrtItem(text='The man continued and said that the other was when a major shift occurred in their', start_time=17840, end_time=21880, startraw='00:00:17,840', endraw='00:00:21,880', line=4, time='00:00:17,840 --> 00:00:21,880', spk='', filename='')]


=
system:Windows-10-10.0.26300-SP0
version:v4.15
frozen:True
language:en_US
root_dir:C:/Users/innoc/OneDrive/Desktop/pyvideo

1 Replies

#1 DeepSeek reply at 1 hour ago

This is a file-handling bug (shutil.SameFileError) occurring at the final "task_done" step of the standalone dubbing (Text-to-Speech) function. The software attempted to copy the finished audio onto itself: both the source and destination resolved to C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts/en.wav. This is typically caused by the output directory and the temporary path resolving to the same location — a situation commonly triggered by OneDrive-synced folders on Windows (your software root and output path are both under OneDrive).

Recommended actions:

  1. Move the standalone-feature output directory OUT of OneDrive. Go to Menu → Tools/Options → Advanced Options → General, set the "standalone feature output directory (Set output directory)" to a plain local path (e.g. D:\pyoutput), then restart the software.
  2. Delete any existing en.wav inside C:/Users/innoc/OneDrive/Desktop/pyvideo/output/tts, then re-run the task.
  3. Also consider moving the whole software folder out of OneDrive to a simple local path such as D:\pyvideo.
  4. Ensure you are on the latest v4.15 + patch. If you only overwrote sp.exe, re-extract the full v4.15 patch/full package so all files (including the videotrans folder) are updated.

If the error persists after the steps above, this specific error is not documented in the current knowledge base and cannot be confirmed with certainty. Please provide the latest log file from the software's logs/ folder (copy the bottom ~30 lines of the error message) for further analysis.

请查阅相关文档:

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