AUTOMATIC1111 / stable-diffusion-webui

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

[Bug]: Cant save settings #8510

Closed Rogal80 closed 1 year ago

Rogal80 commented 1 year ago

Is there an existing issue for this?

What happened?

Hi, after last update, I can't save settings – errors appear in cmd

Steps to reproduce the problem

  1. in user interface add tabs to hide and save
  2. Error completing request Arguments: (True, 'png', '', True, True, 'jpg', False, True, False, -1, True, False, False, False, False, 100, False, False, 4.0, 4000.0, 200.0, False, False, True, False, '', False, '', 'outputs/txt2img-images', 'outputs/img2img-images', 'outputs/extras-images', '', 'outputs/txt2img-grids', 'outputs/img2img-grids', 'outputs/Favorites', True, False, True, '', 20, 192, 12, ['R-ESRGAN 4x+'], None, 50, True, 192, 12, None, 0.5, True, False, 8, False, True, False, True, False, True, True, '', ' ', 1, 500.0, True, False, False, 120.0, None, 0, 1, None, False, None, None, None, True, '#000000', False, True, True, 20, None, False, False, False, False, False, True, False, None, 20, 48, 4000.0, ['focal-length', 'genre', 'noun-fantasy', 'noun-horror', 'adjectivesBeautyPlus', 'hd', 'movements', 'mediums', 'photography', 'noun-beauty', 'noun-general', 'photo-term', 'pop-culture', 'adjectivesBeauty', 'camera', 'anoun-general', 'adjectives', 'occupation', 'anoun-beauty', 'non-architecture', 'fantasy-setting', 'details-hdB', 'anewnoun', 'technique', 'location', 'games'], 0.5, True, False, False, '', 'cards', None, ' ', 'None', None, False, True, False, True, True, None, True, True, '', True, True, True, True, True, 0.1, 0.05, 'sd_model_checkpoint,rem ddim_discretize,rem_sd_hypernetwork,rem_sd_hypernetwork_strength,rem_use_scale_latent_for_hires_fix,rem ldsr_steps,face_restoration_model,inpainting_mask_weight,sd_vae,CLIP_stop_at_last_layers,img2img_color_correction,initial_noise_multiplier, interrogate_clip_num_beams,rem img2img_background_color,eta_noise_seed_delta,disable_weights_auto_swap,show_progress_every_n_steps,upscaler_for_img2img,rem_interrogate_clip_skip_categories, sd_lora, extra_networks_default_multiplier', ['Checkpoint Merger', 'Prompt Translator', 'Civitai Helper', 'CSS App', 'Additional Networks', 'Wildcards Manager'], 'sampler, dimensions, cfg, seed, checkboxes, hires_fix, batch, scripts', '', 'None', True, False, True, True, None, 'Full', 'Prompt', 1000.0, ['LMS', 'DPM++ 2M', 'DPM fast', 'DPM adaptive', 'DPM2 Karras', 'DPM2 a Karras', 'PLMS', 'DPM2', 'Euler', 'DPM2 a', 'DPM++ SDE', 'Heun', 'DPM++ 2S a'], 0, 1, 'uniform', 0, 0, 1, None, False, 'bh1', 'time_uniform', 3, True, [], [], 5, None, None, 'outputs/ip2p-images', '1.5', '7.5', '20', '0', '1', 'outputs/ip2p-batch', 5.0, 3.0, 'danbooru.csv', True, True, True, True, True, '', 'Blacklist', True, 30.0, False, 4000.0, 100.0, True, True, True, True, False, True, False, True, True, False, 'None', False, True, 'None', 'Insert before', False, 'extensions/ddetailer/outputs/masks-previews', False, 'extensions/ddetailer/outputs/masks', 'gray', '#ffffff', '384', '704', False, True, False, 'I:\Github\new_webui\stable-diffusion-webui\models\Lora', 'name', False, '', '', 1.0, True, False, 'disabled', 20.0, 20.0, 'I:\Github\new_webui\stable-diffusion-webui\extensions\sd-webui-controlnet\models\cldm_v15.yaml', 'I:\Github\new_webui\stable-diffusion-webui\extensions\sd-webui-controlnet\models\sketch_adapter_v14.yaml', 'I:\Github\new_webui\stable-diffusion-webui\extensions\sd-webui-controlnet\detected_maps', '', 4, 3, False, False, False, True, True, False, True, False, False, 1600.0, 'txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others', [], True, True, False, True, True, False, False, False, True, False, False, True, False, 6.0, 4.0, 20.0, 10, 4, 6, '', 'gpu', False, True, False, False, '{', '}', '', False) {} Traceback (most recent call last): File "I:\Github\new_webui\stable-diffusion-webui\modules\call_queue.py", line 56, in f res = list(func(*args, **kwargs)) File "I:\Github\new_webui\stable-diffusion-webui\modules\ui.py", line 1414, in run_settings assert comp == dummy_component or opts.same_type(value, opts.data_labels[key].default), f"Bad value for setting {key}: {value}; expecting {type(opts.data_labels[key].default).name__}" AssertionError: Bad value for setting threeDmodel_canvas_width: 384; expecting int

What should have happened?

save settings

Commit where the problem happens

