Sat Dec 02, 2017 2:41 pm
Sat Dec 02, 2017 3:51 pm
Sat Dec 02, 2017 6:13 pm
dinasset wrote:I attach here an amended version (suffixed APPLE), where I put the required additions.
I also added the test for APPLE systems, but here I need your help:
2-You have to check how the "slash" is implemented in APPLE for the paths, I assumed equal to Linux, i.e. "/", if different please change it
Please look at statement 260 thru 271 and tell me.
Sat Dec 02, 2017 6:23 pm
pawnee wrote:I was able to get past the "slash" with "Darwin," so thank you! Just ran into another undefined constant...so I really need to fix that problem. In the Python console, I've tried "import gimpfu" and it executes with no error, so it's not the common problem most people have with "ImportError: No module named gimpfu." I thought this would have been all inclusive with the 2.9 build. Maybe its there, but maybe the permissions are not correct or it's damaged? I just don't know where to look for it.
Would anyone recommend that I just delete all my GIMP downloads and just start fresh with Partha's 2.9 download? I currently have the original Gimp 2.8 still loaded, but am not using it.
Thank you in advance. I'm keeping everything still in this thread because it is related.
Sun Dec 03, 2017 1:43 am
pawnee wrote:I was able to get past the "slash" with "Darwin," so thank you! Just ran into another undefined constant...so I really need to fix that problem. In the Python console, I've tried "import gimpfu" and it executes with no error, so it's not the common problem most people have with "ImportError: No module named gimpfu." I thought this would have been all inclusive with the 2.9 build. Maybe its there, but maybe the permissions are not correct or it's damaged? I just don't know where to look for it.
Would anyone recommend that I just delete all my GIMP downloads and just start fresh with Partha's 2.9 download? I currently have the original Gimp 2.8 still loaded, but am not using it.
Thank you in advance. I'm keeping everything still in this thread because it is related.
Sun Dec 03, 2017 5:29 am
dinasset wrote:pawnee wrote:I was able to get past the "slash" with "Darwin," so thank you! Just ran into another undefined constant...so I really need to fix that problem. In the Python console, I've tried "import gimpfu" and it executes with no error, so it's not the common problem most people have with "ImportError: No module named gimpfu." I thought this would have been all inclusive with the 2.9 build. Maybe its there, but maybe the permissions are not correct or it's damaged? I just don't know where to look for it.
Would anyone recommend that I just delete all my GIMP downloads and just start fresh with Partha's 2.9 download? I currently have the original Gimp 2.8 still loaded, but am not using it.
Thank you in advance. I'm keeping everything still in this thread because it is related.
From what you are encountering, it seems that -for some undefined reason- in your gimp environment all the constants definitions are missing; they are all part of the module gimpenums which is normally included in the gimpfu modules.
You may try to add
import gimpenums
after the line from gimpfu import * (at the beginning of the filter)
Let me know
from gimpenums import *
Sun Dec 03, 2017 8:22 am
Sun Dec 03, 2017 9:14 am
Fri Apr 05, 2019 1:42 pm