Skip to content

# InpaintPreprocessor node fails to load in Krita-AI-Diffusion / ComfyUI setup #2364

@xinrimuli2333-lgtm

Description

@xinrimuli2333-lgtm

When using the source version of Krita-AI-Diffusion (with ComfyUI), the InpaintPreprocessor node fails to load. The UI displays the following error:

Error: Connection established, but the server is missing required custom nodes or models!
Missing or outdated custom nodes:
• ControlNet Preprocessors https://github.com/Fannovel16/comfyui_controlnet_aux

System Environment

  • OS: Windows 10, version 19045
  • Python: 3.10.11 (official installer, added to PATH)
  • ComfyUI: source version, directory D:\ComfyUI\ComfyUI
  • Virtual environment: venv (activated)
  • Plugin path: D:\ComfyUI\ComfyUI\custom_nodes\comfyui_controlnet_aux\

Installation Steps

cd D:\ComfyUI\ComfyUI
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
pip install -r custom_nodes/comfyui_controlnet_aux/requirements.txt
python main.py
Troubleshooting / What I’ve tried

Verified that custom_nodes/comfyui_controlnet_aux exists with __init__.py and all Python files

Dependencies are installed via pip

Launching ComfyUI from the same virtual environment

Reinstalling the plugin and updating ComfyUI

Issue persists


2026-02-28 17:41:11,482 INFO Loaded 4 model files from C:\Users\JT\AppData\Roaming\krita\ai_diffusion\database\loras.json
2026-02-28 17:41:11,812 INFO Checking for latest plugin version at https://api.interstice.cloud
2026-02-28 17:41:12,950 INFO Connecting to http://127.0.0.1:8188
2026-02-28 17:41:13,407 INFO Checking for required custom nodes...
2026-02-28 17:41:13,532 ERROR Missing required node InpaintPreprocessor from package ControlNet Preprocessors (https://github.com/Fannovel16/comfyui_controlnet_aux)
2026-02-28 17:41:13,690 INFO Plugin is up to date!
2026-02-28 18:01:15,505 INFO Loaded 15 sampler presets from C:\Users\JT\AppData\Roaming\krita\pykrita\ai_diffusion\presets\samplers.json
2026-02-28 18:01:15,526 INFO Extension initialized, Version: 1.48.0, Python: 3.10.7 (tags/v3.10.7:6cc6b13, Sep  5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
2026-02-28 18:01:15,526 INFO Loading settings from C:\Users\JT\AppData\Roaming\krita\ai_diffusion\settings.json
2026-02-28 18:01:15,527 INFO Found server installation v1.48.0 [cuda] at D:\新建文件夹\ComfyUI
2026-02-28 18:01:15,527 INFO Loaded 4 model files from C:\Users\JT\AppData\Roaming\krita\ai_diffusion\database\loras.json
2026-02-28 18:01:15,745 INFO Checking for latest plugin version at https://api.interstice.cloud
2026-02-28 18:01:16,701 INFO Connecting to http://127.0.0.1:8188
2026-02-28 18:01:17,161 INFO Checking for required custom nodes...
2026-02-28 18:01:17,275 ERROR Missing required node InpaintPreprocessor from package ControlNet Preprocessors (https://github.com/Fannovel16/comfyui_controlnet_aux)
2026-02-28 18:01:17,362 INFO Plugin is up to date!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions