#956 videotrans.configure._except.SpeechToTextError: _overall:[Errno 2] No such file or directory: 'D:/soft/win-videotrans-v3

85.89* Posted at: 10 hours ago 👁10

语音识别阶段出错:Traceback (most recent call last):

File "videotrans\recognition\_base.py", line 64, in run

File "videotrans\recognition\_overall.py", line 156, in _exec

RuntimeError: _overall:[Errno 2] No such file or directory: 'D:/soft/win-videotrans-v3.78-0821/tmp/72000.lock'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "videotrans\task\job.py", line 77, in run

File "videotrans\task\_speech2text.py", line 93, in recogn

File "videotrans\recognition\__init__.py", line 240, in run

File "videotrans\recognition\_base.py", line 67, in run

videotrans.configure._except.SpeechToTextError: _overall:[Errno 2] No such file or directory: 'D:/soft/win-videotrans-v3.78-0821/tmp/72000.lock':FasterAll

=====

Windows-10-10.0.26100-SP0

version:v3.78

frozen:True

language:zh

1 Replies

本条内容由 Gemini 回复
您遇到的 RuntimeError: [Errno 2] No such file or directory 错误表明 pyVideoTrans 在语音识别阶段无法创建或访问其临时文件目录中的锁文件 (72000.lock)。这通常是由于文件权限不足、安全软件阻止,或安装路径存在某些不兼容性引起的。

请尝试以下解决方案:

1. 检查并授予文件夹权限:

  • 找到您的 pyVideoTrans 安装目录:D:/soft/win-videotrans-v3.78-0821/
  • 右键点击该文件夹,选择“属性”->“安全”选项卡。
  • 确保您的当前用户拥有该文件夹及其所有子文件夹的“完全控制”权限。如果权限不足,请点击“编辑”进行修改。
  • 作为临时测试,您可以尝试右键点击 sp.exe 并选择“以管理员身份运行”,看问题是否解决。

2. 添加至安全软件白名单:

  • 您的杀毒软件或防火墙可能错误地将 pyVideoTrans 的操作识别为威胁。
  • 请将 D:/soft/win-videotrans-v3.78-0821/ 整个目录添加到您的杀毒软件(如 Windows Defender、360 安全卫士等)的信任列表或排除项中。

3. 更换更简洁的安装路径:

  • 有时,过深或包含特定字符的路径可能导致问题(尽管您当前的路径看起来正常)。
  • 尝试将软件解压到一个更简洁的、直接位于某个盘符根目录下的路径,例如 D:/pyvideotransE:/videotrans,然后再次运行 sp.exe

4. 清理临时文件:

  • D:/soft/win-videotrans-v3.78-0821/ 目录下找到 tmp 文件夹。尝试删除其中的所有内容,或者直接删除 tmp 文件夹,让软件下次运行时重新创建。

如果上述步骤未能解决您的问题,请提供 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