deforum-comfy-nodes icon indicating copy to clipboard operation
deforum-comfy-nodes copied to clipboard

Error occurred when executing DeforumIteratorNode:

Open isamu2025 opened this issue 1 year ago • 6 comments

wechat_20240616021710 Error occurred when executing DeforumIteratorNode:

expected string or bytes-like object

File "G:\Blender_ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "G:\Blender_ComfyUI\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 "G:\Blender_ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "G:\Blender_ComfyUI\python_embeded\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "G:\Blender_ComfyUI\ComfyUI\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 215, in get gen_args["next_prompt"], _ = split_weighted_subprompts(next_prompt) File "G:\Blender_ComfyUI\python_embeded\lib\site-packages\deforum\utils\string_utils.py", line 63, in split_weighted_subprompts parsed_prompt = re.sub(math_parser, lambda m: str(parse_weight(m, frame)), text) File "re.py", line 209, in sub

isamu2025 avatar Jun 15 '24 18:06 isamu2025

This should be fixed with the latest update!

XmYx avatar Jun 24 '24 12:06 XmYx

Screenshot 2024-07-03 105137 Error occurred when executing DeforumIteratorNode:

'euler'

File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 124, in get keys, prompt_series, areas = get_current_keys(anim_args, args.seed, root, area_prompts=deforum_data.get("area_prompts")) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\modules\deforum_comfyui_helpers.py", line 73, in get_current_keys keys = DeforumAnimKeys(anim_args, seed) # if not use_parseq else ParseqAnimKeys(parseq_args, video_args) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1291, in init self.seed_schedule_series = self.fi.get_inbetweens(self.fi.parse_key_frames(anim_args.seed_schedule)) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1479, in parse_key_frames frame = int(self.sanitize_value(frameParam[0])) if check_is_number(self.sanitize_value(frameParam[0].strip())) else int(numexpr.evaluate(frameParam[0].strip().replace("'", "", 1).replace('"', "", 1)[::-1].replace("'", "", 1).replace('"', "", 1)[::-1])) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 819, in evaluate arguments = getArguments(names, local_dict, global_dict) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 745, in getArguments a = global_dict[name]

cocorara avatar Jul 03 '24 03:07 cocorara

Screenshot 2024-07-03 105137 Error occurred when executing DeforumIteratorNode:

'euler'

File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 124, in get keys, prompt_series, areas = get_current_keys(anim_args, args.seed, root, area_prompts=deforum_data.get("area_prompts")) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\modules\deforum_comfyui_helpers.py", line 73, in get_current_keys keys = DeforumAnimKeys(anim_args, seed) # if not use_parseq else ParseqAnimKeys(parseq_args, video_args) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1291, in init self.seed_schedule_series = self.fi.get_inbetweens(self.fi.parse_key_frames(anim_args.seed_schedule)) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1479, in parse_key_frames frame = int(self.sanitize_value(frameParam[0])) if check_is_number(self.sanitize_value(frameParam[0].strip())) else int(numexpr.evaluate(frameParam[0].strip().replace("'", "", 1).replace('"', "", 1)[::-1].replace("'", "", 1).replace('"', "", 1)[::-1])) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 819, in evaluate arguments = getArguments(names, local_dict, global_dict) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 745, in getArguments a = global_dict[name]

Yep same problem!

planetfrog avatar Jul 03 '24 09:07 planetfrog

Having same issue, same error. Did anyone mybe found solution?

marinmatas avatar Jul 04 '24 02:07 marinmatas

Screenshot 2024-07-03 105137 Error occurred when executing DeforumIteratorNode:

'euler'

File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\nodes\deforum_iteration_nodes.py", line 124, in get keys, prompt_series, areas = get_current_keys(anim_args, args.seed, root, area_prompts=deforum_data.get("area_prompts")) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\custom_nodes\deforum-comfy-nodes\deforum_nodes\modules\deforum_comfyui_helpers.py", line 73, in get_current_keys keys = DeforumAnimKeys(anim_args, seed) # if not use_parseq else ParseqAnimKeys(parseq_args, video_args) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1291, in init self.seed_schedule_series = self.fi.get_inbetweens(self.fi.parse_key_frames(anim_args.seed_schedule)) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\deforum\pipelines\deforum_animation\animation_helpers.py", line 1479, in parse_key_frames frame = int(self.sanitize_value(frameParam[0])) if check_is_number(self.sanitize_value(frameParam[0].strip())) else int(numexpr.evaluate(frameParam[0].strip().replace("'", "", 1).replace('"', "", 1)[::-1].replace("'", "", 1).replace('"', "", 1)[::-1])) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 819, in evaluate arguments = getArguments(names, local_dict, global_dict) File "F:\ComfyUI\ComfyUI-aki\ComfyUI-aki-v1.2\python\lib\site-packages\numexpr\necompiler.py", line 745, in getArguments a = global_dict[name]

manually add "Base parameters" node , replace demo node fixed my error.

gooyoyo avatar Jul 06 '24 00:07 gooyoyo

Hey @gooyoyo that worked many thanks

danaguli avatar Jul 25 '24 10:07 danaguli