blueturtleai/gimp-stable-diffusion

v1.1.2 load issue

zuencap opened this issue ยท 16 comments

Hi, I followed the instruction on the site to install v1.1.2. I get this error and the plugin isn't loaded:

Querying plug-in: '/usr/local/abc/home/dfg/.config/GIMP/2.10/plug-ins/gimp-stable-diffusion.py'
gimp: LibGimpBase-WARNING: gimp: gimp_wire_read(): error
Terminating plug-in: '/usr/local/abc/home/dfg/.config/GIMP/2.10/plug-ins/gimp-stable-diffusion.py'

I tried v1.1.1. It's the same.

Which GIMP version do you use? Which OS? Did you make chmod 755 in case of macOS or Linux?

I use GIMP 2.10.32 on Linux.
Yes the script is executable:

-rwxr-xr-x  1 dfg primarygroup 4213 Sep 27 13:58 gimp-stable-diffusion.py*

Currently I don't have an idea why it doesn't work. I will ask the GIMP community and hope to get a solution.

Could you please check, if Python 2 is installed on your machine? If not, please install Python 2 and try it again.

I had already python 3. Installed Python 2.7 but it still shows the same message.

I wonder if there is a way to see a more detailed error message.

@zuencap Also, what Linux are you on? I see mention of a similar issue back in Ubuntu 15.04 though they, too, don't have a conclusive fix.

I use a custom Debian based on the latest version.

Please check, if you can run "Filters > Render > Spyrogimp". This plugin is also Python based.

Additionally you could check, if the Python console runs. You can open it via "Filters/Python-Fu/Console".

Hmm, I don't have those ๐Ÿ˜ฎ I guess I have somehow a reduced GIMP. I'll check if I can get the proper one and update this issue.
Thanks a lot for looking in this.

Looks like Debian doesn't ship gimp-phyton package any more for the sake of Python 3.
I installed flatpack Gimp:
https://flathub.org/apps/details/org.gimp.GIMP
The plugin loads fine now. Thanks for your help.

Great, that it's working now! Do you know if it's necessary to install Python 2 manually or does this happen automatically when you install GIMP from flathub.org?

It works without installing Python2. Flatpak handles everything.