Posts: 5
Threads: 1
Joined: Dec 2024
Reputation:
0
Operating system(s):
Gimp version: 2.10
New to gimp. Im trying to download a plug-in to measure a path but I'm running into a problem where when a go to select the file after going to Edit > Preferences > Folders > Plug-ins and then selecting my folder and entering my file manager, I am unable to select the .py file that I need.
My version of gimp is 2.10.38 and my computer is macOS.
Would love some help with this.
Posts: 6,409
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
(12-22-2024, 03:24 PM)slimeball1297 Wrote: New to gimp. Im trying to download a plug-in to measure a path but I'm running into a problem where when a go to select the file after going to Edit > Preferences > Folders > Plug-ins and then selecting my folder and entering my file manager, I am unable to select the .py file that I need.
My version of gimp is 2.10.38 and my computer is macOS.
Would love some help with this.
As the Folders > Plugins implies, this part of the UI is meant to manage folders, not individual Python files. These are folders that Gimp checks on startup to see if they contains plug-in executables, and a folder can contain several unrelated plugins. So, in practice, the tab should already list two folders, and you just put the Python file in any of these two folders (preferably the one in your user files). Since you are on OSX, make sure the .py has the executable flag.
Posts: 5
Threads: 1
Joined: Dec 2024
Reputation:
0
Operating system(s):
Gimp version: 2.10
(12-22-2024, 05:54 PM)Ofnuts Wrote: (12-22-2024, 03:24 PM)slimeball1297 Wrote: New to gimp. Im trying to download a plug-in to measure a path but I'm running into a problem where when a go to select the file after going to Edit > Preferences > Folders > Plug-ins and then selecting my folder and entering my file manager, I am unable to select the .py file that I need.
My version of gimp is 2.10.38 and my computer is macOS.
Would love some help with this.
As the Folders > Plugins implies, this part of the UI is meant to manage folders, not individual Python files. These are folders that Gimp checks on startup to see if they contains plug-in executables, and a folder can contain several unrelated plugins. So, in practice, the tab should already list two folders, and you just put the Python file in any of these two folders (preferably the one in your user files). Since you are on OSX, make sure the .py has the executable flag.
I was able to find the one of the folders (unfortunately not the user files like you recommend) and copied the plug-in I downloaded into it. I then quit gimp and reopened it but my plug-in was not there. This leads me to think my .py file isn't executable and for that reason I ask what is an executable flag and how do I make my plug-in executable.
Posts: 6,409
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
12-23-2024, 09:25 AM
(This post was last modified: 12-23-2024, 09:26 AM by Ofnuts.)
(12-23-2024, 12:07 AM)slimeball1297 Wrote: (12-22-2024, 05:54 PM)Ofnuts Wrote: (12-22-2024, 03:24 PM)slimeball1297 Wrote: New to gimp. Im trying to download a plug-in to measure a path but I'm running into a problem where when a go to select the file after going to Edit > Preferences > Folders > Plug-ins and then selecting my folder and entering my file manager, I am unable to select the .py file that I need.
My version of gimp is 2.10.38 and my computer is macOS.
Would love some help with this.
As the Folders > Plugins implies, this part of the UI is meant to manage folders, not individual Python files. These are folders that Gimp checks on startup to see if they contains plug-in executables, and a folder can contain several unrelated plugins. So, in practice, the tab should already list two folders, and you just put the Python file in any of these two folders (preferably the one in your user files). Since you are on OSX, make sure the .py has the executable flag.
I was able to find the one of the folders (unfortunately not the user files like you recommend) and copied the plug-in I downloaded into it. I then quit gimp and reopened it but my plug-in was not there. This leads me to think my .py file isn't executable and for that reason I ask what is an executable flag and how do I make my plug-in executable.
On Unix systems (OSX is an Unix system), files have access flags (read, write, and execute). To be executed a file has to be marked executable (done with chmod +x /path/to/file if your file explorer can not set this flag on files).
Also, if you are on a Unix systems, "dotted files" (files with a name that starts with a dot) are "not shown" by default (some say "hidden" ...). One of the directories you see (and the one you should use) is probably under a .config so you should tell your explorer to show you hidden files.
Posts: 5
Threads: 1
Joined: Dec 2024
Reputation:
0
Operating system(s):
Gimp version: 2.10
Ive been using AI to help me with this problem for the last 2 hours and I checked if it was executable using my terminal and it said it was. I have also placed my .py file into plugins folder in my user files (I found it), however no dice. I really feel like I've thrown the book at this but I'm not good with computers so maybe there something obvious I'm missing.
Posts: 6,409
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
(12-23-2024, 03:48 PM)slimeball1297 Wrote: Ive been using AI to help me with this problem for the last 2 hours and I checked if it was executable using my terminal and it said it was. I have also placed my .py file into plugins folder in my user files (I found it), however no dice. I really feel like I've thrown the book at this but I'm not good with computers so maybe there something obvious I'm missing.
- Which plugin exactly (could be one of mine)
- Are you looking for the filter in the right place (if it's one of mine, it is likely not in Filters)
- Have you got a Python runtime in your Gimp (should have Filters > Python-fu > Console (and **not** Filters > Script-fu > Console which you should also have but is a different thing)
Posts: 6,409
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
(12-23-2024, 03:48 PM)slimeball1297 Wrote: Ive been using AI to help me with this problem for the last 2 hours and I checked if it was executable using my terminal and it said it was. I have also placed my .py file into plugins folder in my user files (I found it), however no dice. I really feel like I've thrown the book at this but I'm not good with computers so maybe there something obvious I'm missing.
- Which plugin exactly (could be one of mine)
- Are you looking for the filter in the right place (if it's one of mine, it is likely not in Filters)
- Have you got a Python runtime in your Gimp (should have Filters > Python-fu > Console (and **not** Filters > Script-fu > Console which you should also have but is a different thing)
Posts: 5
Threads: 1
Joined: Dec 2024
Reputation:
0
Operating system(s):
Gimp version: 2.10
ofn-path-arrows (one of yours).
I don't know what you mean by looking for filters in the right place.
I have Filters > Python-fu > Console.
Posts: 6,409
Threads: 279
Joined: Oct 2016
Reputation:
566
Operating system(s):
Gimp version: 3.00RC1
(12-23-2024, 04:15 PM)slimeball1297 Wrote: ofn-path-arrows (one of yours).
I don't know what you mean by looking for filters in the right place.
I have Filters > Python-fu > Console.
ofn-path-arrows doesn't measure paths, but well. as most of my path tools, it doesn't show up in Filters but in the right-click menu of the Paths list. You can also check that it appears in the Plug-in browser and the Procedure browser, both in the Help menu:
The plug-in browser, in particular, tells you than you can call the script from the <Vectors> eny (this is the right-click oin the paths list, in a Decorate submenu.
Posts: 5
Threads: 1
Joined: Dec 2024
Reputation:
0
Operating system(s):
Gimp version: 2.10
I downloaded the wrong plug-in. I downloaded ofn-path-edits and am now able to measure paths. Thank you so much for your help.
|