ComfyUI Installation broken on Microsoft Store version of Krita
Great plugin! Thanks for the awesome work!
I recently did tech support for artist friend. She has Krita from the Microsoft Store on Windows 11, as a way to support the project. The plugin installed normally, but the local ComfyUI installation would fail.
Appologies that the error messages are from memory, but they're probably not important: Simply clicking Install would very quickly produce a short Python import error. I tried installing to a plain directory outside of %AppData% and installation would proceed for about 10 seconds (IIRC it installed torch) until it tried to read server_requirements.txt from the default krita AppData directory and it would be missing.
The important insight is that it appeared that only the Krita app could see the contents of its %AppData% directory. I could see the contents through the open dialog box, but not in the file explorer or command line. My Windows knowledge is very rusty, but it appears like the Windows Store app has some built-in isolation that is preventing the installation script from reading the files it needs.
WORKAROUND
Download the portable version of Krita. Close the MS Store app, open the portable and install the plugin there. It appears that they share the same %AppData%, but the portable version is able to actually read the contents and install properly. After installation finishes the portable can be deleted. The MS Store version can now operate the local ComfyUI as normal. I was able to add the Flux model manually, so I hope updates will continue to work.
I've been seeing this with Steam also, best work around I've had just to uninstall steam's version and download the official version direct from Krita.
I've been seeing this with Steam also, best work around I've had just to uninstall steam's version and download the official version direct from Krita.
It looks like the non-store version is only needed for the ai-diffusion plugin install. That can be done with the portable Krita install, so no need to change installs.
This way you keep the auto updates of the store version.