You are not logged in.

#1 2021-06-18 17:39:14

sanbikappa
Member
Registered: 2021-06-18
Posts: 2

[SOLVED] Krita missing some script tools and dockers in pacman package

krita version: 4.4.5

Krita installed via official repo missing script tools(not option under "Tools > Scripts") and some dockers(Comics Manager, Last Documents Docker, Quick Settings Docker. Under "Settings > Dockers").

All those functions can be found in appimage package of the same version.

Should I install any additional package to get those functions? Or it was just a bug?

Last edited by sanbikappa (2021-06-18 21:50:00)

Offline

#2 2021-06-18 18:33:12

progandy
Member
Registered: 2012-05-17
Posts: 5,277

Re: [SOLVED] Krita missing some script tools and dockers in pacman package

I have all those menu options, possibly because I have some of the optional dependencies installed:

poppler-qt5, ffmpeg, python-pyqt5 and libheif.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2021-06-18 21:32:32

sanbikappa
Member
Registered: 2021-06-18
Posts: 2

Re: [SOLVED] Krita missing some script tools and dockers in pacman package

progandy wrote:

I have all those menu options, possibly because I have some of the optional dependencies installed:

poppler-qt5, ffmpeg, python-pyqt5 and libheif.


Spot on! Functions were found after I installed optional packages. thank you!

Offline

#4 2024-12-24 10:01:56

a2800276
Member
Registered: 2023-04-03
Posts: 2

Re: [SOLVED] Krita missing some script tools and dockers in pacman package

Installing the optional dependencies no longer "activates" python scripting, unfortunately.

I believe the problem is with some python packages missing within the krita python environment:

Set PYTHONPATH environment variable
/usr/lib/krita-python-libs/krita added to PYTHONPATH
krita.scripting: "Traceback (most recent call last):"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/__init__.py\", line 32, in <module>"
krita.scripting: "    import excepthook"
krita.scripting: "  File \"/usr/lib/krita-python-libs/krita/excepthook.py\", line 14, in <module>"
krita.scripting: "    import cgitb"
krita.scripting: "ModuleNotFoundError: No module named 'cgitb'"
krita.scripting: "Could not import krita"

Offline

#5 2024-12-24 10:08:14

a2800276
Member
Registered: 2023-04-03
Posts: 2

Re: [SOLVED] Krita missing some script tools and dockers in pacman package

Ok, just found this link. Apparently this is due to cgitb being removed in Python 3.13...

Offline

Board footer

Powered by FluxBB