Open martianunlimited opened 1 year ago
Removed permission change on latest patch.
still same for me
@Lalimec @martianunlimited It should be ok now. I forgot to push the change.
Please reopen if it still happended.
Still happening for me on the latest commit. I commented out this line: https://github.com/dr413677671/PromptGallery-stable-diffusion-webui/blob/f2375cfa241ca2bb473e6422a90c7262cca1eb0e/scripts/prompt_gallery.py#L36
This fixed the issue for me. Not sure why there is even a need to change any permissions?
I'm having this same problem. The permission on the folder extensions/PromptGallery-stable-diffusion-webui
is changed. I have to go into the Finder and give myself read and write permissions on it.
I wanted to give this a try, but I had the same problem. I tried removing and then reinstalling but the problem persists. Looking through scripts/prompt_gallery.py
, I can't find anything setting permissions. Even with the workaround, this makes the extension very difficult to deal with.
Pulled the latest version today. This is still happening. I'm going to disable Prompt Gallery until this is fixed.
@jbnv @jpidelatorre @h-sahin I commented line 36 as h-sahin suggested. Could you please try? The purpose of line 36 is to solve some corner case when some user have a readonly file system and the extension could not generate preview file in the folder.
folder permission is set to 100 resulting in permission problem loading ./extensions/PromptGallery-stable-diffusion-webui/index.html when starting up webui.py. Permission always seem to reset on launching webui.py. This is the only extension that has this problem. Workaround is to suspend webui.py after message of permission problem starts flooding the screen, and do a chmod 755 on /extensions/PromptGallery-stable-diffusion-webui
Issue seen on WSL2-Ubuntu22.04