Windows 7 64bit SP1, Python 3.6.4 The default scripts and their corresponding .desktop files are in krita-x64-4.0.0.51\share\krita\pykrita, but they are not available in the Python Plugin Manager or Tools>Scripts menu. As an experiment I tried placing a few of the scripts/.desktop files in the resources pykrita folder but this did not work either. Scripting was functioning in Windows portable krita-4.0.0-prealpha.2c, so unless it's been disabled for some reason, I'm guessing this is a bug
Forgot to specify, this is the Windows portable version of 4.0.0-beta 1
We moved to KDE's binary factory, with a set of new scripts, and something must still be wrong with the packaging scripts: [14376] krita.scripting: Setting python paths: "C:/Users/boude/AppData/Roaming/krita\\;C:/Users/boude/Desktop/krita-x64-4.0.0.51/bin\\;C:/Users/boude/AppData/Roaming/krita/pykrita\\;C:/Users/boude/Desktop/krita-x64-4.0.0.51/share/pykrita\\;C:/Users/boude/Desktop/krita-x64-4.0.0.51/share/krita/pykrita\\;C:/Users/boude/Desktop/krita-x64-4.0.0.51/lib/krita-python-libs;C:/Users/boude/Desktop/krita-x64-4.0.0.51/python/python36.zip;C:/Users/boude/Desktop/krita-x64-4.0.0.51/python" [14376] krita.scripting: "Traceback (most recent call last):" [14376] krita.scripting: " File \"C:\\Users\\boude\\Desktop\\krita-x64-4.0.0.51\\lib\\krita-python-libs\\krita\\__init__.py\", line 8, in <module>" [14376] krita.scripting: " from .api import *" [14376] krita.scripting: " File \"C:\\Users\\boude\\Desktop\\krita-x64-4.0.0.51\\lib\\krita-python-libs\\krita\\api.py\", line 28, in <module>" [14376] krita.scripting: " from PyKrita.krita import *" [14376] krita.scripting: "ModuleNotFoundError: No module named 'sip'" [14376] krita.scripting: "Could not import krita"
Git commit 94e1e47641c9e6546b9d4b5eaf1ac1d4c70465f1 by Alvin Wong. Committed on 14/01/2018 at 08:10. Pushed by alvinwong into branch 'master'. Win packaging: Also copy Python libs from deps install dir Regression from: 871a70823e8ffa007d8b59e18122b5f5f173b6d4 Maniphest Tasks: T1625 Ref: D9582 M +1 -0 packaging/windows/package-complete.cmd https://commits.kde.org/krita/94e1e47641c9e6546b9d4b5eaf1ac1d4c70465f1
Confirmed fixed on latest nightly #36 krita-nightly-x64-v4.0.0.51-97-g2ab0991e25