It is currently Thu Jul 04, 2024 4:26 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Python problem
PostPosted: Mon Jul 26, 2010 7:45 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
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?

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 8:40 am  (#2) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
OS ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 9:05 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
Sorry, I thought the link I posted indicated it. Windows XP

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 10:37 am  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 10:45 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 10:47 am  (#6) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks for checking that out for Windows, Rod. :bigthup

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 10:53 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
i need to edit that..

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

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 10:55 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
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.

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 11:00 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 11:05 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
@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

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 12:43 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
For some strange reason my machine makes me do it.
I am running Windows XP also.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 8:12 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
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.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Python problem
PostPosted: Mon Jul 26, 2010 9:27 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
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.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 4:22 am  (#14) 
Offline
GimpChat Member

Joined: Apr 11, 2010
Posts: 545
Location: In the mini-chat, saying silly things
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?

_________________
Image


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 8:15 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
Yes those are the same instructions I used, I'm starting to wonder if it's worth the trouble.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 8:58 am  (#16) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
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

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 10:28 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
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.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 12:08 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
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

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 12:21 pm  (#19) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Python problem
PostPosted: Tue Jul 27, 2010 7:36 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
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.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Convert GIMP plugin from Python 2 to Python 3

4

No new posts Difference between "Python-Fu" and "Python" plugin

6

No new posts Python 3 With GIMP 2

0

No new posts Attachment(s) Help with pdb.plug_in_displace when using python-fu

4

No new posts Help with pdb.plug_in_displace when using python-fu in OS X

1



* Login  



Powered by phpBB3 © phpBB Group