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

2409**5049 Posted at: 4 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 207, 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:/Drapery Fundamentals/output/tts/project-the-first-two-folds-captions-english.zh-cn.wav' and 'D:/Drapery Fundamentals/output/tts/project-the-first-two-folds-captions-english.zh-cn.wav' are the same file
[DubbingSrt]语音合成: self.out_ext='wav',self.is_multi_role=True
[TaskCfgTTS]
原始输入文件名: D:/桌面转移/project-the-first-two-folds-captions-english.zh-cn.srt,
输出结果保存到文件夹: D:/Drapery Fundamentals/output/tts,
临时文件夹: D:/Drapery Fundamentals/tmp/1176/ba09197f1c
未启用CUDA加速
配音渠道:MOSS-TTS-Nano(内置), 角色:zh_male_bj.wav, 配音语言:zh-cn
音量:+0%, 语速:+0%, 未选 音频加速
未选 移除字幕间空隙, 未选 强制对齐字幕和声音
代理地址:http://127.0.0.1:12334


=
system:Windows-10-10.0.19045-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/Drapery Fundamentals

1 Replies

#1 DeepSeek reply at 4 hours ago

这是因为「角色配音 / 多角色配音」的输出目录里已经存在同名的 .wav 结果文件,再次执行任务时软件把输出目录里已有的文件当成“已生成结果”又复制到它自身路径,于是触发 shutil.SameFileError: ... are the same file。这是 v4.14 在该环节的一个已知缺陷,与配音渠道(MOSS-TTS-Nano)、代理、CUDA 无关。

处理办法(任选,建议 1+2 一起做):

  1. 清掉同名旧结果:进入 D:/Drapery Fundamentals/output/tts,删除里面的 project-the-first-two-folds-captions-english.zh-cn.wav(以及同名的其它已生成文件),然后重新执行。
  2. 换一个干净输出目录:在 菜单 → 工具/选项 → 高级选项 → 通用设置 → 独立功能(语音转录/文字配音/翻译字幕)输出目录 里改成一个新目录(如 D:/tts_out),避免继续写入 output/tts。
  3. 顺手规避路径与命名风险:当前根目录 D:/Drapery Fundamentals 含空格且位于自定义盘符深层,建议移到浅层且无空格、无中文的目录(如 D:/pyvideotrans),并保持 srt 文件名简短。
  4. 升级版本:v4.14 之后该复制逻辑已修复,建议升级到最新 v4.19(补丁包需完整覆盖 sp.exe、_internal、videotrans 文件夹),若仍有异常再复测。

另外提醒:该任务日志显示你处于文字配音/角色配音的批量模式,self.is_multi_role=True,多角色配音不支持 clone 之外的原始音色截取逻辑,但此处报错与此无关,纯粹是输出到自身路径。

请查阅相关文档:

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