-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text List error: CR_TextList.make_list() missing 1 required positional argument: 'loops' #116
Comments
the same problem |
"loops" is not used anywhere in the code and can be safely removed.
def make_list(self, multiline_text, start_index, max_rows): |
Confirmed. This is how I resolved on my local instance and it works fine. |
Thank you, this also solve my problem. |
Why has this not found its way into the current leading branch? |
Would love it if the author @Suzie1 would incorporate this into the build, but I fear that the Comfyroll suite is starting to look abandoned. |
"CR Text Cycle" can use? |
Having an issue with the CR Text List node. Tried using the text workflow to make sure it wasn't just me and I got the error on the example workflow as well.
I think the issue is this line in nodes_list.py that was changed a few weeks ago:
def make_list(self, multiline_text, start_index, max_rows, loops):
When I removed ",loops" it worked as expected.
Full error text:
ERROR:root:Traceback (most recent call last):
File "C:\StableDiffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\StableDiffusion\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:\StableDiffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: CR_TextList.make_list() missing 1 required positional argument: 'loops'
The text was updated successfully, but these errors were encountered: