stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Error when trying to save
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
After using Outpainting MK2 I have tried to save an image but it comes up with error over the text below the images. In Anaconda/Miniconda it states the following:
Arguments: ('{"prompt": "a beautiful ultradetailed painting of a tall castle with walls of cobblestone visible over the treeline of a red maple, golden hour, albert bierstadt, makoto shinkai, 4k, trending on artstation", "all_prompts": ["a beautiful ultradetailed painting of a tall castle with walls of cobblestone visible over the treeline of a red maple, golden hour, albert bierstadt, makoto shinkai, 4k, trending on artstation"], "negative_prompt": "", "seed": 328368278, "all_seeds": [328368278], "subseed": -1, "all_subseeds": [-1], "subseed_strength": 0, "width": 640, "height": 768, "sampler_index": 0, "sampler": "Euler a", "cfg_scale": 7, "steps": 30, "batch_size": 1, "restore_faces": false, "face_restoration_model": null, "sd_model_hash": "81761151", "seed_resize_from_w": 0, "seed_resize_from_h": 0, "denoising_strength": 0.75, "extra_generation_params": {"Mask blur": 4}, "index_of_first_image": 0, "infotexts": ["a beautiful ultradetailed painting of a tall castle with walls of cobblestone visible over the treeline of a red maple, golden hour, albert bierstadt, makoto shinkai, 4k, trending on artstation\nSteps: 30, Sampler: Euler a, CFG scale: 7, Seed: 328368278, Size: 640x768, Model hash: 81761151, Denoising strength: 0.75, Mask blur: 4"], "styles": ["None", "None"], "job_timestamp": "20221107174312", "clip_skip": 1}', [{'name': 'C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp67mglhel.png', 'data': 'file=C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp67mglhel.png', 'is_file': True}, {'name': 'C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp20se24cq.png', 'data': 'file=C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp20se24cq.png', 'is_file': True}, {'name': 'C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp7ss3r_r6.png', 'data': 'file=C:\Users\cpgsa\AppData\Local\Temp\tmphzm_1bgx\tmp7ss3r_r6.png', 'is_file': True}], True, 1) {}
Traceback (most recent call last):
File "C:\SD\stable-diffusion-webui\modules\ui.py", line 185, in f
res = list(func(*args, **kwargs))
File "C:\SD\stable-diffusion-webui\modules\ui.py", line 136, in save_files
fullfn, txt_fullfn = save_image(image, path, "", seed=p.all_seeds[i], prompt=p.all_prompts[i], extension=extension, info=p.infotexts[image_index], grid=is_grid, p=p, save_to_dirs=save_to_dirs)
IndexError: list index out of range
Traceback (most recent call last):
File "c:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 284, in run_predict
output = await app.blocks.process_api(
File "c:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 983, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "c:\SD\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 913, in postprocess_data
if predictions[i] is components._Keywords.FINISHED_ITERATING:
IndexError: tuple index out of range```
### Steps to reproduce the problem
1. Go to txt2img and make your image
2. Transfer it to inpaint
3. Choose outpainting mk2 from scripts
4. Outpaint it in any direction
5. Press save
### What should have happened?
The image is saved.
### Commit where the problem happens
804d9fb83d0c63ca3acd36378707ce47b8f12599
### What platforms do you use to access UI ?
Windows
### What browsers do you use to access the UI ?
Google Chrome, Microsoft Edge
### Command Line Arguments
```Shell
--medram
Additional information, context and logs
No response
This seems like the same error as when using SD Upscale script here : https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2868
Is it some general script limitation?
This seems like the same error as when using SD Upscale script here : #2868
Is it some general script limitation?
That issue didnt even show up when I searched, nothing did. Thats annoying.
I'm having the same issue here. I've blasted away the config file to make sure it isn't a setting I've messed up, but it's still the same issue.
Seems to work for me currently.