GIMP Chat
http://gimpchat.com/

Did something change in scheme in 2-10-20[Solved]
http://gimpchat.com/viewtopic.php?f=9&t=18658
Page 1 of 1

Author:  Graechan [ Tue Aug 11, 2020 9:49 pm ]
Post subject:  Did something change in scheme in 2-10-20[Solved]

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

Author:  paynekj [ Wed Aug 12, 2020 2:12 am ]
Post subject:  Re: Did something change in scheme in 2-10-20

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

Kevin

Author:  MareroQ [ Wed Aug 12, 2020 2:52 am ]
Post subject:  Re: Did something change in scheme in 2-10-20

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.

Attachments:
Script-Fu Change Procedure.png
Script-Fu Change Procedure.png [ 56.86 KiB | Viewed 2136 times ]

Author:  Graechan [ Thu Aug 13, 2020 12:42 am ]
Post subject:  Re: Did something change in scheme in 2-10-20

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↓
Attachment:
Export to Directory.scm [6.74 KiB]
Downloaded 102 times

Remember to alter name and paths at top of script

Author:  MareroQ [ Thu Aug 13, 2020 1:44 am ]
Post subject:  Re: Did something change in scheme in 2-10-20

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

Author:  Graechan [ Thu Aug 13, 2020 10:11 pm ]
Post subject:  Re: Did something change in scheme in 2-10-20

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:

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/