#1476 AttributeError: 'TransCreate' object has no attribute 'detect_language'

2804:7f0* Posted at: 5 hours ago 👁11

语音识别阶段出错:[Faster-Whisper-XXL.exe] 程序内部错误:'TransCreate' object has no attribute 'detect_language':
Traceback (most recent call last):
File "videotrans\task\job.py", line 105, in run
File "videotrans\task\trans_create.py", line 315, in recogn
AttributeError: 'TransCreate' object has no attribute 'detect_language'


=
system:Windows-10-10.0.26200-SP0
version:v3.83
frozen:True
language:zh
root_dir:D:/win-videotrans-v3.83_20251103_013844

1 Replies

这是一个软件内部的兼容性错误,通常出现在版本更新后。请按以下步骤解决:

  1. 清理缓存和临时文件

    • 在软件主界面,勾选 “清理已生成” 复选框。
    • 如果问题依旧,请手动删除以下两个文件夹:

      • 软件根目录下的 tmp 文件夹(例如 D:/win-videotrans-v3.83_20251103_013844/tmp)。
      • 用户家目录下的 pyvideotrans 文件夹(通常在 C:/Users/[你的用户名]/pyvideotrans)。
  2. 重启软件:完成清理后,重新启动 pyVideoTrans 并再次尝试处理视频。

如果上述方法无效,请提供 D:/win-videotrans-v3.83_20251103_013844/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

Trending Questions