AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
139.54k stars 26.45k forks source link

[Bug]: Settings page and user configured menus not loading #9027

Closed tenabraex closed 1 year ago

tenabraex commented 1 year ago

Is there an existing issue for this?

What happened?

img01 img02

Steps to reproduce the problem

open UI

What should have happened?

stuff should load right

Commit where the problem happens

5fcd4bfa3d86c3ebf91ff993b6472a68a3a4f6ad

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

Launching Web UI with arguments: --autolaunch --disable-safe-unpickle --ckpt-dir E:\StableDiffusionData\models\Stable-diffusion --gfpgan-models-path E:\StableDiffusionData\models\GFPGAN --codeformer-models-path E:\StableDiffusionData\models\Codeformer --esrgan-models-path E:\StableDiffusionData\models\ESRGAN --embeddings-dir E:\StableDiffusionData\embeddings --hypernetwork-dir E:\StableDiffusionData\models\hypernetworks --lora-dir E:\StableDiffusionData\models\Lora --xformers --no-half-vae --api

List of extensions

many

Console logs

im guessing this is the relevant portion

[ERROR] config_presets.py: Could not find config file 'scripts/config_presets.json'. Did you forget to move the file along with config_presets.py when installing this script?.

---

venv "E:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 5fcd4bfa3d86c3ebf91ff993b6472a68a3a4f6ad
Installing requirements for Web UI
Installing None
Installing onnxruntime-gpu...
Installing None
Installing opencv-python...
Installing None
Installing Pillow...

Installing requirements for Batch Face Swap

Installing sd-dynamic-prompts requirements.txt

