Post Reply 

Script Fu Help

Dec 13, 2013, 19:29 (This post was last modified: Dec 13, 2013 20:22 by ofnuts.)
Post: #1
Script Fu Help
I'm fairly new to Gimp, and I've been having a heck of a time trying to use the scripts. I'm operating on Windows 7. Every time I try to run certain scripts (so far everything but "add boarder") it comes up with the following error messages:

Quote:Plug-In 'Outer Glow' left image undo in inconsistent state, closing open undo groups.

Error while executing script_fu_layer_effects_outer_glow:

Error: ( : 1) Procedure execution of gimp-selection-layer-alpha failed on invalid input arguments: Item 'Image copy' (38) cannot be used because it has not been added to an image

As you can imagine, this is a bit of an issue. I'm trying to complete a school assignment and, even though I'm following the exact steps that are specified, I can't seem to get it to work. Any ideas?
Find all posts by this user
Quote this message in a reply
Dec 13, 2013, 21:07
Post: #2
RE: Script Fu Help
(Dec 13, 2013 20:21)ofnuts Wrote:  Hmm... Gimp scripts as school assignments... more interesting than the usual accounting programs... This said, without having your code we can only guess...

If you duplicated the layer with gimp-layer-copy() then it should work (the copy layer is associated to an image). If you use gimp-layer-new-from-drawable() then in addition you must explicitly add the layer to the target image (gimp-image-insert-layer()).

gimp-selection-layer-alpha is deprecated. Use gimp-select-item instead.

I ended up figuring it out, the scripts they gave us to use were for 2.6 now 2.8. Why they refuse to update I will never know. I just installed some new scripts and now I can do what I need to do. Thank you for the help though!
Find all posts by this user
Quote this message in a reply
Dec 13, 2013, 22:53
Post: #3
RE: Script Fu Help
(Dec 13, 2013 21:13)ofnuts Wrote:  The 2.6 API still works... That can be useful for people staying on 2.6 (tablet support on Windows, for instance).

I know it still works, but whatever download they're using constantly freezes and will randomly shut down. I watch my teacher have constant issues with it, and then she wonders why I want to keep my version.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Script-fu script to conversion pdf to image 4ever 12 4,456 Jul 17, 2018 16:01
Last Post: paynekj
  Problems with a bat script :( ThaUnknown_ 1 379 Mar 26, 2018 21:14
Last Post: paynekj
  Script-fu ordered file list vnicent 1 218 Mar 19, 2018 17:33
Last Post: paynekj
  script-fu argument/parameter formats dhugg 2 357 Mar 13, 2018 00:50
Last Post: dhugg
  Request for script chlebna 1 522 Sep 13, 2017 09:35
Last Post: ythgilb

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS