Bug 419614 - Krita from PPA can't load python plugins
Summary: Krita from PPA can't load python plugins
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: 4.2.9
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-04 02:12 UTC by danjaredg
Modified: 2020-05-24 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danjaredg 2020-04-04 02:12:39 UTC
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
Comment 1 Halla Rempt 2020-04-15 09:56:06 UTC
Note that on KDE Neon, you shouldn't use the PPA: KDE Neon keeps krita up-to-date.
Comment 2 Halla Rempt 2020-04-15 09:57:04 UTC
(Oh, and with the Neon package, scripting works)
Comment 3 Halla Rempt 2020-04-15 10:10:03 UTC
Okay, after some more thinking, I guess that you simply don't have PyQt installed...
Comment 4 wolthera 2020-04-24 11:56:18 UTC
Ok, gonna set this to waiting for info.
Comment 5 Bug Janitor Service 2020-05-09 04:33:18 UTC
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!
Comment 6 Bug Janitor Service 2020-05-24 04:33:17 UTC
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!