Closed DaveTheDayTrader closed 4 months ago
Any idea how to fix this?
Error occurred when executing InstaSwapFaceSwap:
'Logger' object has no attribute 'status'
File "/home/dave/Downloads/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/custom_nodes/ComfyUI-InstaSwap/nodes.py", line 136, in execute logger.status(f"Frames restoring with : {face_restore_model}") ^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'status'
Fixed - edit nodes.py
replace logger.status with print
done!
Any idea how to fix this?
Error occurred when executing InstaSwapFaceSwap:
'Logger' object has no attribute 'status'
File "/home/dave/Downloads/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dave/Downloads/ComfyUI/custom_nodes/ComfyUI-InstaSwap/nodes.py", line 136, in execute logger.status(f"Frames restoring with : {face_restore_model}") ^^^^^^^^^^^^^
AttributeError: 'Logger' object has no attribute 'status'