It is currently Thu Jul 04, 2024 5:17 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Python not showing up
PostPosted: Fri Sep 16, 2011 9:16 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



I think I followed Rod's tutorial to the letter and Python(and all the other exe files)are installed but don't show up in the interface menu bar. I see the Python-fu>console at the bottom of Filters but that's all. Remember I have Gimp installed on my F drive. I created a separate folder for Python outside of gimp before I created a separate Plug-ins folder outside of GIMP for GAP and MAZE. I tried moving the Python folder there and I got a "too many arguments" error message when I tried to open gimp so I put it back. I even went to preferences and created a separate path and that didn't work either so I deleted it. I don't know what else to try. I guess I need an exact path for where the python folder goes. :gaah

_________________
Image


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 not showing up
PostPosted: Fri Sep 16, 2011 9:41 am  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
go to filters, Renders, clouds, see if it has the fog filter. I know this is a long shot, but if you have fog, then you have the rest.

_________________
Image


Top
 Post subject: Re: Python not showing up
PostPosted: Fri Sep 16, 2011 10:00 am  (#3) 
Offline
GimpChat Member

Joined: Aug 05, 2011
Posts: 606
Location: limestone,ny
I have some .py stuff but they don't show in the python-fu console

Image


Top
 Post subject: Re: Python not showing up
PostPosted: Fri Sep 16, 2011 10:22 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Try this Draconian -
Go here in your computer
C:\Program Files\GIMP-2.0\lib\gimp\2.0
Look for these two folders
Image example (folders circled)

Image

Open Interpreters first -
You will need notepad or notepad ++ to edit a file inside
Right click and open with Notepad ++ this file
Image

You will see this line of code in the file
python=C:\Python26\pythonw.exe
/usr/bin/python=C:\Python26\pythonw.exe
:Python:E::py::python:


If you have Python installed in F drive change that here to reflect where you have it installed.

Now open the other folder environ
Open this file in Notepad ++

Image

Look for this line of code
; PYTHONPATH=${gimp_plug_in_dir}/python


Make sure that is what it says (if it looks exactly like that do not change it)

Save the files and restart Gimp.


If you still have Filters/Python-Fu/Console - open Filters/Render/Clouds/Fog and see if the dialog works.
If it doesn't open but it is present in the menus we need to add the correct path of your gimp/bin folder to your environment variables.So Gimp can find the bin DLL files and in turn find your plugins folder. ;)

What is your system in this case? XP or 7 or what?

_________________
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 not showing up
PostPosted: Fri Sep 16, 2011 12:43 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4756
alc59 wrote:
I have some .py stuff but they don't show in the python-fu console

Image

There is a misunderstanding here. We aren't telling you that you should find the filters in the Python console. We are telling you that if you have the python console, this is a good indication that your Python support works, so you should find the Python-written filters in the "Filters" menu as indicated.

_________________
Image


Top
 Post subject: Re: Python not showing up
PostPosted: Fri Sep 16, 2011 1:36 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Glad you caught that Ofnuts i missed it somehow. :)
Yes draconian if your console opens that probably means you are all set.
You won't find your plugins in there the console is for testing python scripts.
All your scripts will be found in your menus.Just like SCM scripts.

_________________
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 not showing up
PostPosted: Fri Sep 16, 2011 3:51 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Rod, Great job on the specific details. I opened both files in notepad and everything appears to be exactly as they should be with the exception that everything points to F instead of C. I found fog ok but can't find glossy stroke, bevel 2, lighting,or map object. The console does open but I was under the impression that "Python-fu" was supposed to show up at the top next to Script-fu like I have seen on other peoples screen shots. Is this perhaps because they are running different OS? I'm running XP sp3.

I am aware of the purpose of the console and was not looking for scripts to show up there. I just mentioned it because I thought Python was not loaded completely or correctly. Anyhoo.....where's them pesky scripts anyway? I put them in the Python scripts folder.


Attachments:
fog.jpg
fog.jpg [ 97.24 KiB | Viewed 3485 times ]
Python scripts folder.jpg
Python scripts folder.jpg [ 116.74 KiB | Viewed 3485 times ]

_________________
Image
Top
 Post subject: Re: Python not showing up
PostPosted: Fri Sep 16, 2011 3:59 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Shouldn't they go in your .gimp-x.x/plug-ins folder on the F drive?

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Python not showing up
PostPosted: Sat Sep 17, 2011 9:04 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
I tried moving my new python scripts around to several "plug-ins" folders and nothing I do seems to work. I even did a search to find out where "Fog" was and put them all there and still nothing. :gaah

_________________
Image


Top
 Post subject: Re: Python not showing up
PostPosted: Sat Sep 17, 2011 9:37 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Drac, I am not the one to ask cuz I am pretty green myself about techie things. but, looking at your second screen shot, I see pyrocairo, pyrobject and pygtk twice and I think pycairo 3 times. Shouldn't you only have one of each installed. Maybe that is your problem, maybe not but worth looking into.
Also, all my python/scripts/plug-ins go into the python plug-in folder, I don't have any py's at all in the script folder.

Do you have those 3 installed into your program files in control panel?
Image

In mine, glossy stroke > filters > light & shadow
bevel2 > filters distorts
map object > filters > map > map object

_________________
Image


Top
 Post subject: Re: Python not showing up
PostPosted: Sat Sep 17, 2011 5:42 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Draconian, did you install Python-2.6 into the F drive though?

_________________
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 not showing up
PostPosted: Sat Sep 17, 2011 6:44 pm  (#12) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
good find molly

Draconian have several copies of libraries installed doesn't help but may create all sort of conflict even more if some of them is obsolete

When there is such a mess better dump everything in the trash and start again

_________________
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 not showing up
PostPosted: Sun Sep 18, 2011 7:38 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
Rod wrote:
Draconian, did you install Python-2.6 into the F drive though?


Quite correct.

_________________
Image


Top
 Post subject: Re: Python not showing up
PostPosted: Sun Sep 18, 2011 7:46 am  (#14) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
oh well i already warned you against having clones and even slighly different versions of py libraries floating everywhere.

I suppose you hope that in that way at least one will end in the right place and would be the right version

But conflict are much more probable..."conflict" means that will not work (at best)

_________________
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 not showing up
PostPosted: Sun Sep 18, 2011 8:09 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
PhotoComix wrote:
oh well i already warned you against having clones and even slighly different versions of py libraries floating everywhere.

I suppose you hope that in that way at least one will end in the right place and would be the right version

But conflict are much more probable..."conflict" means that will not work (at best)



I have no idea what you are referring to with regard to "clones" and "duplicate libraries". I'm not so stupid as to think along the lines you suggest. If you have seen something in my posts that suggest duplications, please point them out SPECIFICALLY rather than broad generalizations. If I have inadvertantly duplicated something I would like to delete the extraneous and offending files and not resort to such fatalistic approaches such as "dumping everything and starting over".

I am eternally grateful for all the help everyone on this site has given me but
please understand that when someone asks for help, general answers are of no use except to the very experienced. The existence of this site seems to be geared mostly to help the novice. Specific paths are an excellent example. Telling some one that a particular file goes in the gimp 2.0 folder is not adequate as there are a myriad of 2.0 folders within gimp.

A better example is my experience in high school where we were assigned to write an essay on instructing someone on how to ty a shoe. The first student began to read before the class and after several paragraphs the professor interrupted and asked "what's an eyelet".

Sometimes explanations are clear, sometimes it's just something simple like Molly's post telling me where the scripts appear. (Thanks Molly) Everything is working fine now. I just didn't know where to look once I got the scripts in the right folder and just as a finer point, I can find no duplicated .py files.

Again...my undying gratitude for all the help. Next up -mathmap, but that will be another post.

_________________
Image


Top
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts .py script not showing under Python-Fu

3

No new posts script not showing

3

No new posts My try at aura showing from a person

1

No new posts Bimp Plugin now showing Mac

1

No new posts GIMP logo showing on every file download?

4



* Login  



Powered by phpBB3 © phpBB Group