!!! Exception during processing !!! 'VAE' object is not subscriptable
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
it runs without error the last day before update
### Actual Behavior
!!! Exception during processing !!! 'VAE' object is not subscriptable
Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.2\execution.py", line 496, 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, hidden_inputs=hidden_inputs)
File "D:\ComfyUI-aki-v1.2\execution.py", line 315, 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, hidden_inputs=hidden_inputs)
File "D:\ComfyUI-aki-v1.2\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI-aki-v1.2\execution.py", line 277, in process_inputs
result = f(**inputs)
File "D:\ComfyUI-aki-v1.2\comfy_extras\nodes_custom_sampler.py", line 822, in sample
latent_image = latent["samples"]
TypeError: 'VAE' object is not subscriptable
### Steps to Reproduce
run wanvideo work flow with custom advaced sampler
### Debug Logs
```powershell
!!! Exception during processing !!! 'VAE' object is not subscriptable
Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.2\execution.py", line 496, 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, hidden_inputs=hidden_inputs)
File "D:\ComfyUI-aki-v1.2\execution.py", line 315, 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, hidden_inputs=hidden_inputs)
File "D:\ComfyUI-aki-v1.2\execution.py", line 289, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\ComfyUI-aki-v1.2\execution.py", line 277, in process_inputs
result = f(**inputs)
File "D:\ComfyUI-aki-v1.2\comfy_extras\nodes_custom_sampler.py", line 822, in sample
latent_image = latent["samples"]
TypeError: 'VAE' object is not subscriptable
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.