Gimp-Forum.net

Full Version: RMA_label_points.scm Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

What change can I make to make the script functional again?

Script: RMA_label_points.scm
Gimp: Samj's portable 2.10.21 / win10

Messages:
--------------------------------------------------------------------------------------------------------------------------
    Label Path Points Warning
Error while executing RMA_label_points:

Error: (: 1) eval: unbound variable: NORMAL-MODE


   GIMP Warning
'Label Path Points' plug-in left image undo in inconsistent state, closing open undo groups.
--------------------------------------------------------------------------------------------------------------------------

Thank you very much in advance!
Put a 0 instead. But that works on regular Gimp, it is likely that SamJ doesn't compile Gimp with the backwards compatibility flags (which is OK for a development version, but not for a "general audience" version).
I was using this just the other day with no problems (Gimp 2.10.20)

However the attached run through tin-trans script/plugin updater (also in the zip, try it next time you get similar error) to change those old modes.

New version working here, problem might be that samj Gimp version, I do not have one to try.
(08-29-2020, 05:08 PM)Ofnuts Wrote: [ -> ]Put a 0 instead. But that works on regular Gimp, it is likely that SamJ doesn't compile Gimp with the backwards compatibility flags (which is OK for a development version, but not for a "general audience" version).
Huh  where to put a '0'?

(08-29-2020, 05:09 PM)rich2005 Wrote: [ -> ]I was using this just the other day with no problems (Gimp 2.10.20)

However the attached run through tin-trans script/plugin updater (also in the zip, try it next time you get similar error) to change those old modes.

New version working here, problem might be that samj Gimp version, I do not have one to try.

I used the attached script but it generated another message:

   Label Path Points Warning
Error while executing RMA_label_points:

Error: (: 1) atom-> string: needs 1 argument (s)


   GIMP Warning
'Label Path Points' plug-in left image undo in inconsistent state, closing open undo groups.


Should I use gimp10_constantize.py again?

Thx!
No, that will not fix it.
@Krikor

Try the attached, deprecated procedures replaced, no legacy modes.

Checked in a Gimp with switch --pdb-compat-mode=off 
The problem with the samj portable is it uses launchers to set variables and start Gimp. No way of adding --pdb-compat-mode=on to the launcher. I should add that the regular Gimp 2.10.20 from gimp.org has better backward compatibility than previous version.

However proof Wink Win10 (VM) samj2.10.21  https://i.imgur.com/K4yLvuv.jpg
Hi @rich2005,

I don't know anything about pdb ... On or pdb ... Off. I'm just a very lay user.

I don't understand, I installed the version of the previous attachment and I was confident that this time it would work, but somehow it didn't work, it still generates windows with errors.
[attachment=4825]
At least I can still use the Label arrows from path and Label numbers from actives paths points plug-ins

Thank you very much for your effort with the script!

(08-30-2020, 06:42 PM)Krikor Wrote: [ -> ]Hi @rich2005,

I don't know anything about pdb ... On or pdb ... Off. I'm just a very lay user.

I don't understand, I installed the version of the previous attachment and I was confident that this time it would work, but somehow it didn't work, it still generates windows with errors.

At least I can still use the Label arrows from path and Label numbers from actives paths points plug-ins
[attachment=4826]
Thank you very much for your effort with the script!
Quote: Error: (: 1) atom-> string: needs 1 argument (s)

You don't by any chance have this scrollable script-fu thingy installed?
That's the kind of error it produces
OK strange that worked in the samj gimp I used however, that NORMAL-MODE should have been LAYER-MODE-NORMAL I have replaced the zip in the previous post, can you please check it.
(08-30-2020, 07:16 PM)nelo Wrote: [ -> ]
Quote: Error: (: 1) atom-> string: needs 1 argument (s)

You don't by any chance have this scrollable script-fu thingy installed?
That's the kind of error it produces

Which script more precisely? I could check it.

(08-30-2020, 07:17 PM)rich2005 Wrote: [ -> ]OK strange that worked in the samj gimp I used however, that NORMAL-MODE should have been LAYER-MODE-NORMAL  I have replaced the zip in the previous post, can you please check it.

Rich2005,
Okay, I checked the new attachment. The error message again changed to:

==============================================
  Label Path Points Warning
Error while executing RMA_label_points:

Error: ( : 1) atom->string: needs 1 argument(s) 


  GIMP Warning
Plug-in 'Label Path Points' left image undo in inconsistent state, closing open undo groups.
==============================================


I don't understand why it worked on your Samj 2.10.21 and it gives me an error.
Pages: 1 2