Nevysha / Cozy-Nest

A collection of tweak to improve Auto1111 UI//UX
Other
381 stars 17 forks source link

[Issue]: SD Next loadding error #182

Closed rityak closed 1 year ago

rityak commented 1 year ago

What happened?

When downloading, an error pops up: Error There was an error while loading Cozy Nest. Ui will fallback to default.

Webui

SD.Next (Vlad's fork webui)

What browsers are you seeing the problem on?

Chrome

Additional info

SD Next is almost clean, freshly installed, I only theme, from the lists, and put canvas zoom, tried to disable it, put the default theme.

Relevant browser log output

to load resource: the server responded with a status of 404 (Not Found)
contextMenus.js?1689287259.199486:67 initContextMenu
imageViewer.js?1689287259.2017548:220 initImageViewer
generationParams.js?1689287259.2007527:36 initGenerationParams
logMonitor.js?1689287259.2017548:55 initLogMonitor
civitai_helper.js?1689294637.2732954:337 gradio_ver:null
script.js?1689287259.2047575:50 error running callback () => {

    //get gradio version
    let gradio_ver = ch_gradio_version();
    console.log("gradio_ver:" + gradio_ver);

    // get all extra network tabs
    let tab_prefix_list = ["txt2img"… : ReferenceError: get_uiCurrentTabContent is not defined
    at getActiveTabType (civitai_helper.js?1689294637.2732954:105:24)
    at update_card_for_civitai (civitai_helper.js?1689294637.2732954:420:31)
    at civitai_helper.js?1689294637.2732954:722:5
    at executeCallbacks (script.js?1689287259.2047575:48:7)
    at MutationObserver.<anonymous> (script.js?1689287259.2047575:66:7)
executeCallbacks @ script.js?1689287259.2047575:50
ui.js?1689287259.2057586:579 reconnectUI
ui.js?1689287259.2057586:298 sortUIElements
index.js?t=1689297609696:586 Failed to init Cozy Nest ReferenceError: get_uiCurrentTabContent is not defined
    at Eq (index.js?t=1689297609696:586:7781)
    at rb (index.js?t=1689297609696:586:5145)
    at index.js?t=1689297609696:586:9830
    at new Promise (<anonymous>)
    at Tq (index.js?t=1689297609696:586:9814)
    at async tne (index.js?t=1689297609696:1936:31126)
rb @ index.js?t=1689297609696:586
index.js?t=1689297609696:143 CozyNest: ERROR loading CozyNest.
error @ index.js?t=1689297609696:143
setHints.js?1689287259.2047575:85 setHints Object

Relevant log output from the webui

Using VENV: D:\Soft\automatic\venv
04:24:17-312998 INFO     Starting SD.Next
04:24:17-318002 INFO     Python 3.10.6 on Windows
04:24:17-356037 INFO     Version: 558b71f0 Fri Jul 14 02:21:52 2023 +0300
04:24:17-970556 INFO     nVidia CUDA toolkit detected
04:24:19-821229 INFO     Torch 2.0.1+cu118
04:24:19-841333 INFO     Torch backend: nVidia CUDA 11.8 cuDNN 8700
04:24:19-844333 INFO     Torch detected GPU: NVIDIA GeForce GTX 1050 VRAM 2048 Arch (6, 1) Cores 5
04:24:19-972433 INFO     Disabled extensions-builtin: ['canvas-zoom']
04:24:19-974435 INFO     Enabled extensions-builtin: ['a1111-sd-webui-lycoris', 'clip-interrogator-ext', 'LDSR', 'Lora',
                         'multidiffusion-upscaler-for-automatic1111', 'ScuNET', 'sd-dynamic-thresholding',
                         'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sd-webui-controlnet',
                         'stable-diffusion-webui-images-browser', 'stable-diffusion-webui-rembg', 'SwinIR']
04:24:19-982442 INFO     Disabled extensions: ['canvas-zoom']
04:24:19-983444 INFO     Enabled extensions: ['a1111-sd-webui-tagcomplete', 'Cozy-Nest',
                         'Stable-Diffusion-Webui-Civitai-Helper']
04:24:19-987447 INFO     No changes detected: Quick launch active
04:24:19-992451 INFO     Extension preload: 0.0s D:\Soft\automatic\extensions-builtin
04:24:19-994453 INFO     Extension preload: 0.0s D:\Soft\automatic\extensions
04:24:20-010468 INFO     Server arguments: ['--lowvram', '--use-cuda', '--models-dir=D:\\Soft\\Stable_Diffusion_Data',
                         '--lyco-dir=D:\\\\Soft\\\\Stable_Diffusion_Data\\\\LyCORIS', '--cozy-nest-debug']
04:24:26-781579 INFO     Pipeline: Backend.ORIGINAL
04:24:27-493553 INFO     Libraries loaded
04:24:27-495552 INFO     Using data path: D:\Soft\automatic
04:24:27-505564 INFO     Available VAEs: D:\Soft\Stable_Diffusion_Data\VAE 9
04:24:27-563614 INFO     Available models: D:\Soft\Stable_Diffusion_Data\Stable-diffusion\Stable-diffusion 73
04:24:31-329564 INFO     ControlNet v1.1.232
ControlNet v1.1.232
ControlNet preprocessor location: D:\Soft\automatic\extensions-builtin\sd-webui-controlnet\annotator\downloads
04:24:31-574783 INFO     ControlNet v1.1.232
ControlNet v1.1.232
Image Browser: ImageReward is not installed, cannot be used.
Civitai Helper: Get Custom Model Folder
Civitai Helper: Load setting from: D:\Soft\automatic\extensions\Stable-Diffusion-Webui-Civitai-Helper\setting.json
Civitai Helper: No setting file, use default
04:24:33-600294 INFO     Loading UI theme: name=gradio/default style=Auto
04:24:33-695382 INFO     Extra network created thumbnails: checkpoints 0
04:24:33-882562 INFO     Extra network created thumbnails: lora 0
04:24:33-892148 INFO     Extra network created thumbnails: textual inversion 0
04:24:35-148744 INFO     [CozyNest] version: 2.4.3 on sd.next
04:24:35-151270 INFO     [CozyNest] CozyNest: Image browser is disabled. To enable it, go to the CozyNest settings.
Running on local URL:  http://127.0.0.1:7860
04:24:36-893411 INFO     Local URL: http://127.0.0.1:7860/
04:24:36-894403 INFO     Initializing middleware
04:24:37-091591 INFO     [AgentScheduler] Task queue is empty
04:24:37-093584 INFO     [AgentScheduler] Registering APIs
Loading weights: D:\Soft\Stable_Diffusion_Data\Stable-diffusion\SomethingV2_2.safetensors ━━━━━━━━━━━ 0.0/2.1 GB -:--:--
04:24:37-833585 INFO     Setting Torch parameters: dtype=torch.float16 vae=torch.float16 unet=torch.float16
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
04:24:39-928490 INFO     Applying xformers cross attention optimization
04:24:39-966523 INFO     Embeddings: loaded=29 skipped=0
04:24:39-977534 INFO     Model loaded in 2.4s (load=0.2s config=0.1s create=0.6s apply=0.7s vae=0.8s)
04:24:40-317844 INFO     Model load finished: {'ram': {'used': 5.04, 'total': 15.95}, 'gpu': {'used': 0.41, 'total':
                         2.0}, 'retries': 0, 'oom': 0} cached=0
04:24:40-776261 INFO     Startup time: 20.8s (torch=4.5s gradio=0.9s libraries=2.1s models=0.1s codeformer=0.1s
                         scripts=5.7s onchange=0.3s ui-txt2img=0.4s ui-img2img=0.1s ui-settings=0.1s ui-extensions=2.2s
                         ui-defaults=0.1s launch=0.3s app-started=0.4s checkpoint=3.5s)

Checklist

Nevysha commented 1 year ago

SD Next compatibily is on standby for latest SD.Next version. But I'm in talk with Vlado for a better and deeper integration in SD.Next