ltdrdata / ComfyUI-Workflow-Component

This is a side project to experiment with using workflows as components.
GNU General Public License v3.0
197 stars 10 forks source link

Conflicts with ComfyUI-Allor #7

Closed rickcx closed 11 months ago

rickcx commented 11 months ago

After installing ComfyUI-Workflow-Component, the following error occurs.

Traceback (most recent call last): File "/home/bob/ComfyUI/nodes.py", line 1516, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/bob/ComfyUI/custom_nodes/ComfyUI-Allor/init.py", line 8, in loader.setup_override() File "/home/bob/ComfyUI/custom_nodes/ComfyUI-Allor/Loader.py", line 51, in setup_override override_nodes_len += override(lambda item: not item[1].CATEGORY.startswith("image/postprocessing")) File "/home/bob/ComfyUI/custom_nodes/ComfyUI-Allor/Loader.py", line 44, in override nodes.NODE_CLASS_MAPPINGS = dict( File "/home/bob/ComfyUI/custom_nodes/ComfyUI-Allor/Loader.py", line 51, in override_nodes_len += override(lambda item: not item[1].CATEGORY.startswith("image/postprocessing")) AttributeError: type object 'ExecutionSwitch' has no attribute 'CATEGORY'

Cannot import /home/bob/ComfyUI/custom_nodes/ComfyUI-Allor module for custom nodes: type object 'ExecutionSwitch' has no attribute 'CATEGORY'

0.0 seconds (IMPORT FAILED): /home/bob/ComfyUI/custom_nodes/ComfyUI-Allor

After I removed ComfyUI-Workflow-Component, the error no longer occurs and ComfyUI-Allor can be loaded correctly.

ltdrdata commented 11 months ago

patched on 0.39.6

rickcx commented 11 months ago

It's working now. Thanks ! Your custom nodes are awsome !