jamesWalker55 / comfyui-various

65 stars 8 forks source link

Error occurred when executing JWMaskResize #3

Closed tudal closed 11 months ago

tudal commented 11 months ago

For any mask I'm getting this:

Error occurred when executing JWMaskResize:

local variable 'image' referenced before assignment

  File "C:\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "C:\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "C:\ComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "C:\ComfyUI\ComfyUI\custom_nodes\comfyui-various\comfyui_image_ops.py", line 356, in execute
    image,

Does this node work for you?

jamesWalker55 commented 11 months ago

Thanks for the issue, just fixed it in 9e43419df54910de5b6fd365fe93a5f9ba3416f5, update the extension and it should work now.