Skip to content
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

FileNotFoundError #6

Closed
GXMT opened this issue Feb 9, 2023 · 4 comments
Closed

FileNotFoundError #6

GXMT opened this issue Feb 9, 2023 · 4 comments

Comments

@GXMT
Copy link

GXMT commented Feb 9, 2023

Traceback (most recent call last):
File "D:\ComfyUI\main.py", line 178, in execute
executed += recursive_execute(prompt, self.outputs, x, extra_data)
File "D:\ComfyUI\main.py", line 76, in recursive_execute
outputs[unique_id] = getattr(obj, obj.FUNCTION)(**input_data_all)
File "D:\ComfyUI\nodes.py", line 497, in save_images
img.save(f"output/{filename_prefix}{counter:05}.png", pnginfo=metadata, optimize=True)
File "D:\stable-diffusion-webui\venv\lib\site-packages\PIL\Image.py", line 2428, in save
fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: 'output/ComfyUI_00010_.png'

No idea how to solve this problem.
I can't generate new image

@bazettfraga
Copy link
Contributor

bazettfraga commented Feb 9, 2023

You're almost certainly missing an output directory in the base directory of ComfyUI.

edit: for clarity, I mean a directory named "output", as that's what it is looking for.

@GXMT
Copy link
Author

GXMT commented Feb 9, 2023

I have a output directory, and error occurs in end of image making process. Even I make png file at output directory myself, it does not work

@comfyanonymous
Copy link
Owner

This should be fixed now.

@comfyanonymous
Copy link
Owner

I guess this is solved.

Omer-ler pushed a commit to uglabs/ComfyUI that referenced this issue Nov 14, 2023
1iyiwei pushed a commit to 1iyiwei/ComfyUI that referenced this issue Mar 8, 2024
Add downscaling node for large inputs that might cause memory error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants