When trying to execute via API a workflow that uses a PowerPuter node, it gives me the following error:
!!! Exception during processing !!! argument of type 'NoneType' is not iterable Traceback (most recent call last): File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 518, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 329, in get_output_data return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\custom_nodes\comfyui-lora-manager\py\metadata_collector\metadata_hook.py", line 165, in async_map_node_over_list_with_metadata results = await original_map_node_over_list( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 303, in _async_map_node_over_list await process_inputs(input_dict, i) File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 291, in process_inputs result = f(**inputs) ^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\custom_nodes\rgthree-comfy\py\power_puter.py", line 333, in main workflow = pnginfo["workflow"] if "workflow" in pnginfo else {"nodes": []} ^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable
The workflow works correctly through the UI and if I disable the PowerPuter nodes, it can be executed via API.
The PowerPuter is only doing string manipulation and not looking up or using other nodes in the workflow.
Can PowerPuter be used in workflows called via API and, if so, what am I doing wrong?
When trying to execute via API a workflow that uses a PowerPuter node, it gives me the following error:
!!! Exception during processing !!! argument of type 'NoneType' is not iterable Traceback (most recent call last): File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 518, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 329, in get_output_data return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\custom_nodes\comfyui-lora-manager\py\metadata_collector\metadata_hook.py", line 165, in async_map_node_over_list_with_metadata results = await original_map_node_over_list( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 303, in _async_map_node_over_list await process_inputs(input_dict, i) File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\execution.py", line 291, in process_inputs result = f(**inputs) ^^^^^^^^^^^ File "C:\Users\*****\Documents\ComfyUI_windows_portable_3.44\ComfyUI\custom_nodes\rgthree-comfy\py\power_puter.py", line 333, in main workflow = pnginfo["workflow"] if "workflow" in pnginfo else {"nodes": []} ^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterableThe workflow works correctly through the UI and if I disable the PowerPuter nodes, it can be executed via API.
The PowerPuter is only doing string manipulation and not looking up or using other nodes in the workflow.
Can PowerPuter be used in workflows called via API and, if so, what am I doing wrong?