It is currently Sat Jul 06, 2024 5:58 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: After upgrading Gimp, PY plugins don't show [SOLVED]
PostPosted: Sat Sep 05, 2020 7:16 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I upgraded my Gimp (PortableApps) from 2.10.18 to 2.10.20. I simply copied the new folder over the old one and now neither Pocholo's PY plugins nor LayerFX PY are showing in Gimp. The files are there in the plugins folder but Gimp isn't reading them.


Last edited by Erisian on Sun Sep 13, 2020 3:22 pm, edited 3 times in total.

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: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 12:57 am  (#2) 
Offline
GimpChat Member
User avatar

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

I also use Gimp PortableApps with pendrive but in a specific way - because I use Samj files for updating (precisely because of frequent Python problems in PortableApps) so there is no guarantee that the problem will be solved and looking for a solution is a bit tedious.
The easiest way would be to install (without overwriting) PortableApps on the hard disk, move the contents of the \ GIMPPortable \ Data \ .gimp \ directory there from the flash drive and check if the python files work.

You can look for a solution differently - but for this you need some information (and this is only basic):
1. Do you have a Python-Fu -> Console entry in meu Filters ?
2. Can you run Console - and if so, what is the Python version ?
3. If the answer to question 2 is NO - what is the content (in the console) after clicking the file:
- \ GIMPPortable-2.10.19 \ App \ gimp \ bin \ python.exe
4. If the answer to question 2 is YES - can you include the content of the file:
- \ GIMPPortable \ App \ gimp \ lib \ gimp \ 2.0 \ interpreters \ pygimp.interp

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 3:17 am  (#3) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2439
Portableapps Gimp broken, return to previous working version, do not pass go, do not collect 200 krona

Check yourself but in a Win10 VM I get this from opening the python console. Not many built-in python plugins but spyrogimp is one, foggify is another. They throw up an error as well.
As far as I can tell Portableapps Gimp 2.10.18 is the same. Worked for you, not for me, so nothing is certain.

Attachment:
python.jpg
python.jpg [ 126.22 KiB | Viewed 5103 times ]


One thing for you code writers, Those Gimp python plugins are now using a shebang #!/usr/bin/env python2 presumably to differentiate between python 2 and 3

_________________
Image


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

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I don't have Python fu in filters.

How do I run the Python console?


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 6:44 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Because Python-Fu doesn't work, You won't run it from the Gimp menu - do point 3 (click python.exe).

_________________
Image

Slava
Ukraini!


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

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
MareroQ wrote:
Because Python-Fu doesn't work, You won't run it from the Gimp menu - do point 3 (click python.exe).

Image


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 6:57 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Halfway through, python works, but Python-Fu needs to be fixed now.
Perform step 4.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 7:02 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
MareroQ wrote:
Halfway through, python works, but Python-Fu needs to be fixed now.
Perform step 4.



Image


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 7:25 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Replace the old content (pygimp.interp) with this:
python=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
python2=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
/usr/bin/python=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
:Python:E::py::python:


and try restarting Gimp.

If it doesn't work, read pygimp.interp it again and if it has changed, and show here.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 7:38 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
MareroQ wrote:
Replace the old content (pygimp.interp) with this:
python=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
python2=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
/usr/bin/python=C:\Users\Brian\Documents\Portable Software\GIMPPortable\App\gimp\bin\pythonw.exe
:Python:E::py::python:


and try restarting Gimp.

If it doesn't work, read pygimp.interp it again and if it has changed, and show here.


Didn't work and the file has changed. "bin" missing from last line.
Image


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 7:45 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Delete \App\gimp\lib\gimp\2.0\python and replace with the one downloaded from the attachment.
Delete \App\AppInfo\Launcher\GIMPPortable.ini and replace with the one downloaded from the attachment.
Correct again pygimp.interp
Run Gimp.


Attachments:
python.zip [350.09 KiB]
Downloaded 90 times
GIMPPortable.zip [1.17 KiB]
Downloaded 81 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 8:00 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Still not working but this time the file didn't change.


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 8:05 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
The penultimate possibility - show the content of files:
\App\gimp\lib\gimp\2.0\environ\pygimp.env
\App\gimp\lib\gimp\2.0\environ\default.env

_________________
Image

Slava
Ukraini!


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

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Image

Image


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 8:57 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
They look good.
I'll do it differently - enter the download link and I will install Gimp and try to fix. When I am successful - I will let you know.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 9:15 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
MareroQ wrote:
They look good.
I'll do it differently - enter the download link and I will install Gimp and try to fix. When I am successful - I will let you know.

Thank you very much for your patience and effort. :coolthup

https://portableapps.com/apps/graphics_pictures/gimp_portable


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 9:29 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
The last step was to rename Data / .gimp to .gimp_old and restart.
Give it a try (with little hope) - but I already downloaded GIMPPortable_2.10.20-1.paf.exe and will try.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 9:53 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I have nothing to fix - I installed Gimp on d: / GIMPPortable 2.10.20 (intentionally with a space in the name because that could also be a problem) and Python works fine. :lol
The more strange that for Rich2005 it didn't work.
You will probably have to repeat the installation without overwriting the older files.
Try the last step (.gimp_old) - You lose nothing because - You can restore everything.
I'm sorry I couldn't help you more. :(

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show
PostPosted: Sun Sep 06, 2020 9:58 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
MareroQ wrote:
I have nothing to fix - I installed Gimp on d: / GIMPPortable 2.10.20 (intentionally with a space in the name because that could also be a problem) and Python works fine. :lol
The more strange that for Rich2005 it didn't work.
You will probably have to repeat the installation without overwriting the older files.
Try the last step (.gimp_old) - You lose nothing because - You can restore everything.
I'm sorry I couldn't help you more. :(

It wouldn't let me rename the folder so I just moved it to a backup folder and opened Gimp. Gimp reverted to an older state but still no Python so I deleted the new .gimp folder and replaced the one I had moved. I will try deleting gimp and reinstalling it. Thank you very much for your help. I'll let you know how it goes. :)


Top
 Post subject: Re: After upgrading Gimp, PY plugins don't show[SOLVED]
PostPosted: Sun Sep 06, 2020 10:38 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
SUCCESS! :yes

I backed up my plugins, scripts, brushes etc, completely removed gimp and installed the new download and now it has Python-Fu in the filters menu. I haven't tested the plugins yet but I feel sure they will work.

THANK YOU MAREROQ
:tyspin


I spoke too soon. I'm now getting the same as Rich.


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

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 Can't get my layers to show up in the RGB compose dialog

3

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

0



* Login  



Powered by phpBB3 © phpBB Group