Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2403

pyside6-designer keep clashing on MacOS M2 13.4.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.5.1
    • PySide
    • None
    • macOS

    Description

      I install pyside6 using `pip install`

      when I open `pyside6-designer` and try to create a `.ui` file. The pyside6-designer keep clashing with the message below:

      /Users/malvin/py-src/test_pyside6/venv/bin/pyside6-designerError: qt.pysideplugin: Environment variable PYSIDE_DESIGNER_PLUGINS is not set, bailing out.qt.pysideplugin: No instance of QPyDesignerCustomWidgetCollection was found.Qt Designer: The QWebEngineView custom widget plugin is disabled because it requires OpenGL/Software RHI (current: 6).Qt Designer: The QWebEngineView custom widget plugin is disabled because it requires OpenGL/Software RHI (current: 6).QtLocalePropertyManager::valueText: Unknown territory 50 for English2023-07-23 16:48:25.146 Designer[44443:1863364] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array'*** First throw call stack:(	0   CoreFoundation                      0x000000019617f154 __exceptionPreprocess + 176	1   libobjc.A.dylib                     0x0000000195c9e4d4 objc_exception_throw + 60	2   CoreFoundation                      0x00000001962699b8 -[__NSCFString characterAtIndex:].cold.1 + 0	3   CoreFoundation                      0x00000001960f2bb8 -[__NSArrayM objectAtIndexedSubscript:] + 188	4   libqcocoa.dylib                     0x0000000104394124 _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269336	5   libqcocoa.dylib                     0x00000001043941a8 _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 269468	6   libqcocoa.dylib                     0x000000010439277c _ZN20QCocoaSystemTrayIcon13emitActivatedEv + 262768	7   QtWidgets                           0x0000000104845354 _ZN9QTreeView16selectionChangedERK14QItemSelectionS2_ + 620	8   QtCore                              0x00000001056c5788 _ZN11QMetaObject8activateEP7QObjectPKS_iPPv + 3780	9   QtCore                              0x00000001058896a4 _ZN19QItemSelectionModel20emitSelectionChangedERK14QItemSelectionS2_ + 216	10  QtCore                              0x0000000105889264 _ZN19QItemSelectionModel6selectERK14QItemSelection6QFlagsINS_13SelectionFlagEE + 660	11  QtCore                              0x0000000105889e2c _ZN19QItemSelectionModel14clearSelectionEv + 64	12  QtDesignerComponents                0x000000010334e354 QtDesignerComponents + 451412	13  QtDesignerComponents                0x000000010330b5b8 QtDesignerComponents + 177592	14  QtDesignerComponents                0x000000010331ec64 QtDesignerComponents + 257124	15  QtCore                              0x000000010567c138 _ZN23QCoreApplicationPrivate34sendThroughApplicationEventFiltersEP7QObjectP6QEvent + 228	16  QtWidgets                           0x0000000104558f2c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 80	17  QtWidgets                           0x000000010455b03c _ZN12QApplication6notifyEP7QObjectP6QEvent + 5100	18  QtCore                              0x000000010567bf88 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292	19  QtWidgets                           0x000000010455958c _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb + 808	20  QtWidgets                           0x00000001045b69b0 _ZNK21QWidgetRepaintManager3rhiEv + 9912	21  QtWidgets                           0x00000001045b5c68 _ZNK21QWidgetRepaintManager3rhiEv + 6512	22  QtWidgets                           0x0000000104558fec _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272	23  QtWidgets                           0x0000000104559e50 _ZN12QApplication6notifyEP7QObjectP6QEvent + 512	24  QtCore                              0x000000010567bf88 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 292	25  QtGui                               0x0000000103a0a794 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE + 1748	26  QtGui                               0x0000000103a61aa4 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 396	27  libqcocoa.dylib                     0x0000000104337d40 qt_plugin_instance + 54740	28  CoreFoundation                      0x000000019610663c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28	29  CoreFoundation                      0x00000001961065d0 __CFRunLoopDoSource0 + 176	30  CoreFoundation                      0x0000000196106340 __CFRunLoopDoSources0 + 244	31  CoreFoundation                      0x0000000196104f48 __CFRunLoopRun + 828	32  CoreFoundation                      0x00000001961044b8 CFRunLoopRunSpecific + 612	33  HIToolbox                           0x000000019f94ec40 RunCurrentEventLoopInMode + 292	34  HIToolbox                           0x000000019f94e8d0 ReceiveNextEventCommon + 220	35  HIToolbox                           0x000000019f94e7d4 _BlockUntilNextEventMatchingListInModeWithFilter + 76	36  AppKit                              0x0000000199325d44 _DPSNextEvent + 636	37  AppKit                              0x0000000199324ee0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716	38  AppKit                              0x0000000199319344 -[NSApplication run] + 464	39  libqcocoa.dylib                     0x0000000104336644 qt_plugin_instance + 48856	40  QtCore                              0x00000001056858fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 532	41  QtCore                              0x000000010567c614 _ZN16QCoreApplication4execEv + 112	42  Designer                            0x00000001029559b8 main + 104	43  dyld                                0x0000000195ccff28 start + 2236)libc++abi: terminating due to uncaught exception of type NSException
      while executing '/Users/malvin/py-src/test_pyside6/venv/lib/python3.9/site-packages/PySide6/Designer.app/Contents/MacOS/Designer'
      Process finished with exit code 250

       

       

      clash happened when I click on the red box area. 

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              malvinlok Malvin Lok
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes