chflame163 / ComfyUI_LayerStyle

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

it is broken after last update #109

Closed amir84ferdos closed 4 months ago

amir84ferdos commented 4 months ago

😺dzNodes: LayerStyle -> Cannot import name 'guidedFilter' from 'cv2.ximgproc'

A few nodes cannot works properly, while most nodes are not affected. Please REINSTALL package 'opencv-contrib-python'. For detail refer to https://github.com/chflame163/ComfyUI_LayerStyle/issues/5

😺dzNodes: LayerStyle -> Warning: D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\resource_dir.ini not found, default directory to be used.

😺dzNodes: LayerStyle -> Find 1 LUTs in D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\lut

😺dzNodes: LayerStyle -> Find 1 Fonts in D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\font

Traceback (most recent call last): File "D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 1879, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle__init.py", line 60, in imported_module = importlib.import_module(".py.{}".format(name), name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "importlib\init__.py", line 126, in import_module File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\loadpsd.py", line 8, in from psd_tools import PSDImage ModuleNotFoundError: No module named 'psd_tools'

Cannot import D:\Swarm2\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_LayerStyle module for custom nodes: No module named 'psd_tools'

chflame163 commented 4 months ago

Please install the new dependency package introduced by the new node.

amir84ferdos commented 4 months ago

I test this solution: https://github.com/chflame163/ComfyUI_LayerStyle#:~:text=For%20the%20issues%20with%20the%20above%20three%20dependency%20packages%2C%20please%20double%20click%20repair_dependency.bat%20(for%20Official%20ComfyUI%20Protable)%20or%20repair_dependency_aki.bat%20(for%20ComfyUI%2Daki%2Dv1.x)%20in%20the%20plugin%20folder%20to%20automatically%20fix%20them.

but still, it is not working :(

MaraScott commented 4 months ago

this works https://github.com/chflame163/ComfyUI_LayerStyle/issues/113#issuecomment-2141182990

amir84ferdos commented 4 months ago

yes it is worked