SUMMARY When krita is installed from PPA in KDE Neon, krita can't load python plugins with error: RuntimeError: PyKrita.krita cannot import type 'QMap<QString,QVariant>' from PyQt5.QtCore STEPS TO REPRODUCE 1. Install Krita from PPA ppa:kritalime/ppa 2. Run Krita in Console OBSERVED RESULT Krita can't load python plugins with error: krita.scripting: "Traceback (most recent call last):" krita.scripting: " File \"/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/__init__.py\", line 7, in <module>" krita.scripting: " from .api import *" krita.scripting: " File \"/usr/lib/x86_64-linux-gnu/krita-python-libs/krita/api.py\", line 28, in <module>" krita.scripting: " from PyKrita.krita import *" krita.scripting: "RuntimeError: PyKrita.krita cannot import type 'QMap<QString,QVariant>' from PyQt5.QtCore" krita.scripting: "Could not import krita" EXPECTED RESULT Krita should be load python plugins SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.18.4 Qt Version: 5.14.1 ADDITIONAL INFORMATION
Note that on KDE Neon, you shouldn't use the PPA: KDE Neon keeps krita up-to-date.
(Oh, and with the Neon package, scripting works)
Okay, after some more thinking, I guess that you simply don't have PyQt installed...
Ok, gonna set this to waiting for info.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!