Comfy-Org / Comfy-Org/ComfyUI

[Bug] Item from Dropdown Doesn't work

Open
#2,216 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I tried running the node on mimic_mode in the DynamicThresholdingFull node and it just stays at index 0 which is the "Constant" setting.
![Screenshot 2023-12-07 114940](https://github.com/comfyanonymous/ComfyUI/assets/152449629/33d95263-8d45-41ec-8c2a-7905e12c4148)
I tried running the "Item from Dropdown" node through VAE Loader and I'd get an error thrown

`
ERROR:root:Traceback (most recent call last):
File "C:\aigen\ComfyUI\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\aigen\ComfyUI\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\aigen\ComfyUI\ComfyUI\custom_nodes\ComfyUI_ezXY\autoCastPatch.py", line 286, in map_node_over_list
_nums = [int(value) for value in input_data_all[input_name]]
~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'index'

`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.