PDA

View Full Version : GIMP 2.7.2 and Python scripts question



jfrazierjr
07-26-2011, 09:42 AM
I installed GIMP 2.7.2 a day or two ago on my linux box(where I have the most RAM) using a built package and apt-get(Ubuntu). I must say that I love the things I have seen so far(well.. a least the ones that work!!!) but the python plug-ins no longer work.

From a quick google, it seems that the GIMP API has changed (as to be expected) so the python scripts are no longer able to import the new GIMP functionality. I found lot's of threads saying it's broken, but no real means to fix. The Python scripts for gimp typically call something like this:


from gimpfu import *

Where gimpfu is the exposed GIMP API "container" and * imports all of the procedures to do stuff. I see the procedure browser notes the new/updated procedures, but I can't find any reference to the new method to reference the new API library. While I don't know Python more than a bit, I am a programmer and expect I could fix anything broken using the procedure browser if I could just get the reference fixed.

Anyone have any information that might be helpful?

RobA
07-26-2011, 11:52 AM
No suggestion here. That's why I'm sticking with 2.6.11 though.

When 2.8 comes out (supposedly by year end) the python issues should be resolved. Many scripts and plugins are getting broken with this release because of the API changes. The biggest breakage seems because of layer grouping.

-Rob A>

jfrazierjr
07-26-2011, 12:38 PM
Thanks Rob.. I expected as much... if I knew C, I would get the source code and try to figure out the libgimp structure... but....well...

Anyway, I have an unrelated question on 2.7/2.8: Do you know if there is a goal to add the brush presets as a drop down on the brush selection tab? I mean it seems kind of logical to me to do that instead of forcing you to switch to a different tab(ie, extra work)....