Launching Web UI with arguments: --autolaunch --disable-safe-unpickle --ckpt-dir E:\StableDiffusionData\models\Stable-diffusion --gfpgan-models-path E:\StableDiffusionData\models\GFPGAN --codeformer-models-path E:\StableDiffusionData\models\Codeformer --esrgan-models-path E:\StableDiffusionData\models\ESRGAN --embeddings-dir E:\StableDiffusionData\embeddings --hypernetwork-dir E:\StableDiffusionData\models\hypernetworks --lora-dir E:\StableDiffusionData\models\Lora --xformers --no-half-vae --api
[ERROR] config_presets.py: Could not find config file 'scripts/config_presets.json'. Did you forget to move the file along with config_presets.py when installing this script?.
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
Loading weights [a611cf9c19] from E:\StableDiffusionData\models\Stable-diffusion\anime\cetusMix_Version35.safetensors
Creating model from config: E:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Loading VAE weights specified in settings: E:\StableDiffusionData\models\Stable-diffusion\VAE\kl-f8-anime2.vae.pt
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(394): adamsandler, andtat, asher_angel, brucewillis, Daniel_Bruhl, electroboom, garth-marenghi , genbwkapoors_4t, gregnobodysd15, ian_mckellen, johsin, michael_fassbender, mortnobody15, novakdjokovic, pedro_pascal, tcr3ws, tlou-joel, tomxyzabcholland-13000, advn_v1 dress, bfold3, corneo_tifa_dress, leia_palace_outfit_2, RFKTR_fshnsta, 1111r31nhart, 3113fann1ng3, 3mmar0b3rts, 3nid_14, 3r1nm0r1art72, 4lizeej, 4m0ur4nth, 4ndreabotez, aidrafox, alexandradaddario, alexbotez_t10, alexis, alibrie, alina, alinebernardes, alydebcar, alyhan, alysonhannigan44, amgutierrez, amia, anafoxxx, andreabotez, ann3hathawa72, annadeo1sd, annaken-8000, annken2, antonialastnamesd15, AriGra-15000, AriGra3V, AriGra3Vb, asanagi, bby_cai, BellaPoarch, belledephine, BilEil, BrenSon, brielastnamdsd15, broc-shuqi, bs_puiyi, c0b13smu1d3rs2, cam11am3nd3s, CanPat-22200, caoimhelastnamesd15, carmrose, charli-19500, charlieeeTI, cherrynobodysd15, ChlGraMtz-30000, ChloeBent, chloenobodysd15, cl4ud1a5, ClaraTrinity, classically-abby-v1.0, cmack, corkpf, corychase-940, daisyrey-100, dak0tafann1ng3, dakotaskye, danahamm, deniselastnamesd15, denric, devbrugman, dollienobodysd15, dualip, ellefanning, emb-anada, emb-avril, emb-haiz, emb-jordyn, emilbnt-600, emilyvancamp1, EMJessicaAlba, emm-9500, emmabigwilde-1001, emmsto, emstone-6000, emwatz, EMWinonaRyder, evagreen, evelynnobodysd15, f311c1ada7, fenn_noli, follynobodysd15, foshposh, fr3yaa11an, fs2023, galgadot-4000, galgadot-8000, genalisia_4t, genamylee_4t, genarcila_4t, genbwadvani_4t, genjama_4t, gentssantini, GinaRod, glorianobodysd15, hannahminx, hayatw-300, hayatw, hayatwe, HitomiTanaka-12500, ijustine, imanvellani, ImaVel-11000, indialove, IrinaMeier-10000, j3nna0rt3ga, jaderamey, jamie cole, janice, jencole, JenLaw, JenLHew, JenLoHew, jennachew2, jenortxt-1800, jenortxt, jenortxtb-1800, jourdandunn, jstaite_3_12, k13rn4n5h1pk42, k31rakn1ght1e7, kaitlyndever1, kaleycuoco26, karen gillan, KarFuk-10400, kargill-8000, katbeck-8000, kath3r1n3langf0rd2, kathr7nn3wt0n, keikni, keirkni, KekPal, kfukvf-1990, KirShip-14200, kleigh, koh_miakhalifa, KriSte-30000, kristennobodysd15, lacikay-1700, letitiawright1, LinLoh, livtyler-5000, lizdebick1, lndswgnr_v1.0, lyncarv3, m1ag0th, m1leycyrus, m3ganb00n3245, mad31a1n3p3tsch, madd1ez1egler, malcock-6000, maranobodysd15, margot, mayca1amaw7, messssie, michellerabit, milajovovichyounger, milalcock, MilanaVayntrub, MilBob2, miljov-4000, miljov-8000, milkun, millajovovichmodern, mira-dread, mmmggg-5820, molrin, morfydd-15500, n1nad0br3v, n4t4lee, na0mi-campb3ll-t2, nata113n031, NataliePortman, natashalyonne1, natdorm-15000, natdyer, natyport, ne_nataliedormer, ne_oliviawilde, nnlnnx_1985-1987_v1.4g, oliviamunn, PenCru, phoebe-wulf, Pokimane-400, proxy, QuantumASMR, r0samund1ik3, ravlyn95, rmca-4000, rosalinenobodysd15, RosarioDawson, roseleslie, rurinobodysd15, SadSin, SadSin2VH, SarHyl-10000, saszot-4000, ScarJoe-35000, seymjan, sglau_3_8, shabnamlayek, ShoHed, sierra2024, skind, SopTur, SopTurN3v005, stoya, sydneegoodman, SydSwe, TayTay-15000, thelab-ada, tifkeller, trixy_treats, Vanja-15000, vina, visumm, vz3m4n0v4, w3day_14, WhisPain, wholesomegrannies, yangchaoyue_asian_v1, yarashahidi, yhivi, yuamikami, YvoStr-30000, z4zieb, Zendy-28000, ZoeKra, ZoeSal, ZoeSal2VH, anime-background-style-v2, hoppagames, stardeaf-cold-arc , style_tombraider, vintagemap_f, emb-rrf2, f15-23t-250, guyverbba, hbech, was-battletech, was-gunpla, was-jaeger, was-mecha, was-steampunk, was-transformers, 7dirtywords, anime-style-negative-embedding, bad-artist, bad-hands-3, bad-hands-5, bad-image-9600, bad-image-v2-11000, bad-image-v2-27000, bad-image-v2-39000, badhandv4, bad_prompt, bad_prompt2, bad_prompt_version2, dangercrow, dangerdonkey, dangerhawk, dangermouse, EasyNegative, ng_deepnegative_v1_64t, ng_deepnegative_v1_75t, Style-Petal-neg, style-rustmagic-neg, angelphilia, bossfight, corneo_night_elf, doodle_monsters, ghst-3000, japbun2-10, japbun2-15, japbun2-20, japbun2-25, japbun2-30, japbun2-35, japbun2-40, nightborne, Style-Goblinmode, tloustyle, trypophobia, vmpr, was-diablo, awaitingtongue, bimbostyle, blowjobpose, bottomless, breastonglass, bukkakAI, catgirlv1, corneo_anal, corneo_ball_gag, corneo_bound_missionary, corneo_covering_breasts_arms_crossed, corneo_covering_breasts_one_arm, corneo_covering_breasts_two_hands, corneo_cowgirl, corneo_nipple_rings, corneo_paizuri, corneo_pov_anal, corneo_pov_oral, corneo_runny_makeup, corneo_side_deepthroat, corneo_side_doggy, corneo_spitroast, corneo_tentacle_sex, corneo_x_pasties, devmgf-8500, dpthrt, fairyfqr, microkini, micromini, realcumAI, small_tits, Style-Unshaved, zauber_vore_hardcore, 001glitch-core, 512paintstyle1, 512paintstyle3-light, 512speedpainter, 80sanime, anyataylorjoy-25000, arcan3, arcane-face, black-waifu, blonde, darkgoblinz, disco elysium, donglu, dr-strange, emb-rrf-low, Exodus-Styling, fairy-tale-painting-style, handmade2d, hiten1, rfktr_bwmnga, steampunkgranny, Style-Autumn, style-bridal, Style-Empire, Style-Glass, Style-Glorious, style-hamunaptra, Style-Kilt, style-krysdecker, Style-Necromancy, style-of-marc-allante, style-paintmagic, Style-Petal, Style-Princess, Style-Psycho, style-rustmagic, style-widow, tarot512, tony-diterlizzi-s-planescape-art, valorantstyle, was-vb, wasmoebius, charturnerv2, fpv, PlanIt, slotgames, Style-Info, darkskin_style, stana-t2, stardeaf-greenmageddon , style_cctv
Textual inversion embeddings skipped(10): classipeint, FFbF_effect, kc16-v1-4000, ScaryMonstersV2, UlukInkSketch2, dangerowl, photozoov21, cardstylev3, midjourney, dangerdonkey
Model loaded in 9.6s (load weights from disk: 0.9s, create model: 0.6s, apply weights to model: 1.6s, apply half(): 1.9s, load VAE: 0.7s, move model to device: 1.7s, load textual inversion embeddings: 2.2s).
E:\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Group, please remove them: {'variant': 'panel'}
  warnings.warn(
E:\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py:2385: UserWarning: The `bytes` type is deprecated and may not work as expected. Please use `binary` instead.
  warnings.warn(
E:\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in ColorPicker, please remove them: {'default': '#ff0000'}
  warnings.warn(
E:\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Tab, please remove them: {'open': False}
  warnings.warn(
E:\stable-diffusion-webui\venv\lib\site-packages\gradio\deprecation.py:43: UserWarning: You have unused kwarg parameters in Button, please remove them: {'full_width': True}
  warnings.warn(
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 34.1s (import torch: 2.4s, import gradio: 1.6s, import ldm: 0.6s, other imports: 1.3s, setup codeformer: 0.4s, load scripts: 9.5s, load SD checkpoint: 9.8s, create ui: 7.1s, gradio launch: 1.2s).

Additional information

It does seem extension related, but it's a LOT of them, including Lora from the built in extensions.

shelltea commented 1 year ago

Same problem

cibernicola commented 1 year ago

same here

sabi3293043 commented 1 year ago

same here

Cleaf-y commented 1 year ago

same here

StimeKe commented 1 year ago

Same problem

bismark211 commented 1 year ago

same here

woobeforethesun commented 1 year ago

also same

orlop commented 1 year ago

Same here.

wzgrx commented 1 year ago

same as

E:\Soft\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py:13 │ │ 9 in serializeresponse │ │ │ │ 138 │ │ if errors: │ │ > 139 │ │ │ raise ValidationError(errors, field.type) │ │ 140 │ │ return jsonable_encoder( │ │ │ │ ┌──────────────────────────────── locals ─────────────────────────────────┐ │ │ │ by_alias = True │ │ │ │ errors = [ │ │ │ │ │ ErrorWrapper( │ │ │ │ │ │ exc=ValidationError( │ │ │ │ │ │ │ model='Options', │ │ │ │ │ │ │ errors=[ │ │ │ │ │ │ │ │ { │ │ │ │ │ │ │ │ │ 'loc': ( │ │ │ │ │ │ │ │ │ │ 'sd_model_checkpoint', │ │ │ │ │ │ │ │ │ ), │ │ │ │ │ │ │ │ │ 'msg': 'value is not None', │ │ │ │ │ │ │ │ │ 'type': 'type_error.notnone' │ │ │ │ │ │ │ │ } │ │ │ │ │ │ │ ] │ │ │ │ │ │ ), │ │ │ │ │ │ loc=('response',) │ │ │ │ │ ) │ │ │ │ ] │ │ │ │ errors = ErrorWrapper( │ │ │ │ │ exc=ValidationError( │ │ │ │ │ │ model='Options', │ │ │ │ │ │ errors=[ │ │ │ │ │ │ │ { │ │ │ │ │ │ │ │ 'loc': ('sd_model_checkpoint',), │ │ │ │ │ │ │ │ 'msg': 'value is not None', │ │ │ │ │ │ │ │ 'type': 'type_error.not_none' │ │ │ │ │ │ │ } │ │ │ │ │ │ ] │ │ │ │ │ ), │ │ │ │ │ loc=('response',) │ │ │ │ ) │ │ │ │ exclude = None │ │ │ │ exclude_defaults = False │ │ │ │ exclude_none = False │ │ │ │ exclude_unset = False │ │ │ │ field = ModelField( │ │ │ │ │ name='Response_get_config_sdapi_v1_options_get', │ │ │ │ │ type=Options, │ │ │ │ │ required=True │ │ │ │ ) │ │ │ │ include = None │ │ │ │ is_coroutine = False │ │ │ │ response_content = { │ │ │ │ │ 'samples_save': True, │ │ │ │ │ 'samples_format': 'png', │ │ │ │ │ 'samples_filename_pattern': '', │ │ │ │ │ 'save_images_add_number': True, │ │ │ │ │ 'grid_save': True, │ │ │ │ │ 'grid_format': 'png', │ │ │ │ │ 'grid_extended_filename': False, │ │ │ │ │ 'grid_only_if_multiple': True, │ │ │ │ │ 'grid_prevent_empty_spots': False, │ │ │ │ │ 'n_rows': -1, │ │ │ │ │ ... +141 │ │ │ │ } │ │ │ │ value = { │ │ │ │ │ 'samples_save': True, │ │ │ │ │ 'samples_format': 'png', │ │ │ │ │ 'samples_filename_pattern': '', │ │ │ │ │ 'save_images_add_number': True, │ │ │ │ │ 'grid_save': True, │ │ │ │ │ 'grid_format': 'png', │ │ │ │ │ 'grid_extended_filename': False, │ │ │ │ │ 'grid_only_if_multiple': True, │ │ │ │ │ 'grid_prevent_empty_spots': False, │ │ │ │ │ 'n_rows': -1, │ │ │ │ │ ... +141 │ │ │ │ } │ │ │ └─────────────────────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────────────────┘ ValidationError: 1 validation error for Options 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。 response -> sd_model_checkpoint value is not None (type=type_error.not_none) API error: GET: http://127.0.0.1:7860/sdapi/v1/options {'error': 'ValidationError', 'detail': '', 'body': '', 'errors': '1 validation error for Options\nresponse -> sd_model_checkpoint\n value is not None (type=type_error.not_none)'} ┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:94 in receive │ │ │ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:89 in receive_nowait │ └─────────────────────────────────────────────────────────────────────────────┘ WouldBlock

During handling of the above exception, another exception occurred:

┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\ │ │ base.py:77 in call_next │ │ │ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:114 in receive │ └─────────────────────────────────────────────────────────────────────────────┘ EndOfStream

jackwiffs commented 1 year ago

undoing last chang to webui.py returned fixed this issue for me. adding back in the following code that was changed from [ Revert "Merge pull request #8651 from vladmandic/flicker" ]

268 for dep in shared.demo.dependencies: 269 dep['show_progress'] = False # disable gradio css animation on component update 270

orlop commented 1 year ago

undoing last chang to webui.py returned fixed this issue for me. adding back in the following code that was changed from [ Revert "Merge pull request #8651 from vladmandic/flicker" ]

268 for dep in shared.demo.dependencies: 269 dep['show_progress'] = False # disable gradio css animation on component update 270

Thank you very much, Jack, this fixed it for me.

Metemperor commented 1 year ago

Damn the same bug reappeared. Last time I tried disabling the built-in extension LoRA and it is then fixed, can't tell if it will work this time. No idea what caused this, probably some compatibility issues between the recently updated webUI and the built-in extensions.

trkgncmg commented 1 year ago

i disable dreambooth and it fixed, then i enable dreambooth again it still ok, dont know why LOLLLLLL

tenabraex commented 1 year ago

i disable dreambooth and it fixed, then i enable dreambooth again it still ok, dont know why LOLLLLLL

haha yeah this matches my testing for the issue, it was extensions causing it, but it wasn't at all consistent WHICH ones.

im not tech enough to know what this does but obviously theres... something https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/9027#issuecomment-1484967629

eliasts commented 1 year ago

For me, removing the sd_web_ui_preset_utils solved the issue.

Edit: It seems a lot more extensions cause problems.

I had to remove also the extensions below to solve the issues:

shift-attention stable-diffusion-webui-anti-burn stable-diffusion-webui-images-browser stable-diffusion-webui-prompt-travel stable-diffusion-webui-sonar

Edit2: More extensions had to be removed. Almost half of my extensions are gone now.

prompt-fusion-extension sd-webui-additional-networks sd-webui-controlnet sd-webui-model-converter sd-webui-multiple-hypernetworks sd-webui-supermerger stable-diffusion-webui-two-shot ultimate-upscale-for-automatic1111 video_loopback_for_webui

Edit3: Changed from Microsoft Edge to Firefox and some extensions are not causing troubles now ...

sullenfish commented 1 year ago

For anyone experiencing this issue using a browser with the Ghostery extension, (Firefox Developer Edition in my case,) directing Ghostery to trust the locally hosted site worked for me. Same for using Ghostery's Firefox-based browser, but with the explicit addition of a wildcard * to respect the port.

OriannaX commented 1 year ago

I didn't do anything just change browser form EDGE dev to CHROME and this bug fixed. hope will help.

catboxanon commented 1 year ago

I personally am not experiencing this issue anymore, but for those who are, a temporary fix is adding this to your user.css file.

[id^="setting_"] > div[style*="position: absolute"] {
    display: none !important;
}
space-nuko commented 1 year ago

Possibly caused by extra networks UI, I had 1000s of LoRAs installed and disabling the built-in LoRA extension fixed it for me

Panchovix commented 1 year ago

I personally am not experiencing this issue anymore, but for those who are, a temporary fix is adding this to your user.css file.

[id^="setting_"] > div[style*="position: absolute"] {
  display: none !important;
}

Thanks, this fixed it! Without disabling any extension.

tenabraex commented 1 year ago

I personally am not experiencing this issue anymore, but for those who are, a temporary fix is adding this to your user.css file.

[id^="setting_"] > div[style*="position: absolute"] {
  display: none !important;
}

cheers, this is working as a temp fix for me

trkgncmg commented 1 year ago

I personally am not experiencing this issue anymore, but for those who are, a temporary fix is adding this to your user.css file.

[id^="setting_"] > div[style*="position: absolute"] {
    display: none !important;
}

cheers, this is working as a temp fix for me

where can i find user.css , i dont see it

catboxanon commented 1 year ago

You can create it in the root directory if it does not exist (same directory that contains webui-user.bat, etc.)

BunnyViking commented 1 year ago

Yeah I had to create it as I didn't have one.

iqubik commented 1 year ago

same problem with increasing timer after update

iqubik commented 1 year ago

I personally am not experiencing this issue anymore, but for those who are, a temporary fix is adding this to your user.css file.

[id^="setting_"] > div[style*="position: absolute"] { 
 display: none !important; 
}

cheers, this is working as a temp fix for me

where can i find user.css , i dont see it

Its work for me. Thank you!

VFX-SENSEI commented 1 year ago

You can create it in the root directory if it does not exist (same directory that contains webui-user.bat, etc.)

Worked for me thanks bro, also didn't have the file had to create one

vasvaril commented 1 year ago

For me, removing the sd_web_ui_preset_utils solved the issue.

Where can I find this and how can I remove extensions without running the webui?

MrKuenning commented 1 year ago

For me, removing the sd_web_ui_preset_utils solved the issue.

Where can I find this and how can I remove extensions without running the webui?

How to disable or remove an extension.

You can disable an extension by unchecking it in the webUI,

You can REMOVE an extension by navagating to the Automatic1111-WebUI / Extensions ``` and deleing the extension you want to remove.

In my case its E:\AI\A1111\Extensions and I would delete the folder called "sd_web_ui_preset_utils"

However

I don't think that is the fix for the settings bug. For me of the 20 extensions I had running about 6 of them triggered the settings loading bug. The workaround of adding

[id^="setting_"] > div[style*="position: absolute"] {
    display: none !important;
}

to a user.css file located in the webUI root folder allowed me to continue using all of my extensions.

leon0707 commented 1 year ago

same as

E:\Soft\stable-diffusion-webui\venv\lib\site-packages\fastapi\routing.py:13 │ │ 9 in serializeresponse │ │ │ │ 138 │ │ if errors: │ │ > 139 │ │ │ raise ValidationError(errors, field.type) │ │ 140 │ │ return jsonable_encoder( │ │ │ │ ┌──────────────────────────────── locals ─────────────────────────────────┐ │ │ │ by_alias = True │ │ │ │ errors = [ │ │ │ │ │ ErrorWrapper( │ │ │ │ │ │ exc=ValidationError( │ │ │ │ │ │ │ model='Options', │ │ │ │ │ │ │ errors=[ │ │ │ │ │ │ │ │ { │ │ │ │ │ │ │ │ │ 'loc': ( │ │ │ │ │ │ │ │ │ │ 'sd_model_checkpoint', │ │ │ │ │ │ │ │ │ ), │ │ │ │ │ │ │ │ │ 'msg': 'value is not None', │ │ │ │ │ │ │ │ │ 'type': 'type_error.notnone' │ │ │ │ │ │ │ │ } │ │ │ │ │ │ │ ] │ │ │ │ │ │ ), │ │ │ │ │ │ loc=('response',) │ │ │ │ │ ) │ │ │ │ ] │ │ │ │ errors = ErrorWrapper( │ │ │ │ │ exc=ValidationError( │ │ │ │ │ │ model='Options', │ │ │ │ │ │ errors=[ │ │ │ │ │ │ │ { │ │ │ │ │ │ │ │ 'loc': ('sd_model_checkpoint',), │ │ │ │ │ │ │ │ 'msg': 'value is not None', │ │ │ │ │ │ │ │ 'type': 'type_error.not_none' │ │ │ │ │ │ │ } │ │ │ │ │ │ ] │ │ │ │ │ ), │ │ │ │ │ loc=('response',) │ │ │ │ ) │ │ │ │ exclude = None │ │ │ │ exclude_defaults = False │ │ │ │ exclude_none = False │ │ │ │ exclude_unset = False │ │ │ │ field = ModelField( │ │ │ │ │ name='Response_get_config_sdapi_v1_options_get', │ │ │ │ │ type=Options, │ │ │ │ │ required=True │ │ │ │ ) │ │ │ │ include = None │ │ │ │ is_coroutine = False │ │ │ │ response_content = { │ │ │ │ │ 'samples_save': True, │ │ │ │ │ 'samples_format': 'png', │ │ │ │ │ 'samples_filename_pattern': '', │ │ │ │ │ 'save_images_add_number': True, │ │ │ │ │ 'grid_save': True, │ │ │ │ │ 'grid_format': 'png', │ │ │ │ │ 'grid_extended_filename': False, │ │ │ │ │ 'grid_only_if_multiple': True, │ │ │ │ │ 'grid_prevent_empty_spots': False, │ │ │ │ │ 'n_rows': -1, │ │ │ │ │ ... +141 │ │ │ │ } │ │ │ │ value = { │ │ │ │ │ 'samples_save': True, │ │ │ │ │ 'samples_format': 'png', │ │ │ │ │ 'samples_filename_pattern': '', │ │ │ │ │ 'save_images_add_number': True, │ │ │ │ │ 'grid_save': True, │ │ │ │ │ 'grid_format': 'png', │ │ │ │ │ 'grid_extended_filename': False, │ │ │ │ │ 'grid_only_if_multiple': True, │ │ │ │ │ 'grid_prevent_empty_spots': False, │ │ │ │ │ 'n_rows': -1, │ │ │ │ │ ... +141 │ │ │ │ } │ │ │ └─────────────────────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────────────────┘ ValidationError: 1 validation error for Options 提示:Python 运行时抛出了一个异常。请检查疑难解答页面。 response -> sd_model_checkpoint value is not None (type=type_error.not_none) API error: GET: http://127.0.0.1:7860/sdapi/v1/options {'error': 'ValidationError', 'detail': '', 'body': '', 'errors': '1 validation error for Options\nresponse -> sd_model_checkpoint\n value is not None (type=type_error.not_none)'} ┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:94 in receive │ │ │ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:89 in receive_nowait │ └─────────────────────────────────────────────────────────────────────────────┘ WouldBlock

During handling of the above exception, another exception occurred:

┌───────────────────── Traceback (most recent call last) ─────────────────────┐ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\ │ │ base.py:77 in call_next │ │ │ │ E:\Soft\stable-diffusion-webui\venv\lib\site-packages\anyio\streams\memory. │ │ py:114 in receive │ └─────────────────────────────────────────────────────────────────────────────┘ EndOfStream

Hi, I got the error "sd_model_checkpoint stable-diffusion-webui value is not None (type=type_error.not_none)" too. Any fix for it?