Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Did something change in scheme in 2-10-20[Solved]

Tue Aug 11, 2020 9:49 pm

I have a small script that saves my images from Gimp to a folder that is easy to find when posting on GC is disired
unfortunately it does not work on 2-10-20,this script has worked since 2-6-12

Re: Did something change in scheme in 2-10-20

Wed Aug 12, 2020 2:12 am

If you attach the script, perhaps we could diagnose the problem.

Kevin

Re: Did something change in scheme in 2-10-20

Wed Aug 12, 2020 2:52 am

Hi Graechan.

I am very happy to see you back on the forum.
188 procedures have changed between 2.6 and 2.8.
207 procedures were changed between 2.8 and 2.10.
Some changes are just a different name - but a dozen have a different number of arguments and their scope.
When repairing old scripts, it's a good idea to run Gimp in --verbose or --console-messages mode and check the build of new procedures one by one.
Some problems can be fixed using the Tin Tran plugin:
https://gimplearn.net/viewtopic.php?f=3 ... onstantize.
Kevin's offer, however, is the best.

Re: Did something change in scheme in 2-10-20

Thu Aug 13, 2020 12:42 am

Well the plot thickens, I loaded gimps full install of 2-10-20 and it worked fine.
script fails only in Samj's portable
script attached below↓
Export to Directory.scm
(6.74 KiB) Downloaded 102 times

Remember to alter name and paths at top of script

Re: Did something change in scheme in 2-10-20

Thu Aug 13, 2020 1:44 am

That doesn't explain anything but:
Quick test - it also works fine for me in the portable Samji Gimp-2.10.21 version.
I've also been using your script for 8 years. :tyspin

Re: Did something change in scheme in 2-10-20

Thu Aug 13, 2020 10:11 pm

My Bad I deleted Samj's 2-10-21 then downloaded again and installed my script, everything OK.
Thank you MareroQ for giving me faith enough to start from the beginning with 2-10-21.
I don't know what I did to the original install, but obviously I screwed up. :oops:
Post a reply