Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: [HowTo] python plugins and GIMP with Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Quote Originally Posted by jfrazierjr View Post
    Install GTK, reboot.
    Install all the other python stuff, reboot
    Install GIMP and check the python option during the install.

    I had trouble with this also, and originally blamed it on being Vista 64 bit after getting my new computer. For a few weeks, I was just bummed. I then went back to it and did several reboots between and got it working.
    If RobA's suggestion doesn't work, I'll move on to trying the "reboot after each step" philosophy. Don't know if I'll have time to work on this tonight or not. Usually don't have time once I'm home with my wife, as either I have to study or spend time with her.
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  2. #2

  3. #3
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Well, had a few minutes (about 15 minutes of contiguous free time) last night, and it looks like this is a case of 6 in one hand, half-dozen in the other.

    I only had time to try moving the Py scripts into the Plugins folder, as RobA suggested. Upon starting up GIMP, I found that GIMP now recognized the Py scripts, insofar as the scripts were now listed in the menus.

    However, upon trying to run one, I got an error message, first "Something something could not find something something". Okay, so, it's probably not going to work. Click OK, and a second error message pops up saying the Py Script has crashed and has been terminated.

    Looks like I'm going to have to go back, as Joe suggested, and after each install do a reboot. I hope that works, but assuming it doesn't, any other suggestions on what I might have done wrong?
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  4. #4
    Community Leader jfrazierjr's Avatar
    Join Date
    Oct 2007
    Location
    Apex, NC USA
    Posts
    3,057

    Default

    Another thing, make sure you uninstall GIMP before starting, just in case you skipped that step and tried to install GIMP over top of an existing install..
    My Finished Maps
    Works in Progress(or abandoned tests)
    My Tutorials:
    Explanation of Layer Masks in GIMP
    How to create ISO Mountains in GIMP/PS using the Smudge tool
    ----------------------------------------------------------
    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.

  5. #5
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Quote Originally Posted by jfrazierjr View Post
    Another thing, make sure you uninstall GIMP before starting, just in case you skipped that step and tried to install GIMP over top of an existing install..
    Thanks. Yeah, I did uninstall, first. I guess I'll do so again when I try to reinstall all the python elements.
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  6. #6
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Well, no dice.

    I just uninstalled GIMP, then uninstalled GTK, just in case.

    I ran the install on GTK - the exact file I ran was "gtk-2.12.9-win32-1". It went fine as before. No errors that I could see.

    Then I reboot my laptop.

    Next, I attempted to install PyCairo.

    I got the same three error messages. This time I recorded them:

    1.
    title: Could not create
    message: pycairo-py2.5
    I clicked "OK" (no other options)

    2.
    title: Could not set key value
    message: Python 2.5 pycairo-1.4.12
    I clicked "OK" (no other options)

    3.
    title: Could not set key value
    message: "C:\Python25\Removpycairo.exe" -u "C:\Python25\pycairo-wininst.log"
    Again, clicked "OK" (no other options)

    And... finally it pretends to finish installing, and voila, I click "FINISH".

    In the C:\Python25 folder, under "Lib\site-packages" (the default directory for the PyCairo install) there is now a Cairo folder, within which we find three files named "_init_" (one a python file and the other two "compiled" python files) as well as _cairo.pyd. In the former directory there is also a file called "pycairo-1.4.12-py2.5.egg-info". There are also several pygtk files and a gtk-2.0 folder. (I don't know if the pygtk files are left over from the previous install, but I suspect that has nothing to do with the current error.) Given these errors, I didn't bother trying to install pygtk or pygobject.

    So... any chance you guys think a functional install of Python for GIMP will be included in future GIMP versions? Also... does any of this make sense to anybody? I guess I just don't get to use python scripts in my GIMP...

    Another question: What the heck are each of these supposed to do? And why are they required to make GIMP python scripts useable? I've enjoyed using GIMP for sure (and you can't beat the price) but it's certainly doomed to be relegated to a very narrow niche-status if it's this difficult to get the full benefit of GIMP's python script functionality.
    Last edited by Karro; 02-25-2009 at 06:06 PM.
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  7. #7

    Default

    I know it is late in this thread, but I installed using this pack assembled by photocomix over at gimptalk:
    http://photocomix-resources.devianta...asier-74889017

    It is one bundle with all all the compatible version installs and a step by step guide...

    -Rob A>

  8. #8
    Guild Artisan Facebook Connected
    Join Date
    May 2008
    Location
    Atlanta, Georgia, United States
    Posts
    928

    Post

    Quote Originally Posted by RobA View Post
    I know it is late in this thread, but I installed using this pack assembled by photocomix over at gimptalk:
    http://photocomix-resources.devianta...asier-74889017

    It is one bundle with all all the compatible version installs and a step by step guide...

    -Rob A>
    Yeah, I just found the same pack last night. Although, upon deeper examination, the items included are the same versions I pulled down from Sagenlicht's links, but at least here it's all already together.

    The only (minor) problem is that the GTK+ included is, I think, very out of date (the others don't appear to be so much).

    But, I'm second-guessing my conclusion that GIMP's more current GTK+ installing over the older GTK+ is the source of the problem. I'd have to do some testing to see for sure, but I began to suspect last night that part of the problem was that I chose a poor test-case of a python add-in to verify whether python for GIMP was working. I discovered later last night that Sagenlicht's GURM, which I had been using as a quick test, requires some additional hacking in the .py and .ini files to make work... Still haven't gotten that one script working, but all the others I've downloaded so far are now working like a charm!

    Thanks everybody for your patience with this guy who "knows just enough about computers to be dangerous, but not enough to be useful".
    I think, therefore I am a nerd.
    Cogito, ergo sum nerdem.

    Check out my blog: "The Undiscovered Author"
    It's the story of a writer... follow me in my simple quest to get published, and share your own writing stories, adventures and writerly tips.

    Pimping my worldmap here. Still WIP... long way to go, but I'm pretty proud of what I've done so far...

  9. #9

  10. #10

    Help Couldn't reinstall gimp.

    I found the forum for GURM through many Google searches.
    Downloaded it.Installed it.
    & it didn't show up in my filters folder in Gimp.
    Looked around & found this thread.
    I tried downloading Python 2.5.4 since 2.5.2 isn't there. It wouldn't install correctly. I went ahead & Googled Python 2.5.2 & download it instead. After this, I deleted gimp.
    I tried going back to gimp.org & downloading it, but it gave me an error message, something to the extent of not complete file. Then I tried quite a few mirrors, no luck. I tried deleting the Python, PyCairo, PyGObject and PyGTK. I did a system restore & got Gimp back, but it was 2.4 & was missing some files, i.e. no menu bars. I finally got Gimp to download, but still can't get this plug-in to work. I know this may seem like a bunch of useless information, but i wanted to make sure all my steps were taken into account if necessary, plus my memory is pretty bad. Any help would be greatly appreciated. By the way, everything else seemed to download correctly.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •