It is currently Fri Apr 19, 2024 6:44 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 3:32 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
It worked for a while and stopped?
Or maybe only "Console" works?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 4:01 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
I thought it was going to work because Python-Fu now shows in my filters menu. However, when I try to run console, it just gives me error messages.

Image


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 13, 2020 1:20 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
I discovered that pygimp.interp contained wrong information, pointing to folders that don't exist.

Image

One of the folders was listed as being in program files as if this was the installed Gimp. I changed the location in pygimp.interp to point it to the portableapps folder and now the python console opens properly without error messages.

Image

Python plugins still don't work.


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 13, 2020 2:10 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
Hi Erisian.

Two plugs should work:
Filters/Render/Spyrogimp...
Filters/Decor/Fog...
If not, is there an error message (and what kind)?

The rest require changes given by Rich2005:

Reolace (first line):
#!/usr/bin/env python


to:
#!/usr/bin/env python2

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 13, 2020 2:30 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
Hi MareroQ

The two plugins work

I don't understand #!/usr The only bin folder I know of is in app/gimp. Does env python refer to python.exe? There is no env python in the bin folder.


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 13, 2020 2:53 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
Unfortunately (but it's easy) You have to edit (in notepad) each * .py plugin (in the plug-ins folder) separately.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 13, 2020 3:21 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
YAAAAAY I'VE GOT PYTHON AGAIN!!!!!! :yes :clap :jumpclap

Image


Thank you very very much MareroQ and Rich. :hi5


Top
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Still no show

2

No new posts CAN NOT GET GMIC TO SHOW OR WORK

2

No new posts Attachment(s) New Fake Paintings (Show of results)

40

No new posts Attachment(s) GEGL needs filters that show images, here's why.

0

No new posts Can't get my layers to show up in the RGB compose dialog

3



* Login  



Powered by phpBB3 © phpBB Group