yfszzx / stable-diffusion-webui-images-browser

an images browse for stable-diffusion-webui
489 stars 232 forks source link

Send to buttons still don't work with all recent updates and merges #30

Closed opy188 closed 1 year ago

opy188 commented 1 year ago

As said, I load a page for the image browser, and all "send to" buttons vanish, unable to do anything. I just fresh installed the extension and updated the webui, so I have no idea what's going on.

ArchGroot commented 1 year ago

same thing, plus no "Generate Info" and "File name" outputs 0ecf2876cac54f16a3de0ac46d7b5214

ResleyZ commented 1 year ago

I've found a solution, if you delete the Extension folder, and reinstall it from the WebUI, it will work perfectly fine.

I've tested this with several extensions, and after deleting them, reinstalling through the WebUI, and applying and reinstalling it as well brings back all the functionalities.

opy188 commented 1 year ago

mine just keeps saying Namespace' object has no attribute 'disable_extension_access when I try installing through the webui

ResleyZ commented 1 year ago

If you have --listen or --share as a CMD argument, you'll need to remove that. Without that it should work, and you could enable it again afterwards.

opy188 commented 1 year ago

I have nothing enabled like that. Launched without any arguments though and it's pursued. I have found the line in the UI extensions python file that seems to be set up to prevent this. So I guess I could mess around with this and see if that fixes it

opy188 commented 1 year ago

This is the code. What should i change this to to allow these dang extensions. testing

opy188 commented 1 year ago

okay i think i fixed it. There was a recent update that adjusted the mentioned line

opy188 commented 1 year ago

i lied, still doesn't work. in fact installing it through the webui does nothing, and now there is no image browser tab at all

ResleyZ commented 1 year ago

I had did these steps; Delete the current folder from the Extensions folder From within the UI, go to the Extension Tab > Install from URL tab, and paste in https://github.com/yfszzx/stable-diffusion-webui-images-browser Leave the "Local directory name" empty Press "Install" From the "Installed tab, press Apply and Restart UI"

opy188 commented 1 year ago

god bless you. though my primary issue was there was a secret installation of the folder in my tmp folder. And I had to delete that. Now it works and every is now fine. Appreciate it

opy188 commented 1 year ago

The issue remains unsolved. If you fix it with the mentioned method above, it breaks again with a restart. This fix seems to need something fundamentally adjusted in the extension

digital-soul18 commented 1 year ago

Yep, not working for me either. When I try and install the extension I get this error

GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/gdrive/MyDrive/sd/stable-diffusion-webui/tmp/stable-diffusion-webui-images-browser stderr: 'Cloning into '/content/gdrive/MyDrive/sd/stable-diffusion-webui/tmp/stable-diffusion-webui-images-browser'... fatal: I don't handle protocol ' https'

albusgod commented 1 year ago

fresh install, my work fine, it display the info but there is no buttons to send to text2img or send to img2img

digital-soul18 commented 1 year ago

Yes exactly, my buttons don't work either, everything else was fine.

On Tue, 1 Nov 2022, 8:17 pm Capi, @.***> wrote:

fresh install, my work fine, it display the info but there is no buttons to send to text2img or send to img2img

— Reply to this email directly, view it on GitHub https://github.com/yfszzx/stable-diffusion-webui-images-browser/issues/30#issuecomment-1298250266, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXYMGB4SSFRKP6HGRWF4K3WGDN2TANCNFSM6AAAAAARTHJHUE . You are receiving this because you commented.Message ID: @.*** com>

dhwz commented 1 year ago

No fix, but just a temporary solution so you get a working images-browser again:

Go to your stable-diffusion-webui folder and do: git checkout -b old-state f87dcf1ad8722674bf4c84b0f992070af223fb7d This will jump back 2 days to a working state of the webui

ArchGroot commented 1 year ago

I erased all extension from extension folder, disabled cmd args from webui-user.bat --listen and --port (because webui won't let you change extensions), restarted sd with git pull into webui-user.bat, to have the latest update, and installed the new extensions image And voila, the results, generation info and the buttons are there: image

MrKuenning commented 1 year ago

I can confirm that removing the Image Browser extension, clearing all of my arguments, and reinstalling the extension from the WebUI did restore the buttons. However, as soon as I put my arguments back in the buttons disappeared. Additionally removing all of them again does not bring them back.

The arguments I am currently using are:

--listen --deepdanbooru --disable-safe-unpickle --styles-file --administrator --port --gradio-auth

I am curious if this issue is related to this PR https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/3768 "Create all “send to“ button in one module"

dhwz commented 1 year ago

Yes it doesn't work right now, webui needs to be fixed first, roll back like I described above if you don't want to wait.

judgeou commented 1 year ago

If you have --listen or --share as a CMD argument, you'll need to remove that. Without that it should work, and you could enable it again afterwards.

Honestly, it's a stupid design.

and, doesn't work for me

too weird, I remove stable-diffusion-webui/embeddings/.ipynb_checkpoints/ and restart webui, then works fine, I have restarted several times before this

MrKuenning commented 1 year ago

Confirmed working again, with no roll backs or tweaks.

yfszzx commented 1 year ago

done

digital-soul18 commented 1 year ago

It still isn't working for me despite deleting the plugin and restarting.

yfszzx commented 1 year ago

It still isn't working for me despite deleting the plugin and restarting.

git pull "webui" and "images browser"

digital-soul18 commented 1 year ago

I do have the latest versions of these. Could it be because I am using fast stable diffusion? https://github.com/TheLastBen/fast-stable-diffusion

That may overwrite webui but I'm not sure.