Skip to content

Unexpected keyword argument hidden_inputs #9215

Description

@Rantanplan74

Custom Node Testing

Your question

Hi, i have a manual comfyUI installation on windows. Yesterday i updated ComfyUi with the ComfyUI-Manager. Since then I get the following error with dirrefent nodes (for example CheckpoitLoaderSimple with the default image generation workflow from the templates:

Image Image

I tried several ComfyUI versions and i tried to manually update comfyUI again and install the requirements, but the error remains.

Image

Do i have to delete ComfyUi and do a complete reinstall?

Logs

P:\ComfyUI>call venv/scripts/activate
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-08-06 21:59:57.201
** Platform: Windows
** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
** Python executable: P:\ComfyUI\venv\Scripts\python.exe
** ComfyUI Path: P:\ComfyUI\ComfyUI
** ComfyUI Base Folder Path: P:\ComfyUI\ComfyUI
** User directory: P:\ComfyUI\ComfyUI\user
** ComfyUI-Manager config path: P:\ComfyUI\ComfyUI\user\default\ComfyUI-Manager\config.ini
** Log path: P:\ComfyUI\ComfyUI\user\comfyui.log

Prestartup times for custom nodes:
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use
   2.3 seconds: P:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely.
Total VRAM 16376 MB, total RAM 32538 MB
pytorch version: 2.7.1+cu128
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using pytorch attention
Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
ComfyUI version: 0.3.49
ComfyUI frontend version: 1.23.4
[Prompt Server] web root: P:\ComfyUI\venv\lib\site-packages\comfyui_frontend_package\static
Traceback (most recent call last):
  File "P:\ComfyUI\ComfyUI\nodes.py", line 2129, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "P:\ComfyUI\ComfyUI\comfy_api_nodes\canary.py", line 5, in <module>
    raise Exception("INSTALL NEW VERSION OF PYAV TO USE API NODES.")
Exception: INSTALL NEW VERSION OF PYAV TO USE API NODES.

Cannot import P:\ComfyUI\ComfyUI\comfy_api_nodes\canary.py module for custom nodes: INSTALL NEW VERSION OF PYAV TO USE API NODES.
[ComfyUI-Easy-Use] server: v1.3.1 Loaded
[ComfyUI-Easy-Use] web root: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded
### Loading: ComfyUI-Impact-Pack (V8.17.1)
[Impact Pack] Wildcards loading done.
### Loading: ComfyUI-Impact-Subpack (V1.3.4)
[Impact Pack/Subpack] Using folder_paths to determine whitelist path: P:\ComfyUI\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Pack/Subpack] Ensured whitelist directory exists: P:\ComfyUI\ComfyUI\user\default\ComfyUI-Impact-Subpack
[Impact Pack/Subpack] Loaded 0 model(s) from whitelist: P:\ComfyUI\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Subpack] ultralytics_bbox: P:\ComfyUI\ComfyUI\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: P:\ComfyUI\ComfyUI\models\ultralytics\segm
Found LoRA roots:
 - P:/ComfyUI/ComfyUI/models/loras
Found checkpoint roots:
 - P:/ComfyUI/ComfyUI/models/checkpoints
 - P:/ComfyUI/ComfyUI/models/diffusion_models
 - P:/ComfyUI/ComfyUI/models/unet
Saved folder paths to settings.json
Detected async ComfyUI execution, installing async metadata hooks
Metadata collection hooks installed for runtime values
ComfyUI Metadata Collector initialized
Example images path: None
Added static route /loras_static/root1/preview -> P:/ComfyUI/ComfyUI/models/loras
Added static route /checkpoints_static/root1/preview -> P:/ComfyUI/ComfyUI/models/checkpoints
Added static route /checkpoints_static/root2/preview -> P:/ComfyUI/ComfyUI/models/diffusion_models
Added static route /checkpoints_static/root3/preview -> P:/ComfyUI/ComfyUI/models/unet
Registered model type 'lora' with service LoraService and routes LoraRoutes
Registered model type 'checkpoint' with service CheckpointService and routes CheckpointRoutes
Registered default model types: lora, checkpoint
Setting up routes for 2 registered model types
Successfully set up routes for lora
Successfully set up routes for checkpoint
LoRA Manager: Set up routes for 2 model types: lora, checkpoint
### Loading: ComfyUI-Manager (V3.33.8)
[ComfyUI-Manager] network_mode: public
### ComfyUI Revision: 3738 [32a95bba] *DETACHED | Released on '2025-08-05'
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ReActor] - STATUS - Running v0.6.1-b2 in ComfyUI
Torch version: 2.7.1+cu128

