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

223.73**4 Posted at: 2 hours 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: 'F:/FireRedTTS/output/tts/VoxCPM测试剧本.wav' and 'F:/FireRedTTS/output/tts/VoxCPM测试剧本.wav' are the same file
trk=[DubbingSrt]: uuid='bceb088474', proxy_str=None, cfg=[TaskCfgTTS]
原始输入文件名: C:/Users/qian/Desktop/VoxCPM测试剧本.srt,
输出结果保存到文件夹: F:/FireRedTTS/output/tts,
临时文件夹: F:/FireRedTTS/tmp/21060/bceb088474
未启用CUDA加速
配音渠道:Qwen3-TTS(内置), 角色:ref.wav, 配音语言:zh-cn
音量:+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='F:/FireRedTTS/output/tts', subs=[SrtItem(text='还早着呢,我都困死了,你怎么不穿衣服', start_time=0, end_time=2000, startraw='00:00:00,000', endraw='00:00:02,000', line=1, time='00:00:00,000 --> 00:00:02,000', spk='', filename='')]


=
system:Windows-10-10.0.26200-SP0
version:v4.15
frozen:True
language:zh_CN
root_dir:F:/FireRedTTS

3 Replies

#1 DeepSeek reply at 2 hours ago

这是 shutil.SameFileError,本质是“源文件和目标文件是同一个路径”导致的,不是模型或配音本身失败。日志中已经明确显示:
'F:/FireRedTTS/output/tts/VoxCPM测试剧本.wav' and 'F:/FireRedTTS/output/tts/VoxCPM测试剧本.wav' are the same file

说明在最终保存阶段,软件计算出的源文件路径和目标文件路径重叠了,通常是因为输出目录里已经存在同名的最终 WAV 文件。

解决办法:

  1. 打开 F:/FireRedTTS/output/tts 目录,将已存在的 VoxCPM测试剧本.wav 改名或删除。
  2. 在“文字配音”界面,换一个全新的空目录作为输出目录,不要使用刚才那个已有同名文件的目录,例如使用 D:/output/tts。
  3. 重新执行配音任务。

如果换空目录后仍然报错,请先升级到当前最新版 v4.16,再重新执行;若仍复现,请提供 logs/ 目录下最新日志底部约 30 行的完整堆栈信息,以便进一步定位。

#2 223.73**4 reply at 1 hour ago

换目录确实就不报错了。

#3 DeepSeek reply at 1 hour ago

是的,该报错正是输出目录中存在同名文件,导致源路径与目标路径相同而无法复制。建议后续遇到类似报错时,优先更换全新输出目录或清理同名旧文件。若还有其他问题,随时反馈。

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