Closed ostap667inbox closed 1 year ago
RuntimeError: Directory 'C:\stable-diffusion-webui\extensions\Cozy-Nest/client/' does not exist
There seems to be an error in nevysha_cozy_nest.py:
def cozy_nest_api(_: Any, app: FastAPI, **kwargs):
app.mount(
"/cozy-nest-client/",
StaticFiles(directory=f"{cwd}/client/"),
name="cozy-nest-client",
)
It probably should be
def cozy_nest_api(_: Any, app: FastAPI, **kwargs):
app.mount(
"/cozy-nest-client/",
StaticFiles(directory=f"{cwd}/cozy-nest-client/"),
name="cozy-nest-client",
)
but it doesn't work for me anyway, even if error disappears. I don't know what else could it be.
If you look at the last commit you can see that the client folder was completely deleted. Instead a new folder 'static' was introduced. Apparently something got mixed up :) I downloaded the zip of version 2.4.3, emptied the Cozy-Nest folder and copied the content of the zip into it. Now it works again.
Wait for the correction with the next update.
By the way: Thank you for the great work!
Same issue, rollback to 2.4.3 worked, thanks for that suggestion @oracle-jones!
My solution is to create folder "client" under Cozy-Nest. Then I copy all the files/directories from "cozy-nest-client" to "client". So far it works.
I broke the build cycle in latest update. I just pushed a fix. It should be fixed if you update now, sorry for that
What happened?
A bug happened!
Webui
Automatic1111's webui
What browsers are you seeing the problem on?
Chrome
Additional info
Relevant browser log output
No response
Relevant log output from the webui
No response
Checklist