94ffa9fc5386e51f20692ab46906135e8de33110

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--opt-sub-quad-attention --opt-channelslast --opt-split-attention --xformers --api --listen --enable-insecure-extension-access --disable-nan-check --no-half-vae --no-half-controlnet

List of extensions

image

Console logs

Error completing request
Arguments: (True, 'png', '', True, True, 'jpg', False, True, False, -1, True, False, False, False, False, 100, False, False, 4.0, 4000.0, 200.0, False, False, True, False, '', False, '', 'outputs/txt2img-images', 'outputs/img2img-images', 'outputs/extras-images', '', 'outputs/txt2img-grids', 'outputs/img2img-grids', 'outputs/Favorites', True, False, True, '', 20, 192, 12, ['R-ESRGAN 4x+'], None, 50, True, 192, 12, None, 0.5, True, False, 8, False, True, False, True, False, True, True, '', ' ', 1, 500.0, True, False, False, 120.0, None, 0, 1, None, False, None, None, None, True, '#000000', False, True, True, 20, None, False, False, False, False, False, True, False, None, 20, 48, 4000.0, ['focal-length', 'genre', 'noun-fantasy', 'noun-horror', 'adjectivesBeautyPlus', 'hd', 'movements', 'mediums', 'photography', 'noun-beauty', 'noun-general', 'photo-term', 'pop-culture', 'adjectivesBeauty', 'camera', 'anoun-general', 'adjectives', 'occupation', 'anoun-beauty', 'non-architecture', 'fantasy-setting', 'details-hdB', 'anewnoun', 'technique', 'location', 'games'], 0.5, True, False, False, '', 'cards', None, ' ', 'None', None, False, True, False, True, True, None, True, True, '', True, True, True, True, True, 0.1, 0.05, 'sd_model_checkpoint,rem ddim_discretize,rem_sd_hypernetwork,rem_sd_hypernetwork_strength,rem_use_scale_latent_for_hires_fix,rem ldsr_steps,face_restoration_model,inpainting_mask_weight,sd_vae,CLIP_stop_at_last_layers,img2img_color_correction,initial_noise_multiplier, interrogate_clip_num_beams,rem img2img_background_color,eta_noise_seed_delta,disable_weights_auto_swap,show_progress_every_n_steps,upscaler_for_img2img,rem_interrogate_clip_skip_categories, sd_lora, extra_networks_default_multiplier', ['Checkpoint Merger', 'Prompt Translator', 'Civitai Helper', 'CSS App', 'Additional Networks', 'Wildcards Manager'], 'sampler, dimensions, cfg, seed, checkboxes, hires_fix, batch, scripts', '', 'None', True, False, True, True, None, 'Full', 'Prompt', 1000.0, ['LMS', 'DPM++ 2M', 'DPM fast', 'DPM adaptive', 'DPM2 Karras', 'DPM2 a Karras', 'PLMS', 'DPM2', 'Euler', 'DPM2 a', 'DPM++ SDE', 'Heun', 'DPM++ 2S a'], 0, 1, 'uniform', 0, 0, 1, None, False, 'bh1', 'time_uniform', 3, True, [], [], 5, None, None, 'outputs/ip2p-images', '1.5', '7.5', '20', '0', '1', 'outputs/ip2p-batch', 5.0, 3.0, 'danbooru.csv', True, True, True, True, True, '', 'Blacklist', True, 30.0, False, 4000.0, 100.0, True, True, True, True, False, True, False, True, True, False, 'None', False, True, 'None', 'Insert before', False, 'extensions/ddetailer/outputs/masks-previews', False, 'extensions/ddetailer/outputs/masks', 'gray', '#ffffff', '384', '704', False, True, False, 'I:\\Github\\new_webui\\stable-diffusion-webui\\models\\Lora', 'name', False, '', '', 1.0, True, False, 'disabled', 20.0, 20.0, 'I:\\Github\\new_webui\\stable-diffusion-webui\\extensions\\sd-webui-controlnet\\models\\cldm_v15.yaml', 'I:\\Github\\new_webui\\stable-diffusion-webui\\extensions\\sd-webui-controlnet\\models\\sketch_adapter_v14.yaml', 'I:\\Github\\new_webui\\stable-diffusion-webui\\extensions\\sd-webui-controlnet\\detected_maps', '', 4, 3, False, False, False, True, True, False, True, False, False, 1600.0, 'txt2img, img2img, txt2img-grids, img2img-grids, Extras, Favorites, Others', [], True, True, False, True, True, False, False, False, True, False, False, True, False, 6.0, 4.0, 20.0, 10, 4, 6, '', 'gpu', False, True, False, False, '{', '}', '__', False) {}
Traceback (most recent call last):
  File "I:\Github\new_webui\stable-diffusion-webui\modules\call_queue.py", line 56, in f
    res = list(func(*args, **kwargs))
  File "I:\Github\new_webui\stable-diffusion-webui\modules\ui.py", line 1414, in run_settings
    assert comp == dummy_component or opts.same_type(value, opts.data_labels[key].default), f"Bad value for setting {key}: {value}; expecting {type(opts.data_labels[key].default).__name__}"
AssertionError: Bad value for setting threeDmodel_canvas_width: 384; expecting int

Additional information

No response

Rogal80 commented 1 year ago

found it in 3d model loader - fixed

aynader commented 1 year ago

I have a similar error, could you give more details for the solution?