ComfyUI_Comfyroll_CustomNodes icon indicating copy to clipboard operation
ComfyUI_Comfyroll_CustomNodes copied to clipboard

CR text List error

Open IMParesqui opened this issue 1 year ago • 2 comments

When using CR text list I'm getting the following error: This happens when using with and withou a multiline text input. Captura de tela 2024-08-07 105803

Error occurred when executing CR Text List:

CR_TextList.make_list() missing 1 required positional argument: 'loops'

File "C:\AI\Images\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\AI\Images\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 "C:\AI\Images\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IMParesqui avatar Aug 07 '24 13:08 IMParesqui

See #116. The solution is just to remove the parameter loops from line 79, since it's not used in the code.

colinmorris avatar Aug 31 '24 14:08 colinmorris

But why is that the solution while it could be in the main branch?

veighnsche avatar Sep 02 '24 14:09 veighnsche