#4140 RuntimeError: {'message': 'prompt_lang is required'}

2602:f87f* Posted at: 2 days ago 👁19

{'message': 'prompt_lang is required'}:
Traceback (most recent call last):
File "videotrans\util\ListenVoice.py", line 16, in run
File "videotrans\tts\__init__.py", line 370, in run
File "videotrans\tts\_base.py", line 181, in run
RuntimeError: {'message': 'prompt_lang is required'}


=
system:Windows-10-10.0.26200-SP0
version:v3.99
frozen:True
language:zh
root_dir:C:/tool/fanyi/win-pyvideotrans-v3.99

1 Replies

这个错误是由于在使用 OmniVoice-TTS 配音时,缺少了必需的 prompt_lang 参数导致的。

解决方案:

  1. 重新下载最新版本:此问题已在 v3.99 版本中修复。请前往官网下载最新的完整软件包。
  2. 覆盖安装:将下载的最新版 sp.exe 文件覆盖到您当前的软件目录 C:/tool/fanyi/win-pyvideotrans-v3.99 中。
  3. 重启软件:覆盖完成后,重新启动 pyVideoTrans 即可。

下载地址:

请查阅相关文档:

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.

Related resource