Re: [Gimp-developer] illusion and perl-fu
Hi, Branko Collin [EMAIL PROTECTED] writes: On 1 Feb 2002, at 18:54, stephen thompson wrote: I have written dozens of perl-fu scripts with success, but now I am stumped. I am trying to make a call to the Illusion plug-in, plug_in_illusion, but it always returns: st_illusion: plug_in_illusion: procedural database execution failed on invalid input arguments I am passing it a Drawable and an integer for the Divisions variable, according to the DB Browser info on the Illusion plug-in. I've even scanned through the illusion.c source code to see what might be up, but I cannot find anything wrong. A note of interest is that the Illusion plug-in also has a Mode toggle, but that is not noted in the DB Browser and attempting to pass the plug-in 3 arguments results in a too many arguments error. Which GIMP version is this? I am using 1.2.3. beta (Windows), which mentions five arguments in the database: INT32 interactive/non-interactive IMAGE input image DRAWABLE input drawable INT32the number of divisions INT32illusion type (0=type1, 1=type2) Hm, the one in GIMP 1.2.0 Windows has 4 arguments (it lacks illusion type). Looks like somebody is growing arguments here. we try not to do this in a stable series, but in this case I felt that correcting the PDB arguments would outweight the risk of breaking scripts: 2001-10-19 Sven Neumann [EMAIL PROTECTED] * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/common/illusion.c: added missing PDB parameters. Thanks to [EMAIL PROTECTED] for spotting these. Salut, Sven ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
Re: [Gimp-developer] illusion and perl-fu
Thank you. I upgraded to linux 1.2.3-pre2 and now have my perl-fu running the illusion function properly. On Sat, Feb 02, 2002 at 12:25:06PM +0100, Sven Neumann wrote: Hi, Branko Collin [EMAIL PROTECTED] writes: On 1 Feb 2002, at 18:54, stephen thompson wrote: I have written dozens of perl-fu scripts with success, but now I am stumped. I am trying to make a call to the Illusion plug-in, plug_in_illusion, but it always returns: st_illusion: plug_in_illusion: procedural database execution failed on invalid input arguments I am passing it a Drawable and an integer for the Divisions variable, according to the DB Browser info on the Illusion plug-in. I've even scanned through the illusion.c source code to see what might be up, but I cannot find anything wrong. A note of interest is that the Illusion plug-in also has a Mode toggle, but that is not noted in the DB Browser and attempting to pass the plug-in 3 arguments results in a too many arguments error. Which GIMP version is this? I am using 1.2.3. beta (Windows), which mentions five arguments in the database: INT32 interactive/non-interactive IMAGE input image DRAWABLE input drawable INT32the number of divisions INT32illusion type (0=type1, 1=type2) Hm, the one in GIMP 1.2.0 Windows has 4 arguments (it lacks illusion type). Looks like somebody is growing arguments here. we try not to do this in a stable series, but in this case I felt that correcting the PDB arguments would outweight the risk of breaking scripts: 2001-10-19 Sven Neumann [EMAIL PROTECTED] * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/common/illusion.c: added missing PDB parameters. Thanks to [EMAIL PROTECTED] for spotting these. Salut, Sven -- ___ __ That's where it ends-- / - \,,, Back there where I coughed. | ](#)#|:::[We'll note here: \___-__/``` Fade at cough. --Bob Dylan ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
[Gimp-developer] Bug in frosty-logo.scm
[jeff@thoth scripts]$ grep define (min /usr/local/share/gimp/1. 2/scripts/*.scm /usr/local/share/gimp/1.2/scripts/frosty-logo.scm:(define (min a b) (if ( a b) a b)) This line redefined the existing (min ... ) scheme function, which breaks anything else that wants to use it. It should be removed in future releases. The real (min ...) takes an arbitrary number of args, and returns the minimum in the entire list. -- --Jeff Jeff Trefftzs [EMAIL PROTECTED] http://www.tcsn.net/trefftzsHome Page http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery http://trefftzs.topcities.com/home.html Photo galleries ___ Gimp-developer mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer