#1056 KeyError: 'listen_text_阿塞拜疆语'

104.28* Posted at: 4 days ago 👁18

Traceback (most recent call last):
File "/Users/tips/voice/pyvideotrans/videotrans/winform/fn_peiyin.py", line 248, in listen_voice_fun

text = config.params[f'listen_text_{lang}']

KeyError: 'listen_text_阿塞拜疆语'

=====
macOS-26.0.1-arm64-arm-64bit
version:v3.81
frozen:False
language:zh

1 Replies

这个错误表明在尝试获取“阿塞拜疆语”的监听文本时,配置文件中缺少对应的键值。

请按以下步骤解决:

  1. 在软件主界面,点击菜单栏的 工具/选项 -> 高级选项
  2. 在“配音调整”区域,找到“监听语言”相关设置
  3. 检查“监听语言”是否被设置为“阿塞拜疆语”,如果是,请将其更改为软件支持的语言(如中文、英语等)
  4. 或者直接重置“监听语言”设置

如果问题仍然存在,请提供完整的日志文件(位于软件根目录的 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