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

183.249**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 206, in process_task

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

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

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

shutil.SameFileError: 'D:/clone-voice/output/tts/test.wav' and 'D:/clone-voice/output/tts/test.wav' are the same file
[DubbingSrt]语音合成: self.out_ext='wav',self.is_multi_role=True
[TaskCfgTTS]
原始输入文件名: C:/Users/10467/Desktop/test.srt,
输出结果保存到文件夹: D:/clone-voice/output/tts,
临时文件夹: D:/clone-voice/tmp/23252/adebb1ce4a
未启用CUDA加速
配音渠道:Edge-TTS(免费), 角色:No, 配音语言:zh-cn
音量:+0%, 语速:+0%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音


=
system:Windows-10-10.0.26200-SP0
version:v4.13
frozen:True
language:zh_CN
root_dir:D:/clone-voice

1 Replies

#1 DeepSeek reply at 1 hour ago

这是输出目录设置冲突导致的:你指定的输出文件夹与临时工作目录指向了同一处(都在 D:/clone-voice/output/tts 下),软件在收尾阶段把生成的 test.wav 拷贝到目标位置时,发现源文件和目标文件是同一个文件,于是抛出 shutil.SameFileError

处理步骤:

  1. 不要将输出目录设置在软件自身的 output 子目录内。请将文件(test.srt)放到一个独立的、与软件目录无关的路径,例如 D:/work/
  2. 或者点击 输出到... 按钮,手动指定一个与软件安装目录分离的目录,例如 D:/myout
  3. 重新执行任务,避免源路径与目标路径重合。

参考文档:

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