blueturtleai / gimp-stable-diffusion

MIT License
327 stars 42 forks source link

Rewrite the instructions #33

Closed scottonanski closed 1 year ago

scottonanski commented 1 year ago

I shouldn't have to tell you why...

blueturtleai commented 1 year ago

In fact I don’t know what you mean. Pls tell me why you think this is necessary.

blueturtleai commented 1 year ago

As i didn’t hear from you for some days, I close this issue.

kronkinatorix commented 1 year ago

Your installation instructions straight up don't work.

I'm about two hours into a rabbit hole of figuring out how to actually get this plugin to load and it appears that gimp 2.10 which is the default installation of gimp for debian-based systems is gimp 2.10 which apparently does not support python.

Apparently gimp 2.99 which can be downloaded through flatpak does but it's flatpak so I'm currently looking into compiling gimp from source which is a bit of a clusterf- apparently. Or. I don't know.

Bottom line this is an absolute pain in the butt and I'm kind of at a loss for how your installation instructions could work for anyone since finding out how to install python for gimp 2.10 is proving to be a needlessly frustrating experience.

blueturtleai commented 1 year ago

Please check the troubleshooting section: https://github.com/blueturtleai/gimp-stable-diffusion/tree/main/stablehorde#linux You find there a link to flatpak. It seems to be version 2.10.34. The plugin won’t work with 2.99, as the plugin api has been changed.

The root problem is, that there is still no final Gimp release, which supports Python 3.

scottonanski commented 1 year ago

I figured out what the problem was, but it was still a little buggy. If memory serves me correctly, I think I had to install GIMP as a Snap or something to get it working. It was definitely Python related, and a very easy solution once I figured it out.

kronkinatorix commented 1 year ago

urllib2 errors.

I don't appear to be able to install urllib2 since it's deprecated?

How has anyoine figured out how to get this workig? @blueturtleai it would be incredibly helpful for people like myself if you could lay out how to actually writre up how to install this, since the instructions don't mention flatpak and the flatpak instructions clearly don't work.

kronkinatorix commented 1 year ago

I tried compiling from source but gave up since it's such a headache with gimp and installed the flatpak.

The flatpak produced an urllib2 error.

I searched around and finally install python2 which didn't work., I install pyenv and python2 again and pyuthon2 worked.

Ran an strace on the flatpak gimp app.

It runs the command "python"

Found out you can't edit flatpaks. Cool. Wrote an alias to turn on / turn off python=/path/to/python2/pyenv

ran gimp

urllib2 errror.

I've spent like 6 hours here. Your instructions don't work. The troubleshooting section does not help.

I've tried on both mint and Manjaro and run into he same problems so I don't think I'm an edge case with this.

Can you please update the instructions?

kronkinatorix commented 1 year ago

Update: I've tried using a shebang pointing to the python2 interpreter. Nothing. I tried using a shebang to the interpreter of python 2 in the flatpak i\mage itself by using the python console to pull a list of the full /app directory which was a pain in the ass and tried using that as the shebang: nothing.

kronkinatorix commented 1 year ago

final update: changed the shebang back to the pyenv shim and it works.

kronkinatorix commented 1 year ago

IMAGE SIZE NEEDS TO BE BETWEEN 384 AND 1024?

what a colossal waste of time. FML

scottonanski commented 1 year ago

Open Sores. :)

On Fri, Aug 4, 2023 at 2:21 PM kronkinatorix @.***> wrote:

IMAGE SIZE NEEDS TO BE BETWEEN 384 AND 1024?

what a colossal waste of time. FML

— Reply to this email directly, view it on GitHub https://github.com/blueturtleai/gimp-stable-diffusion/issues/33#issuecomment-1666130730, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2OMMMLDO6LYS4N67RFM7ODXTVKTFANCNFSM6AAAAAA2LAPMAI . You are receiving this because you authored the thread.Message ID: @.***>

--

CONFIDENTIALITY NOTICE: This email and attached material are intended for the use of the individual or organization to whom they are addressed and may not be distributed, copied, or disclosed to other unauthorized persons. This material may contain confidential and/or personal information subject to the provisions of the Freedom of Information and Protection of Privacy Act, the Municipal Freedom of Information and Protection of Privacy Act, and/or the Personal Health Information Protection Act. If you receive this transmission in error, please notify me immediately and delete this message. Do not email, print, copy, distribute, or disclose this email or its contents further. Thank you for your co-operation and assistance.

blueturtleai commented 1 year ago

@kronkinatorix Could you please tell me how the shebang, which works for you, looks like?

I don’t run Linux myself, so I can’t try flatpak GIMP myself. But I got the feedback from several Linux users, that it fixed their problem when they installed it.