-
Notifications
You must be signed in to change notification settings - Fork 27k
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 #11578
Labels
bug-report
Report of a bug, yet to be confirmed
Comments
I have the same problem on the latest version of webui. |
A walkaround for this problem on Windows PC is:
Then generate image again, it works |
I ran into the same problem on macOS. I tried to check the options below and now it seems that the problem has been solved.
|
Fixed in #12717 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
What happened?
After generating an inpainted mesh a depth map and a normal .obj file I get this error
Traceback (most recent call last):
File "C:\Users\lodes\AI_UIs\Image_AI\automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\lodes\AI_UIs\Image_AI\automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1326, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "C:\Users\lodes\AI_UIs\Image_AI\automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1260, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "C:\Users\lodes\AI_UIs\Image_AI\automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 4461, in postprocess
file = self.pil_to_temp_file(img, dir=self.DEFAULT_TEMP_DIR)
File "C:\Users\lodes\AI_UIs\Image_AI\automatic1111\stable-diffusion-webui\modules\ui_tempdir.py", line 55, in save_pil_to_file
file_obj = tempfile.NamedTemporaryFile(delete=False, suffix=".png", dir=dir)
File "C:\Users\lodes\AppData\Local\Programs\Python\Python310\lib\tempfile.py", line 559, in NamedTemporaryFile
file = _io.open(dir, mode, buffering=buffering,
File "C:\Users\lodes\AppData\Local\Programs\Python\Python310\lib\tempfile.py", line 556, in opener
fd, name = _mkstemp_inner(dir, prefix, suffix, flags, output_type)
File "C:\Users\lodes\AppData\Local\Programs\Python\Python310\lib\tempfile.py", line 256, in _mkstemp_inner
fd = os.open(file, flags, 0o600)
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\lodes\AppData\Local\Temp\gradio\tmp4mdv1tl.png'
idk if I this is a bug or an error on my side that I forgot to do something I just installed the repo using the URL in auto1111
Steps to reproduce the problem
What should have happened?
it should give me the requested generation files
Version or Commit where the problem happens
Version: v1.4.0 Commit hash: 394ffa7
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
Cross attention optimization
Automatic
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
nope, only extension is this one it's a fresh install
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: