-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: FileNotFoundError: [Errno 2]... gradio\"any png name".png' #1563
Comments
I have this problem as well. Its seems to be isolated to just control net. |
Cannot reproduce the problem. Can anyone inform us what kind of environment will trigger this? |
Just running any generated image with any model using controlnet and no embeddings showed this. I actually just fixed it by adding a gradio folder to my temp location. Not sure why it wasnt automatically generating this. C:\Users"Username"\AppData\Local\Temp |
It seems a gradio problem and need users to run as administrator? |
not sure what we can do about this. Will add a help wanted flag and if anyone can find the cause please let us know |
This is due to a bug in gradio version v3.32.0, especially for people who update their webui to v1.3.2. The solution is to add a gradio folder inside the temp dir, or switch to webui v1.3.1 via ‘git checkout v1.3.1’ under the webui folder. This problem also happen to me (inside my extension, not CN) when I develop and test my own extension with webui v1.3.2 Related issues: |
Following, I have this as well, in Safari on OSX |
According to a1111 https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/baf6946e06249c5af9851c60171692c44ef633e0/requirements.txt#L6 so if users get 3.32.0, user should know what break things |
but there's also https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/baf6946e06249c5af9851c60171692c44ef633e0/requirements_versions.txt#L6 Which takes precidence? |
From this I think requirements_versions.txt will be enforced. |
I just tried bumping requirements_versions.txt down to gradio 3.31.0. ControlNet working again for me. |
I can't believe this worked. Thanks! |
Can confirm it but keep in mind that by default A1111 will install packages using |
Can confirm this is from automatic1111 AUTOMATIC1111/stable-diffusion-webui@baf6946#r116673136 |
Thx work for me too) |
I added an ugly fix in #1576 in 1.1.219 import tempfile
gradio_tempfile_path = os.path.join(tempfile.gettempdir(), 'gradio')
os.makedirs(gradio_tempfile_path, exist_ok=True) Someone please help see if this fix the problem. |
Yes, it's working for me. |
Functionally it seemed normal, but some new information popped up: |
With the startup parameter --no-gradio-queue, that information no longer appeared. |
any updates on this? creating the gradio folder isn't working for me |
I would like to know how to do it on Mac, thanks |
请问在autodl云服务器上在那个位置添加 tmp/gradio |
can believe it works, I was trying the depth image extension, it was expecting the gradio folder at /tmp on my linux machine (ubuntu20), thanks!! |
i though that mine was the same problem but nop, *** Error running postprocess_batch: C:\ai\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tilediffusion.py *** Error running postprocess_batch: C:\ai\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py *** Error running postprocess_image: C:\ai\stable-diffusion-webui\extensions\sd-webui-roop\scripts\faceswap.py *** Error running postprocess: C:\ai\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\tilediffusion.py *** Error running postprocess: C:\ai\stable-diffusion-webui\extensions\multidiffusion-upscaler-for-automatic1111\scripts\vae_optimize.py |
Is there an existing issue for this?
What happened?
Hello!
since last update(today) got a strange error. Controlnet after i choose an image and preprocessor, wrote a prompt etc... Start to make generation, but in end it finished and image blinked and dessapear(but in a output folder its exist). Error appear and after this error i cannot generate anything, only after reloading the page. In stable diffusion i can generate normaly. Whould be appreceate for help
Steps to reproduce the problem
ive tried to reinstall but problem is still appear
try to chaning path sleshes to 1/ , \, wrote a whole path and etc
What should have happened?
everything should generate well=
actualy cant get why he try to search something on disk "C" while directory of "F"
Commit where the problem happens
webui:
https://github.com/AUTOMATIC1111/stable-diffusion-webui | master | baf6946e | Mon Jun 5 03:13:41 2023
controlnet:
What browsers do you use to access the UI ?
No response
Command Line Arguments
List of enabled extensions
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: