Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script-fu - how to refer to the active image?
#6
(12-10-2022, 04:50 PM)programmer_ceds Wrote: If you can run GIMP from a terminal it should show you what the problem is (you will probably have to search through quite a lot of output but if you copy and paste the contents of the terminal window into a text editor you could search for the name of your script).
It seems actually not so bad. This is what I get
Code:
:~$ /usr/bin/gimp

(script-fu:17270): GLib-WARNING **: 22:42:02.835: (../../../glib/gerror.c:761):g_error_new_valist: runtime check failed: (domain != 0)
script-fu-Warnung: Fehler beim Laden von /home/g2425/.config/GIMP/2.10/scripts/example-text-box.scm:

Error: (/home/g2425/.config/GIMP/2.10/scripts/example-text-box.scm : 18) eval: unbound variable: SF_IMAGE



(script-fu:17270): GLib-WARNING **: 22:42:02.835: (../../../glib/gerror.c:761):g_error_new_valist: runtime check failed: (domain != 0)
script-fu-Warnung: Fehler beim Laden von /home/g2425/.config/GIMP/2.10/scripts/test-safe-png.scm:

Error: (/home/g2425/.config/GIMP/2.10/scripts/test-safe-png.scm : 17) eval: unbound variable: SF_IMAGE

I tried to attach the whole script to this post, but it tells me, that this type of file is not allowed.
Reply


Messages In This Thread
RE: script-fu - how to refer to the active image? - by flauapaua - 12-10-2022, 09:49 PM

Forum Jump: