Gourieff / comfyui-reactor-node

Fast and Simple Face Swap Extension Node for ComfyUI
GNU General Public License v3.0
1.47k stars 142 forks source link

[ERROR] An error occurred while retrieving information for the 'ReActorMaskHelper' node. #275

Closed 925-Studio closed 5 months ago

925-Studio commented 5 months ago

First, confirm

What happened?

Every time I open or refresh the ComfyUI page in the browser, this error appears in the terminal.

Workflow

Have already put 2 model files in the right position as readme says: /home/silver/Playgrounds/AI/sd-comfyui/models/sams/sam_vit_b_01ec64.pth, /home/silver/Playgrounds/AI/sd-comfyui/models/ultralytics/bbox/face_yolov8m.pt.

Sysinfo

Linux 4080 Super

Relevant console log

Import times for custom nodes:
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/websocket_image_save.py
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/sdxl_prompt_styler
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_IPAdapter_plus
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_essentials
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI-Manager
   0.2 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_InstantID
   0.3 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_tinyterraNodes
   0.8 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/comfyui-reactor-node

Starting server

To see the GUI go to: http://0.0.0.0:2001
FETCH DATA from: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI-Manager/extension-node-map.json
[ERROR] An error occurred while retrieving information for the 'ReActorMaskHelper' node.
Traceback (most recent call last):
  File "/home/silver/Playgrounds/AI/sd-comfyui/server.py", line 414, in get_object_info
    out[x] = node_info(x)
  File "/home/silver/Playgrounds/AI/sd-comfyui/server.py", line 392, in node_info
    info['input'] = obj_class.INPUT_TYPES()
  File "/home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/comfyui-reactor-node/nodes.py", line 606, in INPUT_TYPES
    bboxs = ["bbox/"+x for x in folder_paths.get_filename_list("ultralytics_bbox")]
  File "/home/silver/Playgrounds/AI/sd-comfyui/folder_paths.py", line 223, in get_filename_list
    out = get_filename_list_(folder_name)
  File "/home/silver/Playgrounds/AI/sd-comfyui/folder_paths.py", line 190, in get_filename_list_
    folders = folder_names_and_paths[folder_name]
KeyError: 'ultralytics_bbox'
Gourieff commented 5 months ago

Fixed!

925-Studio commented 5 months ago

Fixed!

Thank you for quick reply but unfortunately I still got the same error after a successful git pull. Is there a chance I did something wrong?

Import times for custom nodes:
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/websocket_image_save.py
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/sdxl_prompt_styler
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_IPAdapter_plus
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/rgthree-comfy
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/efficiency-nodes-comfyui
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_essentials
   0.0 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI-Manager
   0.2 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI_InstantID
   0.8 seconds: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/comfyui-reactor-node

Starting server

To see the GUI go to: http://0.0.0.0:2001
FETCH DATA from: /home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/ComfyUI-Manager/extension-node-map.json
[ERROR] An error occurred while retrieving information for the 'ReActorMaskHelper' node.
Traceback (most recent call last):
  File "/home/silver/Playgrounds/AI/sd-comfyui/server.py", line 414, in get_object_info
    out[x] = node_info(x)
  File "/home/silver/Playgrounds/AI/sd-comfyui/server.py", line 392, in node_info
    info['input'] = obj_class.INPUT_TYPES()
  File "/home/silver/Playgrounds/AI/sd-comfyui/custom_nodes/comfyui-reactor-node/nodes.py", line 611, in INPUT_TYPES
    bboxs = ["bbox/"+x for x in folder_paths.get_filename_list("ultralytics_bbox")]
  File "/home/silver/Playgrounds/AI/sd-comfyui/folder_paths.py", line 223, in get_filename_list
    out = get_filename_list_(folder_name)
  File "/home/silver/Playgrounds/AI/sd-comfyui/folder_paths.py", line 190, in get_filename_list_
    folders = folder_names_and_paths[folder_name]
KeyError: 'ultralytics_bbox'
Gourieff commented 5 months ago

Is there a chance I did something wrong?

No, it's on my side Please try again, should work now

925-Studio commented 5 months ago

Is there a chance I did something wrong?

No, it's on my side Please try again, should work now

I can confirm after your second fix the problem is solved. Thank you for your quick response.