GIMP Chat
http://gimpchat.com/

Python problem
http://gimpchat.com/viewtopic.php?f=9&t=355
Page 1 of 2

Author:  Gms9810 [ Mon Jul 26, 2010 7:45 am ]
Post subject:  Python problem

I'm not sure if this is the right place for this post or not but I'll follow it wherever you put it. I've just recently (last night) given serious effort to getting python working but something is apparently wrong. The procedure for setting it up is somewhat vague but i think i have everything installed. I installed python, and the 3 or 4 other modules that are needed, I reinstalled gimp, python was checked. Gimp now says python fu as it should, the plugins show up in the menu but the dialogs don't show up. no error messages, nothing, they just don't show up. Specifically, I'm working with this one:
http://www.andyshelley.co.uk/gimpfarris/index.php

I don't know what is meant by this statement: "Remember to set the executable flag on the file."
I've been using these instructions : http://www.gimpusers.com/tutorials/inst ... ndows.html and I've been pretty careful about getting it right.
any thoughts about what I need to do?

Author:  PhotoComix [ Mon Jul 26, 2010 8:40 am ]
Post subject:  Re: Python problem

OS ?

Author:  Gms9810 [ Mon Jul 26, 2010 9:05 am ]
Post subject:  Re: Python problem

Sorry, I thought the link I posted indicated it. Windows XP

Author:  Oregonian [ Mon Jul 26, 2010 10:37 am ]
Post subject:  Re: Python problem

Some of the gimp plug-ins do not come with permission to run the plug-in.

This is in Llinux but I think it's about the same in Windows.

Right-click the file and select Properties and the Permissions tab. Check, "Allow executing file as program."

Here is a screen shot of the Permissions tab in the Properties of a plug-in I have.

Image

Author:  Rod [ Mon Jul 26, 2010 10:45 am ]
Post subject:  Re: Python problem

My xp works differently i have to right click the python file and choose unblock and then apply at the bottom of the dialog that pops up.

good luck either way.

Author:  Oregonian [ Mon Jul 26, 2010 10:47 am ]
Post subject:  Re: Python problem

Thanks for checking that out for Windows, Rod. :bigthup

Author:  Rod [ Mon Jul 26, 2010 10:53 am ]
Post subject:  Re: Python problem

i need to edit that..

right click choose properties then unblock and then apply.sorry about that. =)

Author:  PhotoMaster [ Mon Jul 26, 2010 10:55 am ]
Post subject:  Re: Python problem

My post disappeared, so I will repost it.

In windows you shouldn't have to do this. Extensions such as exe, com and bat are by default, executeables. Any other extension could be an executeable when called by another program.

I have been trying to get Gimp and Python to play nice together for over a year. I will post if I ever succeed.

Author:  Rod [ Mon Jul 26, 2010 11:00 am ]
Post subject:  Re: Python problem

Thanks PhotoMaster that would be awesome.
I usually only have to do this unblocking with exe scripts (SCM and Python)
Weird thing is not all of them have to be unblocked.Must have something to do with the persons machine they are written on maybe?

Author:  PhotoComix [ Mon Jul 26, 2010 11:05 am ]
Post subject:  Re: Python problem

@Photomaster

It seems we try to post simultaneusly and our messages crashed

well basically i was writing the same:

i never had to do that with py scripts on xp
i did a few time in 7 but for other reasons ,it is not needed to run Gimp py scripts

Author:  Rod [ Mon Jul 26, 2010 12:43 pm ]
Post subject:  Re: Python problem

For some strange reason my machine makes me do it.
I am running Windows XP also.

Author:  Gms9810 [ Mon Jul 26, 2010 8:12 pm ]
Post subject:  Re: Python problem

Well, my python plugins show in the list, the dialog boxes don't work. seems like I should be close. I've messed with this on and off for eons. Makes me want to cuss.

Author:  Rod [ Mon Jul 26, 2010 9:27 pm ]
Post subject:  Re: Python problem

I have Windows XP platform on my laptop and for the life of me i can not get python to work with gimp on it.

Author:  Jolie [ Tue Jul 27, 2010 4:22 am ]
Post subject:  Re: Python problem

http://gimptricks.deviantart.com/gallery/#/d2kqm1b

That works for me.

Read the instructions before you start.

Maybe the newer python files don't play nice with GIMP?

Author:  Gms9810 [ Tue Jul 27, 2010 8:15 am ]
Post subject:  Re: Python problem

Yes those are the same instructions I used, I'm starting to wonder if it's worth the trouble.

Author:  PhotoComix [ Tue Jul 27, 2010 8:58 am ]
Post subject:  Re: Python problem

SHould be not needed restart the computer, but in case of problems that solved for me


And remember the sequence :

first install python,
restart the pc,
then install the other libraries,
restart the pc
and reinstall gimp
(remember to click on the customize button when dispayed )

Again all the "restart" may be unnecessary, but are the first thing to try if something doesn't work

Author:  Gms9810 [ Tue Jul 27, 2010 10:28 am ]
Post subject:  Re: Python problem

I'll try that sequence tonight when I get some free time and see if it works. Sometimes weird silly stuff works when nothing else will. I had to go through weirder (is that a word?) things to get my bamboo working with gimp. Weirder stuff to get it to work with Inkscape too.

Author:  PhotoMaster [ Tue Jul 27, 2010 12:08 pm ]
Post subject:  Re: Python problem

Good news! I followed PhotoComix's instructions for installing all of the python stuff and re-installing Gimp last! Shazam!! I have Python-fu!! Success!!

Thanks again PhotoComix!!

Greg

Author:  Oregonian [ Tue Jul 27, 2010 12:21 pm ]
Post subject:  Re: Python problem

I recommend layerfx.py - aka Layer Effects

This says it was tested in gimp2.4 but it works in 2.6 for me. It goes in your gimp / plug-ins folder.

http://registry.gimp.org/node/186

I had to set the permissions for the plug-in to execute as a program. Don't know if that's true for Windows. I'm using Linux.

Good job getting Python set up. :bigthup

Author:  Gms9810 [ Tue Jul 27, 2010 7:36 pm ]
Post subject:  Re: Python problem

Alas, it didn't solve my problem. I'm going to stick my head in an oven and end it all. At least my oven is electric and has a pie in it.

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/