FizzleDorf / ComfyUI_FizzNodes

Custom Nodes for Comfyui
MIT License
396 stars 60 forks source link

Error when trying the "Blinking girl" example! #76

Closed oliverban closed 5 months ago

oliverban commented 8 months ago

I have all the nodes, all is updated but I get the below error (the error goes away when I disconnect the Value schedulers from the Prompt Scheduler)

Error occurred when executing PromptSchedule:

invalid index to scalar variable.

File "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\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 "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 81, in animate pos_cur_prompt, pos_nxt_prompt, weight = interpolate_prompt_series(pos, max_frames, start_frame, pre_text, app_text, pw_a, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Oliver\Documents\Github\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\BatchFuncs.py", line 155, in interpolate_prompt_series cur_prompt_series[i] = prepare_batch_prompt(cur_prompt_series[i], max_frames, i, prompt_weight_1[i],

xingren23 commented 8 months ago

same issue, i have updated to latest

FizzleDorf commented 8 months ago

I've merged @xingren23's changes in #77 . @oliverban try pulling the changes

idesign2018 commented 8 months ago

I also encounter the same problem, how should I solve it?

FizzleDorf commented 8 months ago

@idesign2018 are you using the latest changes from #77?

idesign2018 commented 8 months ago

@idesign2018您正在使用#77中的最新更改吗?

Yes, I have the same problem

oliverban commented 8 months ago

I've merged @xingren23's changes in #77 . @oliverban try pulling the changes

I'll do a git pull and see if it works!

FizzleDorf commented 8 months ago

@oliverban any luck getting it to work? everything is running as expected on my end.