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


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: Python issue
PostPosted: Mon Dec 12, 2011 6:10 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Basic Level

List any relevant plug-ins or scripts:
Python and stuff needed to use with GIMP



So I have got python installed (thanks for your help folks) but now when I select either the console or the fog render nothing happens... any ideas what this may be?


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 issue
PostPosted: Mon Dec 12, 2011 6:22 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
go into your pygimp.interp file and be sure the path is correct.
C:\Program Files\GIMP-2.0\lib\gimp\2.0\interpreters open it in Notepad ++.
If you are running it with an install Gimp-2.6.11 version that path should be
python=C:\Python26\pythonw.exe
/usr/bin/python=C:\Python26\pythonw.exe
:Python:E::py::python:

_________________
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 issue
PostPosted: Mon Dec 12, 2011 6:36 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Yes the path is the same as what you put.


Top
 Post subject: Re: Python issue
PostPosted: Mon Dec 12, 2011 8:24 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
Jamie990 wrote:
Yes the path is the same as what you put.
But is there a file nalme C:\Python26\pythonw.exe on your system?

_________________
Image


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 7:57 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Yes im sure there is, could the problem be gimp is in a folder called programfilesx86?


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 9:05 am  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
If you are using Windows7, then it is in the correct place for Gimp and most program files, in fact, I don't think that programfilesx86 exists in any of the previous Window versions

_________________
Image


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 10:47 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Alright then its not that, thanks :)


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 11:27 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
So you have Filters>Render>Clouds>Fog
And you have Filters>Python-Fu>Python Console
But neither work?


Did you use the all in one installer for PYGTK, PYCAIRO, and PYOBJECT?
Because it doesn't work usually. If you used the all in one installer download the other package PC put together and use the 3 different installers for pygtk, pyobject, and pycairo, and install them into python26.
You should not have to re-install Gimp-2.6.11 to do this.

I am led to believe you do not have all the python files you need in the plug-ins or python26 folders.
Can you please take a screenshot of your GIMP-2.0\lib\gimp\2.0\plug-ins folder and all the contents?
Also can you give me a screenshot of your C:Python26 folder contents?

_________________
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 issue
PostPosted: Tue Dec 13, 2011 12:32 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Yes they are showing up but not working.
I used the indavidual installers not the all in one installer.

Here is the screenies.
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 3:59 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Jamie990, When You go to your control panel, do you have these three plug-ins in there?
PYGTK, PYCAIRO, and PYOBJECT? When you install them one at a time, them should go into your program files so will show in control panel.

_________________
Image


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 4:30 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Yes I do, I seem to have a couple of older version of each that I forgot to uninstall could this be the problem?


Top
 Post subject: Re: Python issue
PostPosted: Tue Dec 13, 2011 4:58 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very well could be. Might as well try taking them out to see. hope it works.

_________________
Image


Top
 Post subject: Re: Python issue
PostPosted: Wed Dec 14, 2011 4:16 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Yes take those older versions out and restart Gimp and see if that works.
Sometimes if Gimp see's multiple files of the src it's looking for it will not load any of them.

_________________
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 issue
PostPosted: Wed Dec 14, 2011 5:52 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Done that, and it recognises they are there now. Meaning the fog and consloe now respond but all I get from each is a plug-in crash warning. After school I am going to reinstall everything see if that works. Thanks!


Top
 Post subject: Re: Python issue
PostPosted: Wed Dec 14, 2011 6:10 am  (#15) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I think that should do it Jamie. Dupes can create a lot of problems and hopefully you should be up and running after reinstalling. Good luck.

_________________
Image


Top
 Post subject: Re: Python issue
PostPosted: Wed Dec 14, 2011 6:23 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Back to where I was at the start now, python installed fine but fog and consolde are un responsive another go tomorrow it seems...


Top
 Post subject: Re: Python issue
PostPosted: Thu Dec 15, 2011 3:04 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Janie please tell me the exact steps you are taking to install Python and all the modules Gimp needs to run Python-Fu.The modules are PyGTK, PyCairo, and PyObject

Thanks

_________________
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 issue
PostPosted: Thu Dec 15, 2011 12:45 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Dec 03, 2011
Posts: 149
Well I install python and accept all the default options, then I restart my computer. Then I do the same for the other modules install then restart accepting default options.


Top
 Post subject: Re: Python issue
PostPosted: Fri Dec 16, 2011 12:59 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Okay now un-install Gimp-2.6.11 and re-install it choosing customize.Select the python box and select next.
After that step, install as normal. :)

_________________
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 new topic Reply to topic  [ 19 posts ] 

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 Rembg install issue

2

No new posts Attachment(s) Paths Tool Issue

9

No new posts Attachment(s) Gimp Gap Curves Issue

13

No new posts Attachment(s) Pasting of text issue

2


cron

* Login  



Powered by phpBB3 © phpBB Group