was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

WAS_VAE_Input_Switch.vae_switch() got an unexpected keyword argument 'boolean_number'

Open adrian-forest opened this issue 11 months ago • 8 comments

Error from VAE Input Switch:

`Error occurred when executing VAE Input Switch:

WAS_VAE_Input_Switch.vae_switch() got an unexpected keyword argument 'boolean_number'

File "E:\stable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\stable\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 "E:\stable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))`

adrian-forest avatar Mar 15 '24 14:03 adrian-forest

A probably very bad workaround? #365

adrian-forest avatar Mar 16 '24 02:03 adrian-forest

the latest update seems to have messed up the variable types in switches - I had workflows that used NUMBER as input, and now it seems it's not going to work anymore. Wonder what's the plan for those switch nodes?

wandrzej avatar Mar 22 '24 10:03 wandrzej

Check these in custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py image

Ionaut avatar Mar 27 '24 19:03 Ionaut

Check these in custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py image

sorry for being noob but what do we change here?

nachocheeseburger avatar Apr 01 '24 00:04 nachocheeseburger

Check these in custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py

That breaks sharing your workflow with others. It's such a minor fix, I hope it will be implemented soon.

Pos13 avatar Apr 01 '24 20:04 Pos13

It's been almost a month since the last commit, and I don't love the idea of people using my janky hack code as a workaround, so hopefully this can get some attention soon!

adrian-forest avatar Apr 03 '24 09:04 adrian-forest

Speaking of jank hacks: as a temorary workaround, you can cast number to text and compare it to "1" to get a BOOLEAN. image

Pos13 avatar Apr 07 '24 08:04 Pos13

image

https://github.com/WASasquatch/was-node-suite-comfyui/commit/7fb076611b4779e3943aa04925577c9e687653c7

WAS-PlaiLabs avatar May 15 '24 19:05 WAS-PlaiLabs