KohakuBlueleaf / a1111-sd-webui-lycoris

An extension for stable-diffusion-webui to load lycoris models.
Apache License 2.0
861 stars 116 forks source link

Extenstion stops stable diffusion from booting/opening/ cant refresh webUI/cant reload web Ui #32

Closed xmattar closed 1 year ago

xmattar commented 1 year ago

when i install this extension it works for the first few moments but then everything bugs out

first problem is like the title says, when i open stable diffusion it wont let me. it will give me errors about link_preview something like that

second if i installed the extension when SD is already oepened i can see the new tab however i cant see its content even if the folder has some inside

third problem is that i wont be able to refresh but i think its linked to the first problem

JanStefanski commented 1 year ago

Check if you have the latest version of Webui, about two weeks ago there was a commit that added find_preview. I had possibly the same issue on outdated webui, but I managed to fix it by simply updating the UI.

xmattar commented 1 year ago

in order to update it i just have to add git_pull right?

JanStefanski commented 1 year ago

You either can do that, or also simply download latest release and patch the files manually. Remember to save your configs though, I patched manually, due to my personal changes.

xmattar commented 1 year ago

image

this is error i get after i updated to the newest version with lycoris

JanStefanski commented 1 year ago

image

this is error i get after i updated to the newest version with lycoris

Make sure if the modules folder has been also updated/fetched. I think that this issue occurs if in file modules/ui_extra_networks.py (which lycoris extension uses) you do not have find_preview method, which was named _find_preview in the older versions. The file in question should have this method find_preview since about two months ago.

xmattar commented 1 year ago

but i think i have it image

FortKnoxGenerator commented 1 year ago

Hey I'm having the same issue, if anybody knows a fix pls let me know

xmattar commented 1 year ago

i think i found a fix, go to ur stable diffusion folder

the main one

then press alt f

choose powershell

type git pull

FortKnoxGenerator commented 1 year ago

Thx for the quick reaction? Do you mean while I have lycoris installed or not? And you mean the folder where you start up the webui-user.bat right? Because I just tried doing this with and without lycoris installed and it said this both times in both powershell and in the launcher:

PS C:\Users\MyName\Downloads\SDlocal\stable-diffusion-webui-master> git pull fatal: not a git repository (or any of the parent directories): .git PS C:\Users\MyName\Downloads\SDlocal\stable-diffusion-webui-master>

While I had it installed, which was the second time, it also failed to launch in exactly the same way it did without this fix. Did I do something wrong perhaps?

JanStefanski commented 1 year ago

Thx for the quick reaction? Do you mean while I have lycoris installed or not? And you mean the folder where you start up the webui-user.bat right? Because I just tried doing this with and without lycoris installed and it said this both times in both powershell and in the launcher:

PS C:\Users\MyName\Downloads\SDlocal\stable-diffusion-webui-master> git pull fatal: not a git repository (or any of the parent directories): .git PS C:\Users\MyName\Downloads\SDlocal\stable-diffusion-webui-master>

While I had it installed, which was the second time, it also failed to launch in exactly the same way it did without this fix. Did I do something wrong perhaps?

It basically means that you have no .git folder, you probably downloaded the repo manually. Just download the latest release (Source code (zip)), unpack it and replace the existing files, Or if you prefer to have it installed as a repository, just run git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git in some other folder and copy your configs/extensions/models to it.

FortKnoxGenerator commented 1 year ago

If I replace existing files, will my prompt presets, extensions and loras and the likes still be there?

FortKnoxGenerator commented 1 year ago

YEEEEEEEEEEEEEEEEEEEEEES it works!! Thanks to you both for helping me in my time of need :D!