Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAS_Latent_Input_Switch.latent_input_switch() got an unexpected keyword argument 'boolean_number' #373

Open
QueenPuxxi opened this issue Apr 2, 2024 · 2 comments

Comments

@QueenPuxxi
Copy link

QueenPuxxi commented Apr 2, 2024

Hello, I think I have a problem that I can't solve. I wanted to try a fix like #364 mentioned, but it didn't work for me.

Error occurred when executing Latent Input Switch:

WAS_Latent_Input_Switch.latent_input_switch() got an unexpected keyword argument 'boolean_number'

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

1712080840774

@QueenPuxxi
Copy link
Author

QueenPuxxi commented Apr 2, 2024

I use this method:

6b64dc1

I added kwargs argument in line 12676 to ignore boolean_number arguments passed to the function, but still hope that the author can fix this problem as soon as possible, thank you!

@adrian-forest
Copy link

Oh! I use this method:

6b64dc1

As the author of that commit, this is definitely not recommended, so use with great caution! It seems to work for me, but it's very much an "at your own risk" change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants