Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.6.2
-
None
-
Win11, Python 3.9
Description
After converting the ConfigWindow.ui to Ui_ConfigWindow.py, and then run ConfigWindow-test.py with it, the program Terminated with no reason. Test files are attached. I have two things to say about this:
- Currently PySide are still buggy, I found some cases it won't throw exceptions and just Terminated with no reason, so It is very import to throw exceptions for debbuging. So the exceptions mechanism should be improved.
- The same program tested with PyQt6, I got the following error. I just provide the information for you to fix the single bug.
{{Traceback (most recent call last): File "F:\BaiduNetdiskDownload\SoftwareProject\LYYDownloader-dev\ConfigWindow.py", line 64, in <module> ui = ConfigWindow() File "F:\BaiduNetdiskDownload\SoftwareProject\LYYDownloader-dev\ConfigWindow.py", line 27, in __init__ self.setupUi(self) File "F:\BaiduNetdiskDownload\SoftwareProject\LYYDownloader-dev\Ui_ConfigWindow.py", line 179, in setupUi self.retranslateUi(Dialog) File "F:\BaiduNetdiskDownload\SoftwareProject\LYYDownloader-dev\Ui_ConfigWindow.py", line 211, in retranslateUi self.label.setText(QCoreApplication.translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" UnicodeEncodeError: 'utf-8' codec can't encode characters in position 1047-1048: surrogates not allowed}} .