Wallace wrote:
Quote:
If you are running 2.6 that is probably the reason for the error.If that is the case you will have to fix the deprecations in the script itself.Run Gimp-2.6 and open the procedure browser.Type in
You will probably see only gimp-image-add-layer in Gimp-2.6 and the PDB call in Gimp-2.8 is INSERT not ADD.
Changing that in every instance may help you.I am not positive it is gimp-image-add-layer because i don't have gimp-2.6.11 installed right now.But it will be something similar.
I will install gimp-2.6 and make sure.
@Rod,
I know little about editing scripts, I did however look at the script in 'wordpad', but can't find where I should make the change. It does say the the script is for 2.8 though.
I didn't find any match using 'procedure browser' for 'gimp-image-insert-layer' or 'gimp-image-add-layer' for this script.
It is there
I couldn't get gimp-2.6 to run correctly so i typed in gimp-image-add-layer and got the deprecation entry.

The call in the script would look like this
(gimp-image-insert-layer img bokeh-layer 0 pos) because it takes 3 parameters
image
layer
and layer position
You want to change all instances of gimp-image-insert-layer with gimp-image-add-layer.
DO NOT change the parameters.
I can almost guarantee you will get a different error after though.Then you will have to do it again for the next deprecation.It could go on and on and on and on....
Then again it may work right off the bat.