Repository: stable-diffusion-webui
Issue: [Bug]: Can not save settings
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

When trying to save settings I am unable to save settings.
Says error

<img width="534" alt="opera_hehXNeLm0F" src="https://user-images.githubusercontent.com/19499442/228603198-9b91bb2d-05ab-40fd-b796-5a821022b85e.png">


### Steps to reproduce the problem

1. Goto settings
2. change a setting
3. get error

### What should have happened?

save settings

### Commit where the problem happens

22bcc7be428c94e9408f589966c2040187245d81

### What platforms do you use to access the UI ?

Windows 11 x64

### What browsers do you use to access the UI ?

OperaGX

### Command Line Arguments

```Shell
set COMMANDLINE_ARGS=--deepdanbooru --xformers --force-enable-xformers --listen --gradio-auth admin:pass --disable-safe-unpickle --theme dark --enable-console-prompts --api --enable-insecure-extension-access --port 7860 --disable-nan-check --no-half-vae
```


### List of extensions

<img width="566" alt="opera_3uJGtptzdA" src="https://user-images.githubusercontent.com/19499442/228602486-4e6e2ab6-b7bd-42aa-bb09-105d11334911.png">


<html>
<body>
<!--StartFragment-->



a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete | e7fa5aca (Sat Mar 18 15:03:21 2023) | unknown
a1111-stable-diffusion-webui-vram-estimator | https://github.com/space-nuko/a1111-stable-diffusion-webui-vram-estimator.git | bf8797a3 (Sun Mar 5 03:42:33 2023) | unknown
batch-face-swap | https://github.com/kex0/batch-face-swap.git | 60e259d8 (Thu Mar 16 02:02:46 2023) | unknown
booru2prompt | https://github.com/Malisius/booru2prompt.git | 4bd88839 (Wed Nov 23 14:41:10 2022) | unknown
ddetailer | https://github.com/dustysys/ddetailer.git | 22a17414 (Mon Nov 28 09:33:31 2022) | unknown
depthmap2mask | https://github.com/Extraltodeus/depthmap2mask.git | 7eedf6af (Mon Mar 20 10:16:05 2023) | unknown
embedding-inspector | https://github.com/tkalayci71/embedding-inspector.git | 5489015b (Fri Jan 13 15:01:47 2023) | unknown
gif2gif | https://github.com/LonicaMewinsky/gif2gif.git | 230f6737 (Wed Mar 15 21:51:11 2023) | unknown
mine-diffusion | https://github.com/fropych/mine-diffusion.git | fbdcbd1f (Wed Feb 15 18:39:30 2023) | unknown
multi-subject-render | https://github.com/Extraltodeus/multi-subject-render.git | 03427e26 (Mon Mar 6 14:11:30 2023) | unknown
openpose-editor | https://github.com/fkunn1326/openpose-editor.git | 42ba3d5d (Sat Mar 18 23:09:12 2023) | unknown
sd-extension-system-info | https://github.com/vladmandic/sd-extension-system-info | 9b07adb3 (Fri Mar 24 17:13:07 2023) | unknown
sd-webui-3d-open-pose-editor | https://github.com/nonnonstop/sd-webui-3d-open-pose-editor | 66390827 (Fri Mar 24 12:12:48 2023) | unknown
sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | 241c05f8 (Thu Mar 23 15:18:35 2023) | unknown
sd-webui-gelbooru-prompt | https://github.com/antis0007/sd-webui-gelbooru-prompt.git | 5a5ff86c (Tue Mar 7 18:11:17 2023) | unknown
sd-webui-lora-block-weight | https://github.com/hako-mikan/sd-webui-lora-block-weight.git | e7e4b4f1 (Wed Mar 22 15:06:41 2023) | unknown
sd_dreambooth_extension | https://github.com/d8ahazard/sd_dreambooth_extension | 43ae9d55 (Sat Feb 11 20:49:57 2023) | unknown
stable-diffusion-webui-aesthetic-gradients | https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients | 2624e5dd (Fri Jan 6 10:59:30 2023) | unknown
stable-diffusion-webui-composable-lora | https://github.com/opparco/stable-diffusion-webui-composable-lora.git | d4963e48 (Mon Feb 27 17:40:08 2023) | unknown
stable-diffusion-webui-depthmap-script | https://github.com/thygate/stable-diffusion-webui-depthmap-script.git | 33a93791 (Tue Mar 14 16:39:44 2023) | unknown
stable-diffusion-webui-images-browser | https://github.com/yfszzx/stable-diffusion-webui-images-browser | a42c7a30 (Sat Dec 10 11:01:30 2022) | unknown
stable-diffusion-webui-sonar | https://github.com/Kahsolt/stable-diffusion-webui-sonar.git | 6cf2cf3f (Thu Mar 9 11:50:57 2023) | unknown
stable-diffusion-webui-text2prompt | https://github.com/toshiaki1729/stable-diffusion-webui-text2prompt.git | c4d8cec1 (Fri Feb 24 08:29:55 2023) | unknown
stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | 590c9a73 (Sun Feb 19 11:51:48 2023) | unknown
LDSR | built-in |   |  
Lora | built-in |   |  
ScuNET | built-in |   |  
SwinIR | built-in |   |  
prompt-bracket-checker | built-in |  

<br class="Apple-interchange-newline"><!--EndFragment-->
</body>
</html>a1111-sd-webui-tagcomplete	https://github.com/DominikDoom/a1111-sd-webui-tagcomplete	e7fa5aca (Sat Mar 18 15:03:21 2023)	unknown
a1111-stable-diffusion-webui-vram-estimator	https://github.com/space-nuko/a1111-stable-diffusion-webui-vram-estimator.git	bf8797a3 (Sun Mar 5 03:42:33 2023)	unknown
batch-face-swap	https://github.com/kex0/batch-face-swap.git	60e259d8 (Thu Mar 16 02:02:46 2023)	unknown
booru2prompt	https://github.com/Malisius/booru2prompt.git	4bd88839 (Wed Nov 23 14:41:10 2022)	unknown
ddetailer	https://github.com/dustysys/ddetailer.git	22a17414 (Mon Nov 28 09:33:31 2022)	unknown
depthmap2mask	https://github.com/Extraltodeus/depthmap2mask.git	7eedf6af (Mon Mar 20 10:16:05 2023)	unknown
embedding-inspector	https://github.com/tkalayci71/embedding-inspector.git	5489015b (Fri Jan 13 15:01:47 2023)	unknown
gif2gif	https://github.com/LonicaMewinsky/gif2gif.git	230f6737 (Wed Mar 15 21:51:11 2023)	unknown
mine-diffusion	https://github.com/fropych/mine-diffusion.git	fbdcbd1f (Wed Feb 15 18:39:30 2023)	unknown
multi-subject-render	https://github.com/Extraltodeus/multi-subject-render.git	03427e26 (Mon Mar 6 14:11:30 2023)	unknown
openpose-editor	https://github.com/fkunn1326/openpose-editor.git	42ba3d5d (Sat Mar 18 23:09:12 2023)	unknown
sd-extension-system-info	https://github.com/vladmandic/sd-extension-system-info	9b07adb3 (Fri Mar 24 17:13:07 2023)	unknown
sd-webui-3d-open-pose-editor	https://github.com/nonnonstop/sd-webui-3d-open-pose-editor	66390827 (Fri Mar 24 12:12:48 2023)	unknown
sd-webui-controlnet	https://github.com/Mikubill/sd-webui-controlnet.git	241c05f8 (Thu Mar 23 15:18:35 2023)	unknown
sd-webui-gelbooru-prompt	https://github.com/antis0007/sd-webui-gelbooru-prompt.git	5a5ff86c (Tue Mar 7 18:11:17 2023)	unknown
sd-webui-lora-block-weight	https://github.com/hako-mikan/sd-webui-lora-block-weight.git	e7e4b4f1 (Wed Mar 22 15:06:41 2023)	unknown
sd_dreambooth_extension	https://github.com/d8ahazard/sd_dreambooth_extension	43ae9d55 (Sat Feb 11 20:49:57 2023)	unknown
stable-diffusion-webui-aesthetic-gradients	https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients	2624e5dd (Fri Jan 6 10:59:30 2023)	unknown
stable-diffusion-webui-composable-lora	https://github.com/opparco/stable-diffusion-webui-composable-lora.git	d4963e48 (Mon Feb 27 17:40:08 2023)	unknown
stable-diffusion-webui-depthmap-script	https://github.com/thygate/stable-diffusion-webui-depthmap-script.git	33a93791 (Tue Mar 14 16:39:44 2023)	unknown
stable-diffusion-webui-images-browser	https://github.com/yfszzx/stable-diffusion-webui-images-browser	a42c7a30 (Sat Dec 10 11:01:30 2022)	unknown
stable-diffusion-webui-sonar	https://github.com/Kahsolt/stable-diffusion-webui-sonar.git	6cf2cf3f (Thu Mar 9 11:50:57 2023)	unknown
stable-diffusion-webui-text2prompt	https://github.com/toshiaki1729/stable-diffusion-webui-text2prompt.git	c4d8cec1 (Fri Feb 24 08:29:55 2023)	unknown
stable-diffusion-webui-wd14-tagger	https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git	590c9a73 (Sun Feb 19 11:51:48 2023)	unknown
LDSR	[built-in](http://192.168.12.145:7860/?__theme=dark)		
Lora	[built-in](http://192.168.12.145:7860/?__theme=dark)		
ScuNET	[built-in](http://192.168.12.145:7860/?__theme=dark)		
SwinIR	[built-in](http://192.168.12.145:7860/?__theme=dark)		
prompt-bracket-checker	[built-in](http://192.168.12.145:7860/?__theme=dark)


### Console logs

```Shell
Console shows no log, https://i.imgur.com/URXfqF3.png
```


### Additional information

Happened after updating the repo today.
Using Python 3.10.8