https://bugs.kde.org/show_bug.cgi?id=396381

            Bug ID: 396381
           Summary: PyKrita doesn't load with PyQt 5.11
           Product: krita
           Version: 4.1.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: aro...@archlinux.org
  Target Milestone: ---

Python plugins don't work with PyQt 5.11. For some reason beyond my
understanding the PyQt developer decided that PyQt must now use a private copy
of sip [1], and that seems to confuse krita, which still uses the shared sip. 

krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line
7, in <module>"
krita.scripting: "    from .api import *"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/api.py\", line 28,
in <module>"
krita.scripting: "    from PyKrita.krita import *"
krita.scripting: "RuntimeError: the PyQt5.QtCore module failed to register with
the sip module"
krita.scripting: "Could not import krita"

Tried rebuilding krita with PyQt 5.11, didn't help.

[1] https://www.riverbankcomputing.com/pipermail/pyqt/2018-June/040421.html

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to