(03-26-2025, 10:47 PM)iiey Wrote: 1. Firstly, maybe you could check if your gimp3 fully installed, or not. By putting this file into .../plugin-ins/test-dialog/test-dialog.py and see if the test plugin is available under Filters/development/Demos after restarting gimp?
If the example is not there, then Ofnuts may correct that you should reinstalled the latest gimp3 and ensure that the python component is not missing.
2. Otherwise, please check by starting "C:\Program Files\gimp3\bin\gimp-console-3.0.exe" instead of gimp gui program.
If there is an issue with the plugin, it may output some hints there.
3. Select the nikplugin.py file, right-click > properties > securities and make sure that read & execute is checked.
Let me know if you find out something!
Other debugging ideas are:
0.0 Ensure you downloaded the latest commit to avoid any intermediate error. The content should be identical with nikplugin.py because python is indent sensitive.
0.1 Ensure that we place the plugin folder where your GIMP3 expected, if it was not a machine installation but only user installation, it will be different. Check here: GIMP > Edit > Preferences > Folders > Plug-ins
0.2 If the plugin is placed in the correct folder, check: GIMP > Filters > Development > Python-Fu > Python Console
Input these lines and press enter, if error occurs, then gimp python modules are missing, reinstall may help.
Code:
import gi
gi.require_version("Gimp", "3.0")
gi.require_version("GimpUi", "3.0")
gi.require_version("Gegl", "0.4")
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gegl
from gi.repository import Gimp
from gi.repository import GimpUi
from gi.repository import Gio
from gi.repository import Gtk
Please let me know if anything helps!