kijai / ComfyUI-MimicMotionWrapper

Apache License 2.0
259 stars 19 forks source link

having error with sampler #55

Open jsdavid88 opened 1 month ago

jsdavid88 commented 1 month ago

Error occurred when executing MimicMotionSampler:

not all arguments converted during string formatting

File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MimicMotionWrapper\nodes.py", line 272, in process log.info("Using optional scheduler: ", optional_scheduler['noise_scheduler']) File "logging__init.py", line 1489, in info File "logging__init__.py", line 1634, in _log File "logging__init.py", line 1644, in handle File "logging\init.py", line 1706, in callHandlers File "logging\init__.py", line 978, in handle File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py", line 319, in emit message = record.getMessage() ^^^^^^^^^^^^^^^^^^^ File "logging\init__.py", line 377, in getMessage

f4cyw commented 1 month ago

go to File "D:\AI\AI_Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MimicMotionWrapper\nodes.py", line 272 then you can find below: log.info("Using optional scheduler: %s", optional_scheduler['noise_scheduler']) change as below: log.info(f"Using optional scheduler: {optional_scheduler['noise_scheduler']}")

I solved this issue with this method.