Nevysha / Cozy-Nest

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

[Issue]: Cozy Nest freeze after latest SD.Next update #154

Closed Rogal80 closed 1 year ago

Rogal80 commented 1 year ago

What happened?

Hi, basically after the newest update, can't run Cozy-Nest – it's just frozen (loading infinity). there is no error in cmd in terms of Cozy Nest

Right now works for me at this revision Version: 5808b7a6 Sat Jun 17 08:13:19 2023 – SD. Next .

Webui

Vlad's fork webui (SD.Next)

What browsers are you seeing the problem on?

Firefox

Additional info

A bug happened!

Relevant browser log output

No response

Relevant log output from the webui

No response

Checklist

jiemel commented 1 year ago

Same issue here... loads until 99% then freezes

Nevysha commented 1 year ago

I'll have to take a look on latest commit of sd next :( . I'm mainly using a1111.

Ulf3000 commented 1 year ago

I have the same problem on A1111 .. stops loading at 49% sometimes 59%. started after i installed the kandinsky addon

Raivshard commented 1 year ago

same issue here on sd.next

how do we revert to the last commit that worked fine?

Note: the only reason I updated to the latest sd.next is because the cozy extra networks browser stopped working -- the panel popped out, but nothing loaded. It was working fine last week and I explicitly did not update vlad during that period. Everything but cozy worked fine. I clear the cache every time I exit the webUI, so that is also not the issue.

To be sure, I next installed vlad completely fresh and installed my extensions via the extensions tab, rather than copying them. webUI has been completely closed and started fresh, not just a server restart. Problem persists.

Edit: I deleted my nevyui_settings.json and refreshed the page. Cozy sort of started after that. "Sort of", as in the entire right side panel is missing as well as all scrollbars. No preview area, no extra networks, nothing. This includes the settings button. restarting the server did not change this. This is repeatable. Restoring the settings file and refreshing the page again has no effect. restarting the server or competely shutting down and starting up the webUI run into the infinite loading screen.

Raivshard commented 1 year ago

Reverted 2.24 and Started the webui the UI starts in the same half-baked manner as above., but also reports an error:

20:10:14-344199 ERROR    executing callback: F:\automatic\extensions\Cozy-Nest\scripts\nevysha_cozy_nest.py
                         ui_tabs_callback: JSONDecodeError
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ F:\automatic\modules\script_callbacks.py:161 in ui_tabs_callback                                                    │
│                                                                                                                     │
│   160 │   │   │   t0 = time.time()                                                                                  │
│ > 161 │   │   │   res += c.callback() or []                                                                         │
│   162 │   │   │   timer(t0, c.script, 'ui_tabs')                                                                    │
│                                                                                                                     │
│ F:\automatic\extensions\Cozy-Nest\scripts\nevysha_cozy_nest.py:283 in on_ui_tabs                                    │
│                                                                                                                     │
│   282 │   # shared options                                                                                          │
│ > 283 │   config = get_dict_from_config()                                                                           │
│   284 │   # merge default settings with user settings                                                               │
│                                                                                                                     │
│                                               ... 2 frames hidden ...                                               │
│                                                                                                                     │
│ C:\Users\cscor\AppData\Local\Programs\Python\Python310\lib\json\decoder.py:337 in decode                            │
│                                                                                                                     │
│   336 │   │   """                                                                                                   │
│ > 337 │   │   obj, end = self.raw_decode(s, idx=_w(s, 0).end())                                                     │
│   338 │   │   end = _w(s, end).end()                                                                                │
│                                                                                                                     │
│ C:\Users\cscor\AppData\Local\Programs\Python\Python310\lib\json\decoder.py:355 in raw_decode                        │
│                                                                                                                     │
│   354 │   │   except StopIteration as err:                                                                          │
│ > 355 │   │   │   raise JSONDecodeError("Expecting value", s, err.value) from None                                  │
│   356 │   │   return obj, end                                                                                       │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
JSONDecodeError: Expecting value: line 3 column 29 (char 62)
Raivshard commented 1 year ago

Reverted 2.23 and Started the webui (reverted from an up to date copy of 2.24) no errors, but infinite loading screen

reverted both same problem

something is interacting with the recent changes in sd.next. Vlad has been making UI changes, so you might want to talk to him directly

Nevysha commented 1 year ago

I'm working on fixing bug with Cozy on latest sd next atm. That the last things I have to do before releasing 2.3.0

Nevysha commented 1 year ago

I'm dropping support for sd next atm... I'm sorry but that's too much work for me :/ a1111 and sd next app structure diverge too much.

Ulf3000 commented 1 year ago

I'm dropping support for sd next atm... I'm sorry but that's too much work for me :/ a1111 and sd next app structure diverge too much.

the same thing happens in a1111 for me though , since there are no debug and error messages i dont know whats happening , cozy nest just hangs