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

openSUSE: Packaging error: PySide6 tries to run Shiboken.replaceModuleDict function but it doesn't exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.8.1
    • PySide, Shiboken
    • None
    • Distribution: openSUSE Tumbleweed 20250130
      DE: KDE Plasma 6.2.5
      Window manager: KWin-wayland
      Kernel: 6.13.0-1-default
    • Linux/Wayland

    Description

      When importing PySide6, it crashes beacuse it's _init_.py file has this line (this is last line by the way): Shiboken.replaceModuleDict(sys.modules["PySide6"], SubModule, ModuleDict(globals())) But Python says: AttributeError: module 'shiboken6.Shiboken' has no attribute 'replaceModuleDict'

      So, any PySide6 application can't be opened because of this line. I can solve this problem just removing that line in _init_.py but versions before 6.8.0 doesn't have this issue.

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            mukonqi Muhammed SAVCI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes