You are here

GIMP: Small 2.6.8 Script-Fu Bug

1 post / 0 new
pbr
Offline
Last seen: 1 month 1 week ago
Joined: 2009-06-21 09:23
GIMP: Small 2.6.8 Script-Fu Bug

At the risk of raising my dork quotient to prodigious heights — I'm not a programmer — I believe I've found a minor oopsy in the PA edition of 2.6.8, specifically the script-fu-compat.init file buried in the scripts folder. (That's the one that "provides some compatibility with scripts that were originally written for use with the older SIOD based Script-Fu plug-in of GIMP.") To cut to the chase, the version that ships with the portable version doesn't work (deprecated scripts produce syntax error messages and crash) while the desktop version does. Comparing the two versions shows they're slightly different.

In the PA version lines 333 through 337 read:

  (let ((a))
    (set! a form1)
    (if (not (null? form2))
      form2
    )

But in the desktop version you get:

  (let ((a form1))
    (if (not (null? form2))
      form2
    )

Have I got a clue what that's all about? Not. However, in the spirit of what-the-hey, I changed the PA version of the file to reflect the desktop version and now everything seems to work okay (i.e., no error messages, no crashes). So do I get an "attaboy" for inspired poking around and making the world safe again for GIMP?