#1145 PySide6.QtWidgets.QLineEdit.setText(arg__1: str, /)

125.59* Posted at: 8 days ago 👁26

Traceback (most recent call last):
File "videotrans\mainwin\_main_win.py", line 516, in
File "videotrans\winform\chattts.py", line 65, in openwin
TypeError: 'PySide6.QtWidgets.QLineEdit.setText' called with wrong argument types:
PySide6.QtWidgets.QLineEdit.setText(int)
Supported signatures:
PySide6.QtWidgets.QLineEdit.setText(arg__1: str, /)


=
Windows-10-10.0.19045-SP0
version:v3.80
frozen:True
language:zh

2 Replies

这是一个在 v3.80 版本中出现的界面代码错误,具体是在打开 ChatTTS 功能窗口时,尝试将一个整数(int)设置到文本输入框(QLineEdit)中,但该控件只接受字符串(str)参数。

解决方案:

  1. 更新软件:这个问题很可能在后续版本中已被修复。请前往官方发布页面下载并安装最新的 v3.81 版本。
  2. 临时规避:如果暂时不想更新,可以避免使用软件中与 ChatTTS 相关的功能。

如果更新后问题仍然存在,请提供更新后的完整错误日志。

高级选项中可用的音色id多填写几个,中间使用英文逗号分隔,不要只填写一个

2342,123,5,567
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