#1575 FileNotFoundError: [Errno 2] No such file or directory: 'D:/下载/_video_out/Half-Succubus Daily Life! 🦇 Episode 2 Animatio

14.145* Posted at: 3 hours ago 👁6

Traceback (most recent call last):
File "videotrans\mainwin\_actions.py", line 829, in update_data
File "videotrans\component\onlyone_set_recogn.py", line 27, in init
File "videotrans\util\help_srt.py", line 230, in get_subtitle_from_srt
File "videotrans\util\help_srt.py", line 215, in _readfile
FileNotFoundError: [Errno 2] No such file or directory: 'D:/下载/_video_out/Half-Succubus Daily Life! 🦇 Episode 2 AnimationSk/en.srt'


=
system:Windows-10-10.0.22631-SP0
version:v3.85
frozen:True
language:zh
root_dir:D:/spfy

1 Replies

这个错误表明软件在尝试读取一个不存在的字幕文件 en.srt。这通常发生在您选择了"仅提取字幕"功能,但之前生成的字幕文件已被删除或移动。

解决方案:

  1. 重新生成字幕: 返回主界面,确保目标语言设置为英语(或其他您需要的语言),然后重新执行"仅提取字幕"功能。
  2. 检查输出目录: 确认 D:/下载/_video_out/Half-Succubus Daily Life! 🦇 Episode 2 AnimationSk/ 这个目录是否存在。如果路径过长或包含特殊字符(如 🦇),可能会导致问题。建议将视频文件重命名为简单的英文名(例如 video.mp4)并放在一个较短的路径下(如 D:/tmp/)再试。
  3. 清理缓存: 在主界面处理视频时,如果勾选了"清理已生成",也会删除之前生成的字幕文件。请确保在仅提取字幕时不要勾选此项。

请先尝试重新生成字幕文件。如果问题依旧,请提供更详细的操作步骤。

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.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions