Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change arrow color
#11
This is the problem with Mac installations, very few (almost none) users on this forum.

That screenshot is very useful, it shows the version of arrow.scm used, not that it makes any difference. It looks like the script gets stuck on maybe almost last line gimp-image-undo-group-end. Why I do not know, I have tried all ways to reproduce that without success. Do you get this error with a single-layer / blank canvas / nothing there to interfere?

   

You might have to try something else. This is a plugin http://shallowsky.com/software/gimp/arrowdesigner/
Straight forward but not quite as versatile as the script.
1. set the colour 2. set the brush size 3. make a suitable selection 4. Invoke the plugin - it is in Filters -> Render and adjust the settings.

Snags for a new-to-OSX user.

It is a plugin (something.py) and needs to go in your Gimp plugin folder. Which one? As Ofnuts earlier noted, look in Edit -> Preferences -> Folders -> Plug-Ins and it should be the top entry whatever that looks like. Post a screenshot if you are uncertain.

   

Next snag, OSX needs the plug-in to be marked 'executable' The web page gives this instruction
On Linux and Mac, make sure it's executable (chmod +x arrowdesigner.py) If you do not know how to do this best ask on a Mac help-line Wink also this utility http://www.lagentesoft.com/batchmod/ If you try it and it works let us know.
Reply
#12
I don't think this is Mac specific or all other script-fu scripts would be hit... Coud be a problem in the specific version the OP is using.

@gogreen:: can you ZIP and attach the script here?
Reply
#13
Thank, rich2005 and Ofnuts, for helping me with this. My preference is to get arrow.scm working. Not sure if that's possible. Anyway, attached is the script.


Attached Files
.zip   arrow.scm.zip (Size: 7.68 KB / Downloads: 8)
Arthur
2017 iMac | High Sierra 10.13.3
https://www.facebook.com/composerarthurjmichaels
Reply
#14
The same as http://registry.gimp.org/node/28566 (size 28560 B)

Unpacking the zip the only thing I can see is the script is marked executable. Makes no difference in my linux but might in OSX.

Back to: Was working (see first post) - Not working now - What has changed?
Updates to OSX
Changed Version of Gimp
Multiple versions of script in different locations. Looking at post #6, #7, #8 there is a chance that arrow.scm in plug-ins was never removed and relocated to the scripts folder.

@gogreen - Can you confirm, Only one file and in your scripts folder and preferably with executable bits removed.
Reply
#15
Thanks, rich2005.

I can confirm that there's only one arrow.scm file on my iMac.

I uninstalled and reinstalled GIMP the other day, but I think it's the same version...2.8.22.

The file is marked executable? Would it be worth removing arrow.scm and re-downloading and installing it again? Now that I think of it, perhaps I'll try the original arrow.scm version and see what happens.

Also, could this be a problem with layers?

And I think I might try a slightly older version.
Arthur
2017 iMac | High Sierra 10.13.3
https://www.facebook.com/composerarthurjmichaels
Reply
#16
If you can not remove the executable bit on the scm then it might be worth deleting that file and get a new original then put that in the scripts folder.

The older version (no curved body) is here http://registry.gimp.org/node/20269

Very little point reinstalling Gimp (all platforms) as any problem often remains in the gimp profile which is not un-installed.
If you can not get anything working then a way of eliminating problems is rename the .gimp-2.8 folder (to say .gimp-2.8-bak) to disable. Run Gimp to create a new profile and start moving scripts in one at a time, checking as you go.

Since you recently moved from Windows to Mac, guessing the Mac filing system is a big hurdle Wink

I tried all different ways earlier today to get that error, on layer groups / in layer groups / small layers / offset layers .... script worked every time.
Reply
#17
I downloaded the older script version. That worked correctly the first time I used it--that is, the script window disappeared after drawing the arrow. After that, it was back to the same problem.

I alo renamed the gimp 2.8 folder and let gimp create a new profile. No go.

How do I remove the executable bit on the scm file?
Arthur
2017 iMac | High Sierra 10.13.3
https://www.facebook.com/composerarthurjmichaels
Reply
#18
(02-15-2018, 07:43 PM)gogreen Wrote: I downloaded the older script version. That worked correctly the first time I used it--that is, the script window disappeared after drawing the arrow. After that, it was back to the same problem.

I alo renamed the gimp 2.8 folder and let gimp create a new profile. No go.

How do I remove the executable bit on the scm file?

If you got the script from http://registry.gimp.org/node/20269 then as downloaded it is not executable and should work out-of-the-box.

To set a file as read-only, in a terminal use the command
chmod 444 "the-full-path-to"/arrow.scm 
If you are not familiar with using terminals and command line try that utility mentioned earlier.
or
To get a chmod value, there is an online calculator here: http://www.onlineconversion.com/html_chm...ulator.htm

However I do not think that is the problem.
Reply
#19
(02-15-2018, 07:43 PM)gogreen Wrote: I downloaded the older script version. That worked correctly the first time I used it--that is, the script window disappeared after drawing the arrow. After that, it was back to the same problem.

I alo renamed the gimp 2.8 folder and let gimp create a new profile. No go.

How do I remove the executable bit on the scm file?

It looks like there is something that damages the "undo stack". Are you trying on a freshly loaded image? What are the contents of the Windows>Dockable dialogs>Undo history dialog before/during/after? You can unfreeze Gimp by killing the process called "script-fu" in some system process manager (but you have to restart Gimp tp be able to use Script-fu again).
Reply
#20
I think I'm going to forego GIMP for the time being and try a similar app that's geared more toward Mac. Thanks, rich2005 and Ofnuts for sticking with me on this.
Arthur
2017 iMac | High Sierra 10.13.3
https://www.facebook.com/composerarthurjmichaels
Reply


Forum Jump: