(.venv) ms@MS:~/QT5_bay_explorer/Q5_bay_explorer/main/pyQT6_test $ pyuic6 mainwindow.ui -o MainWindow.py --debug PyQt6.uic.uiparser: toplevel widget is QMainWindow PyQt6.uic.properties: setting property geometry PyQt6.uic.properties: setting property windowTitle PyQt6.uic.uiparser: push QMainWindow MainWindow PyQt6.uic.uiparser: push QWidget centralwidget PyQt6.uic.uiparser: push QHBoxLayout horizontalLayout PyQt6.uic.properties: setting property text PyQt6.uic.uiparser: push QLabel label_2 PyQt6.uic.uiparser: pop widget QLabel label_2 PyQt6.uic.uiparser: new topwidget self.centralwidget Traceback (most recent call last): File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/pyuic.py", line 77, in main generate(args.ui, args.output, args.indent, args.execute, File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/pyuic.py", line 155, in generate compileUi(ui_file, pyfile, execute, indent) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/compile_ui.py", line 169, in compileUi winfo = compiler.UICompiler().compileUi(uifile, pyfile) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/Compiler/compiler.py", line 101, in compileUi w = self.parse(input_stream) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 1014, in parse self._handle_widget(ui_file.widget) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 842, in _handle_widget self.traverseWidgetTree(el) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 818, in traverseWidgetTree handler(self, child) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 280, in createWidget self.traverseWidgetTree(elem) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 818, in traverseWidgetTree handler(self, child) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 512, in createLayout self.traverseWidgetTree(elem) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 818, in traverseWidgetTree handler(self, child) File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 554, in handleItem elem[0].attrib['layout-position'] = _layout_position(elem) ^^^^^^^^^^^^^^^^^^^^^^ File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 88, in _layout_position return (0, _parse_alignment(alignment)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ms/.local/lib/python3.11/site-packages/PyQt6/uic/uiparser.py", line 61, in _parse_alignment _, qt_align = qt_align.split('::') ^^^^^^^^^^^ ValueError: too many values to unpack (expected 2)