#947 FileNotFoundError: [Errno 2] No such file or directory: 'D:/pyVideos/tmp/How to remove green screen image.mp4'

203.168* Posted at: 16 hours ago 👁8

Traceback (most recent call last):

File "videotrans\mainwin\_actions.py", line 964, in update_data

File "videotrans\mainwin\_actions.py", line 794, in create_btns

File "videotrans\util\help_ffmpeg.py", line 856, in format_video

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

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

FileNotFoundError: [Errno 2] No such file or directory: 'D:/pyVideos/tmp/How to remove green screen image.mp4'

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 Gemini 回复
您遇到的 FileNotFoundError 错误,表明 pyVideoTrans 尝试在 D:/pyVideos/tmp/ 目录下创建或访问一个名为 How to remove green screen image.mp4 的临时文件时失败了。这通常发生在软件需要将原始视频复制到临时工作目录进行处理时。

请尝试以下步骤解决此问题:

1. 检查原始视频文件:

  • 确保您要翻译的原始视频文件 (How to remove green screen image.mp4) 仍然存在于其原始位置,并且没有被移动、删除或重命名。
  • 确认该文件没有被其他程序(如视频播放器、编辑软件)锁定或占用。
  • 尝试将原始视频文件复制到一个路径更短、更简单的位置(例如 D:/videos/test.mp4),然后用 pyVideoTrans 尝试处理新路径下的文件。

2. 检查软件的运行权限:

  • 右键点击 sp.exevideotrans 程序的快捷方式/可执行文件,选择“以管理员身份运行”。这可以确保程序有足够的权限在 D:/pyVideos/tmp/ 目录下创建和写入文件。

3. 检查磁盘空间:

  • 确保 D: 盘有足够的可用空间。视频处理,特别是临时文件,会占用大量磁盘空间。

4. 检查安全软件或防火墙:

  • 您的杀毒软件或防火墙可能错误地阻止了 pyVideoTrans 对其自身 tmp 目录的读写操作。尝试暂时禁用它们,然后再次运行 pyVideoTrans

5. 检查安装路径(非常重要):

  • 确保 pyVideoTrans 的安装路径是纯英文、无空格、非系统权限的路径。尽管 D:/pyVideos 看起来符合要求,但请再次确认整个路径没有问题。

如果以上步骤都无法解决问题,请提供 videotrans/logs/ 目录下最新生成的日志文件,以便我进行更详细的分析。

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