was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

Hello, big guys, I want to ask the node installed, but can not be loaded in the workflow, because what

Open xiaoyangma2008 opened this issue 1 year ago • 5 comments

xiaoyangma2008 avatar Sep 27 '23 04:09 xiaoyangma2008

If the workflow isn't loading there is an issue, yes. But what I couldn't say without an error log.

WASasquatch avatar Sep 27 '23 16:09 WASasquatch

Registered sys.path: ['/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/init.py', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_pycocotools', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_midas_repo', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_oneformer', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_detectron2', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src', '/home/ubuntu/ComfyUI/custom_nodes/comfy_PoP/comfy', '/home/ubuntu/ComfyUI/custom_nodes/comfy_PoP/comfy', '/home/ubuntu/ComfyUI/comfy', '/usr/local/lib/python3.8/dist-packages/git/ext/gitdb', '/home/ubuntu/ComfyUI', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ubuntu/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/local/lib/python3.8/dist-packages/cloud_init-20.1-py3.8.egg', '/usr/lib/python3/dist-packages', '/tmp/tmppf_ucxzb', '../..'] Traceback (most recent call last): File "/home/ubuntu/ComfyUI/nodes.py", line 1734, in load_custom_node module_spec.loader.exec_module(module) File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui/init.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "/home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 5693 match background_color: ^ SyntaxError: invalid syntax

Cannot import /home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui module for custom nodes: invalid syntax (WAS_Node_Suite.py, line 5693)

the2ndface avatar Sep 28 '23 07:09 the2ndface

Thanks for the error. I'll take a look, but very strange you would have a syntax error. Did you edit WAS-NS? A syntax error would be erroring everyone out including me.

On Thu, Sep 28, 2023, 12:52 AM the2ndface @.***> wrote:

Registered sys.path: ['/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/controlnet_aux', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/init.py', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_pycocotools', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_midas_repo', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_oneformer', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src/custom_detectron2', '/home/ubuntu/ComfyUI/custom_nodes/comfyui_controlnet_aux/src', '/home/ubuntu/ComfyUI/custom_nodes/comfy_PoP/comfy', '/home/ubuntu/ComfyUI/custom_nodes/comfy_PoP/comfy', '/home/ubuntu/ComfyUI/comfy', '/usr/local/lib/python3.8/dist-packages/git/ext/gitdb', '/home/ubuntu/ComfyUI', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ubuntu/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/local/lib/python3.8/dist-packages/cloud_init-20.1-py3.8.egg', '/usr/lib/python3/dist-packages', '/tmp/tmppf_ucxzb', '../..'] Traceback (most recent call last): File "/home/ubuntu/ComfyUI/nodes.py", line 1734, in load_custom_node module_spec.loader.exec_module(module) File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui/init.py", line 1, in from .WAS_Node_Suite import NODE_CLASS_MAPPINGS File "/home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 5693 match background_color: ^ SyntaxError: invalid syntax

Cannot import /home/ubuntu/ComfyUI/custom_nodes/was-node-suite-comfyui module for custom nodes: invalid syntax (WAS_Node_Suite.py, line 5693)

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/217#issuecomment-1738655580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZO35HLZZSIDRXW7QK3X4UUFPANCNFSM6AAAAAA5IXJEXQ . You are receiving this because you commented.Message ID: @.***>

WASasquatch avatar Sep 28 '23 15:09 WASasquatch

So this is because match statement is for Python 3.10 and higher. I have patched this code so it should run on older versions now.

WASasquatch avatar Sep 28 '23 19:09 WASasquatch

Have you tested the latest patch to see if it's working on your ubuntu dist? If there are further compatibility issues please let me know and I was rectify them.

WASasquatch avatar Oct 01 '23 03:10 WASasquatch