komojini/komojini-comfyui-nodes

using setter and gettrt error TypeError: object of type 'NoneType' has no len()

Opened this issue · 12 comments

ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "E:\IMAGE\ComfyUI_test\ComfyUI\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\IMAGE\ComfyUI_test\ComfyUI\execution.py", line 99, in get_output_data
output_is_list = [False] * len(results[0])
^^^^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()

1706198443588

try image getter or cached getter , the same error

This happens when there is no setter node for "supersample". If you can share any workflow for this error, it will be helpful for fixing it.

image
SVD test.json
in this workflow, i want to run two part of video generation and highres fix,

You should at least once run the "Setter" node for the key value to use "CachedGetter". Also other getters won't work if the setter node is bypassed or not activated.

SVD_test.json

I recommend workflow like this in your case. You can run your workflow one by one using the "Flowbuilder" Node and don't have to bypass unused nodes.

SVD_test.json

I recommend workflow like this in your case. You can run your workflow one by one using the "Flowbuilder" Node and don't have to bypass unused nodes.

thx,i will try the flowbuilder

SVD_test.json

I recommend workflow like this in your case. You can run your workflow one by one using the "Flowbuilder" Node and don't have to bypass unused nodes.

Sorry to bother you, but I have absolutely no idea how to use the two nodes flowbuildergetter and flowbuildersetter. When I try to execute the first group and the second group respectively, the first group can be executed separately, but once the second group starts, the first group will also start executing at the same time
image
SVD test (1).json

I think it's because your "PreSampling" node's seed setting after generate is "randomize" change it to "fix".

I think it's because your "PreSampling" node's seed setting after generate is "randomize" change it to "fix".

I completely revised the workflow, but he still executes the second flowbuilder as before, and still executes the previous process again.
If I choose to disable unrelated nodes, I will only turn off the preview image, and other nodes will not be affected.
Also I'm still curious how the flowbuildergetter is used

image
image
SVD test.json

3EE4C215-6455-4F0E-B8BF-00A3B0D22662

Will you try changing those two "control_after_generate" part to "fixed"?

I usually use rgthree's Seed node.

To be honest, in fact, I just want to use your node to completely replace the rgthree plugin, so that the workflow can install one less plugin.

even i use the seed(rgthree) and fixed 2 sampler seed, it still run all sampler when i queue 2nd flowbuilder

image