Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Fix UI loading hack #197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix UI loading hack #197

wants to merge 1 commit into from

Conversation

TGrade
Copy link

@TGrade TGrade commented Jan 30, 2024

Fixes an error
"Cannot read properties of undefined (reading 'querySelectorAll')" During loading process.

I don't know how it was before 1.6.x update, but currently there is only 1 element returned by the selector. Taking 0 one seems to be fixes the issue.


Generation works, but there is an error in console while loading networks

ERROR:    Exception in ASGI application
OverflowError: int too big to convert
TypeError: Integer exceeds 64-bit range

This error happens when it tries to load data using this url: http://127.0.0.1:7860/cozy-nest/extra_networks/full
Not sure about this one. Probably some api change?

Fixes an error
"Cannot read properties of undefined (reading 'querySelectorAll')"
During loading process.
@TGrade
Copy link
Author

TGrade commented Jan 30, 2024

Ok nvm. Networks error was due to some metadata having a number 2 times bigger than int 64 like stated in this comment
#188 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant