chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.08k stars 56 forks source link

If Node is broken after ComfyUi update #215

Open KINGLIFER opened 3 weeks ago

KINGLIFER commented 3 weeks ago

Please advise

chflame163 commented 3 weeks ago

Provide more information

KINGLIFER commented 3 weeks ago

It is red in comfyui. I can not give much more than that. Seems to have happened after the update. Just see if you can drag the if node unto comfy as it is now.

chflame163 commented 3 weeks ago

Send comfyui.log here

KINGLIFER commented 3 weeks ago

I am not on the computer. The error happend with another user and it was a type mismatch happening: Return type mismatch between linked nodes: a, INT != INT,FLOAT Return type mismatch between linked nodes: b, FLOAT != INT,FLOAT

TonalDesigns commented 3 weeks ago

comfyui.log

I've ran into the same issue, hope this helps. (Although I likely have other issues popping up in the log due to the fact I've installed a few too many custom nodes while testing workflows)

chflame163 commented 3 weeks ago

I've ran into the same issue, hope this helps. (Although I likely have other issues popping up in the log due to the fact I've installed a few too many custom nodes while testing workflows)

You are missing insightface and xformers, which caused a plugin to fail to load. Other plugins, including LayerStyle, have been loaded normally. I noticed an import error with guideFilter, which indicates that the opencv-contrib-python dependency package may not have been installed correctly. Please follow the instructions here to reinstall opencv-contrib-python in your C:\Users\USER\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\Scripts\ environment

TonalDesigns commented 3 weeks ago

I've ran into the same issue, hope this helps. (Although I likely have other issues popping up in the log due to the fact I've installed a few too many custom nodes while testing workflows)

You are missing insightface and xformers, which caused a plugin to fail to load. Other plugins, including LayerStyle, have been loaded normally. I noticed an import error with guideFilter, which indicates that the opencv-contrib-python dependency package may not have been installed correctly. Please follow the instructions here to reinstall opencv-contrib-python in your C:\Users\USER\AppData\Roaming\StabilityMatrix\Packages\ComfyUI\venv\Scripts\ environment

Unfortunately reinstalling opencv-contrib-python doesn't seem to help at the moment. I had tried that prior to uploading my ini file. I also attempted a fresh install as it would have far less issues with bloated nodes (Only installed nodes for the workflow I've been using most).

The fresh install did remove the insightface and xformers not to show, but even with fresh installs of the python library (making sure opencv-contrib-python was last) did not help at the moment.

The issue may be in part due to the fact I install with Stability Matrix, the type of install and paths being slightly different.

TonalDesigns commented 3 weeks ago

An install of the ComfyUI Portable version seems to work fine, a little annoying as I love the ease-of-use offered by stabilityai, I'll need to wait to see if they resolve it (assuming the issue is even on their end.) Thanks for the help