[rgthree-comfy] Loaded 47 magnificent nodes. 🎉


Import times for custom nodes:
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\websocket_image_save.py
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-inpaint-cropandstitch
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui_ipadapter_plus
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\teacache
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui_essentials
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui_ultimatesdupscale
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\derfuu_comfyui_moddednodes
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-kjnodes
   0.0 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-impact-pack
   0.1 seconds: P:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Lora-Manager
   0.1 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-impact-subpack
   0.1 seconds: P:\ComfyUI\ComfyUI\custom_nodes\rgthree-comfy
   0.2 seconds: P:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Florence2
   0.3 seconds: P:\ComfyUI\ComfyUI\custom_nodes\ComfyUI-Manager
   0.4 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-reactor-node
   0.7 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui_layerstyle
   0.9 seconds: P:\ComfyUI\ComfyUI\custom_nodes\comfyui-easy-use

WARNING: some comfy_api_nodes/ nodes did not import correctly. This may be because they are missing some dependencies.

IMPORT FAILED: nodes_ideogram.py
IMPORT FAILED: nodes_openai.py
IMPORT FAILED: nodes_minimax.py
IMPORT FAILED: nodes_veo2.py
IMPORT FAILED: nodes_kling.py
IMPORT FAILED: nodes_bfl.py
IMPORT FAILED: nodes_luma.py
IMPORT FAILED: nodes_recraft.py
IMPORT FAILED: nodes_pixverse.py
IMPORT FAILED: nodes_stability.py
IMPORT FAILED: nodes_pika.py
IMPORT FAILED: nodes_runway.py
IMPORT FAILED: nodes_tripo.py
IMPORT FAILED: nodes_moonvalley.py
IMPORT FAILED: nodes_rodin.py
IMPORT FAILED: nodes_gemini.py

This issue might be caused by new missing dependencies added the last time you updated ComfyUI.
Please do a: pip install -r requirements.txt

Context impl SQLiteImpl.
Will assume non-transactional DDL.
No target revision found.
Loaded usage statistics from P:/ComfyUI/ComfyUI/models/loras\lora_manager_stats.json
Usage statistics tracker initialized
LoRA Manager: All services initialized and background tasks scheduled
Starting server

To see the GUI go to: http://127.0.0.1:8188
Recipe cache initialized in 0.00 seconds. Found 0 recipes
Checkpoint cache initialized in 0.04 seconds. Found 25 models
Lora cache initialized in 0.06 seconds. Found 58 models
FETCH ComfyRegistry Data: 5/93
FETCH ComfyRegistry Data: 10/93
FETCH ComfyRegistry Data: 15/93
FETCH ComfyRegistry Data: 20/93
FETCH ComfyRegistry Data: 25/93
FETCH ComfyRegistry Data: 30/93
FETCH ComfyRegistry Data: 35/93
FETCH ComfyRegistry Data: 40/93
FETCH ComfyRegistry Data: 45/93
FETCH ComfyRegistry Data: 50/93
FETCH ComfyRegistry Data: 55/93
FETCH ComfyRegistry Data: 60/93
FETCH ComfyRegistry Data: 65/93
FETCH ComfyRegistry Data: 70/93
FETCH ComfyRegistry Data: 75/93
FETCH ComfyRegistry Data: 80/93
FETCH ComfyRegistry Data: 85/93
FETCH ComfyRegistry Data: 90/93
FETCH ComfyRegistry Data [DONE]
[ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[ComfyUI-Manager] All startup tasks have been completed.
got prompt
!!! Exception during processing !!! MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'
Traceback (most recent call last):
  File "P:\ComfyUI\ComfyUI\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 "P:\ComfyUI\ComfyUI\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)
TypeError: MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'

Prompt executed in 0.02 seconds
got prompt
!!! Exception during processing !!! MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'
Traceback (most recent call last):
  File "P:\ComfyUI\ComfyUI\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 "P:\ComfyUI\ComfyUI\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)
TypeError: MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'

Prompt executed in 0.00 seconds
got prompt
!!! Exception during processing !!! MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'
Traceback (most recent call last):
  File "P:\ComfyUI\ComfyUI\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 "P:\ComfyUI\ComfyUI\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)
TypeError: MetadataHook._install_async_hooks.<locals>.async_map_node_over_list_with_metadata() got an unexpected keyword argument 'hidden_inputs'

Prompt executed in 0.01 seconds

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThis issue is stale and will be autoclosed soon.User SupportA user needs help with something, probably not a bug.bug-cop:user-resolved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions