ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Prompt execution failed SyntaxError: Unexpected non-whitespace character

Open BerZerker96 opened this issue 1 year ago • 18 comments

Custom Node Testing

Your question

help please keep getting this issue with all workflows , used to work fine before comfy update Prompt execution failed SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)

Logs


Other

No response

BerZerker96 avatar Aug 01 '25 09:08 BerZerker96

Same prompt

alenhrp avatar Aug 02 '25 03:08 alenhrp

Need more details like version of ComfyUI and ComfyUI_frontend (about panel in settings) and the workflow

christian-byrne avatar Aug 02 '25 03:08 christian-byrne

Need more details like version of ComfyUI and ComfyUI_frontend (about panel in settings) and the workflow需要更多详细信息,例如 ComfyUI 和 ComfyUI_frontend 的版本(关于设置中的面板)和工作流程

got prompt Error handling request Traceback (most recent call last): File "D:\Z_Chinese_ComfyUI_windows_portable\python_embeded\lib\site-packages\aiohttp\web_protocol.py", line 477, in _handle_request resp = await request_handler(request) File "D:\Z_Chinese_ComfyUI_windows_portable\python_embeded\lib\site-packages\aiohttp\web_app.py", line 567, in _handle return await handler(request) File "D:\Z_Chinese_ComfyUI_windows_portable\python_embeded\lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl return await handler(request) File "D:\Z_Chinese_ComfyUI_windows_portable\ComfyUI\server.py", line 50, in cache_control response: web.Response = await handler(request) File "D:\Z_Chinese_ComfyUI_windows_portable\ComfyUI\server.py", line 142, in origin_only_middleware response = await handler(request) File "D:\Z_Chinese_ComfyUI_windows_portable\ComfyUI\server.py", line 692, in post_prompt valid = await execution.validate_prompt(prompt_id, prompt, partial_execution_targets) TypeError: validate_prompt() takes 2 positional arguments but 3 were given

alenhrp avatar Aug 02 '25 04:08 alenhrp

[2025-08-02 12:03:56.944] pytorch version: 2.7.0+cu126 [2025-08-02 12:03:58.754] xformers version: 0.0.30 [2025-08-02 12:03:58.755] Set vram state to: NORMAL_VRAM [2025-08-02 12:03:58.756] Device: cuda:0 NVIDIA GeForce RTX 4070 Laptop GPU : cudaMallocAsync [2025-08-02 12:03:58.981] Using xformers attention [2025-08-02 12:03:59.967] Python version: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] [2025-08-02 12:03:59.974] ComfyUI version: 0.3.48 [2025-08-02 12:04:00.028] ComfyUI frontend version: 1.23.4

alenhrp avatar Aug 02 '25 04:08 alenhrp

hello I have the same issue. started today after Comfyui app asked for an update. it goes away only if I remove all custom nodes from custom_nodes folder. my setups is Mac silicon.

ComfyUI Error Report

Error Details

  • Node ID: N/A
  • Node Type: N/A
  • Exception Type: Prompt execution failed
  • Exception Message: SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)

Stack Trace

SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)

System Information

  • ComfyUI Version: 0.3.48
  • Arguments: /Users/Sta1300/Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py --user-directory /Volumes/2Terra/ComfyUI/user --input-directory /Volumes/2Terra/ComfyUI/input --output-directory /Volumes/2Terra/ComfyUI/output --front-end-root /Users/Sta1300/Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app --base-directory /Volumes/2Terra/ComfyUI --extra-model-paths-config /Users/Sta1300/Library/Application Support/ComfyUI/extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 --force-fp16 --preview-method auto
  • OS: posix
  • Python Version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
  • Embedded Python: false
  • PyTorch Version: 2.7.1

Devices

  • Name: mps
    • Type: mps
    • VRAM Total: 51539607552
    • VRAM Free: 28758654976
    • Torch VRAM Total: 51539607552
    • Torch VRAM Free: 28758654976

ioamas avatar Aug 02 '25 04:08 ioamas

It worked normally in previous uses, but after updating today, I encountered the same issue.

After deleting the contents under the custom_nodes folder as mentioned in the comments above, it worked properly.

However, when I put the contents back into the folder, the problem reappeared.

ComfyUI Error Report

Error Details

  • Node ID: N/A
  • Node Type: N/A
  • Exception Type: 提示执行失败
  • Exception Message: SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)

Stack Trace

SyntaxError: Unexpected non-whitespace character after JSON at position 4 (line 1 column 5)

System Information

  • ComfyUI Version: 0.3.48
  • Arguments: C:\Users\lhfd1\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory E:\Stable_Diffusion_project\ComfyUI-guanfang\user --input-directory E:\Stable_Diffusion_project\ComfyUI-guanfang\input --output-directory E:\Stable_Diffusion_project\ComfyUI-guanfang\output --front-end-root C:\Users\lhfd1\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --base-directory E:\Stable_Diffusion_project\ComfyUI-guanfang --extra-model-paths-config C:\Users\lhfd1\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8189
  • OS: nt
  • Python Version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.6.0+cu126

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 12877955072
    • VRAM Free: 11574181888
    • Torch VRAM Total: 0
    • Torch VRAM Free: 0

Logs

2025-08-02T16:42:31.797608 - Adding extra search path checkpoints E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\Stable-diffusion
2025-08-02T16:42:31.797608 - Adding extra search path configs E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\Stable-diffusion
2025-08-02T16:42:31.797608 - Adding extra search path vae E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\VAE
2025-08-02T16:42:31.798609 - Adding extra search path loras E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\Lora
2025-08-02T16:42:31.798609 - Adding extra search path loras E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\LyCORIS
2025-08-02T16:42:31.798609 - Adding extra search path upscale_models E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\ESRGAN
2025-08-02T16:42:31.798609 - Adding extra search path upscale_models E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\RealESRGAN
2025-08-02T16:42:31.798609 - Adding extra search path upscale_models E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\SwinIR
2025-08-02T16:42:31.798609 - Adding extra search path embeddings E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\embeddings
2025-08-02T16:42:31.798609 - Adding extra search path hypernetworks E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\models\hypernetworks
2025-08-02T16:42:31.798609 - Adding extra search path controlnet E:\Stable_Diffusion_project\stable-diffusion1.5\stable-diffusion-webui\extensions\sd-webui-controlnet\models
2025-08-02T16:42:31.798609 - Adding extra search path checkpoints E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\checkpoints
2025-08-02T16:42:31.798609 - Adding extra search path classifiers E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\classifiers
2025-08-02T16:42:31.798609 - Adding extra search path clip E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\clip
2025-08-02T16:42:31.798609 - Adding extra search path clip_vision E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\clip_vision
2025-08-02T16:42:31.798609 - Adding extra search path configs E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\configs
2025-08-02T16:42:31.798609 - Adding extra search path controlnet E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\controlnet
2025-08-02T16:42:31.798609 - Adding extra search path diffusers E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\diffusers
2025-08-02T16:42:31.798609 - Adding extra search path diffusion_models E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\diffusion_models
2025-08-02T16:42:31.798609 - Adding extra search path embeddings E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\embeddings
2025-08-02T16:42:31.798609 - Adding extra search path gligen E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\gligen
2025-08-02T16:42:31.798609 - Adding extra search path hypernetworks E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\hypernetworks
2025-08-02T16:42:31.798609 - Adding extra search path loras E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\loras
2025-08-02T16:42:31.798609 - Adding extra search path photomaker E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\photomaker
2025-08-02T16:42:31.798609 - Adding extra search path style_models E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\style_models
2025-08-02T16:42:31.798609 - Adding extra search path text_encoders E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\text_encoders
2025-08-02T16:42:31.798609 - Adding extra search path unet E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\unet
2025-08-02T16:42:31.798609 - Adding extra search path upscale_models E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\upscale_models
2025-08-02T16:42:31.798609 - Adding extra search path vae E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\vae
2025-08-02T16:42:31.798609 - Adding extra search path vae_approx E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\vae_approx
2025-08-02T16:42:31.798609 - Adding extra search path animatediff_models E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\animatediff_models
2025-08-02T16:42:31.798609 - Adding extra search path animatediff_motion_lora E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\animatediff_motion_lora
2025-08-02T16:42:31.798609 - Adding extra search path animatediff_video_formats E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\animatediff_video_formats
2025-08-02T16:42:31.798609 - Adding extra search path ipadapter E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\ipadapter
2025-08-02T16:42:31.798609 - Adding extra search path liveportrait E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\liveportrait
2025-08-02T16:42:31.798609 - Adding extra search path insightface E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\insightface
2025-08-02T16:42:31.798609 - Adding extra search path layerstyle E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\layerstyle
2025-08-02T16:42:31.798609 - Adding extra search path LLM E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\LLM
2025-08-02T16:42:31.798609 - Adding extra search path Joy_caption E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\Joy_caption
2025-08-02T16:42:31.798609 - Adding extra search path sams E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\sams
2025-08-02T16:42:31.798609 - Adding extra search path blip E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\blip
2025-08-02T16:42:31.798609 - Adding extra search path CogVideo E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\CogVideo
2025-08-02T16:42:31.798609 - Adding extra search path xlabs E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\xlabs
2025-08-02T16:42:31.798609 - Adding extra search path instantid E:\Stable_Diffusion_project\ComfyUI-aki-v1.4\models\instantid
2025-08-02T16:42:31.798609 - Adding extra search path custom_nodes E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes
2025-08-02T16:42:31.798609 - Adding extra search path download_model_base E:\Stable_Diffusion_project\ComfyUI-guanfang\models
2025-08-02T16:42:31.798609 - Adding extra search path custom_nodes C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes
2025-08-02T16:42:31.799610 - Setting output directory to: E:\Stable_Diffusion_project\ComfyUI-guanfang\output
2025-08-02T16:42:31.799610 - Setting input directory to: E:\Stable_Diffusion_project\ComfyUI-guanfang\input
2025-08-02T16:42:31.799610 - Setting user directory to: E:\Stable_Diffusion_project\ComfyUI-guanfang\user
2025-08-02T16:42:32.658479 - [START] Security scan2025-08-02T16:42:32.658479 - 
2025-08-02T16:42:34.128658 - [DONE] Security scan2025-08-02T16:42:34.128658 - 
2025-08-02T16:42:34.331375 - ## ComfyUI-Manager: installing dependencies done.2025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** ComfyUI startup time:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.331375 - 2025-08-02 16:42:34.3312025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** Platform:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.331375 - Windows2025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** Python version:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.331375 - 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]2025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** Python executable:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.331375 - E:\Stable_Diffusion_project\ComfyUI-guanfang\.venv\Scripts\python.exe2025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** ComfyUI Path:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.331375 - C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-08-02T16:42:34.331375 - 
2025-08-02T16:42:34.331375 - ** ComfyUI Base Folder Path:2025-08-02T16:42:34.331375 -  2025-08-02T16:42:34.332375 - C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2025-08-02T16:42:34.332375 - 
2025-08-02T16:42:34.332375 - ** User directory:2025-08-02T16:42:34.332375 -  2025-08-02T16:42:34.332375 - E:\Stable_Diffusion_project\ComfyUI-guanfang\user2025-08-02T16:42:34.332375 - 
2025-08-02T16:42:34.332375 - ** ComfyUI-Manager config path:2025-08-02T16:42:34.332375 -  2025-08-02T16:42:34.332375 - E:\Stable_Diffusion_project\ComfyUI-guanfang\user\default\ComfyUI-Manager\config.ini2025-08-02T16:42:34.332375 - 
2025-08-02T16:42:34.332375 - ** Log path:2025-08-02T16:42:34.332375 -  2025-08-02T16:42:34.332375 - E:\Stable_Diffusion_project\ComfyUI-guanfang\user\comfyui.log2025-08-02T16:42:34.332375 - 
2025-08-02T16:42:36.165214 - [ComfyUI-Manager] Failed to restore comfyui-frontend-package
2025-08-02T16:42:36.165214 - expected str, bytes or os.PathLike object, not NoneType
2025-08-02T16:42:36.166215 - 
Prestartup times for custom nodes:
2025-08-02T16:42:36.166215 -    4.4 seconds: C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-08-02T16:42:36.166215 - 
2025-08-02T16:42:38.254711 - Checkpoint files will always be loaded safely.
2025-08-02T16:42:38.380118 - Total VRAM 12281 MB, total RAM 32679 MB
2025-08-02T16:42:38.380118 - pytorch version: 2.6.0+cu126
2025-08-02T16:42:38.381120 - Set vram state to: NORMAL_VRAM
2025-08-02T16:42:38.382121 - Device: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync
2025-08-02T16:42:40.109721 - Using pytorch attention
2025-08-02T16:42:42.069551 - Python version: 3.12.9 (main, Feb 12 2025, 14:52:31) [MSC v.1942 64 bit (AMD64)]
2025-08-02T16:42:42.069551 - ComfyUI version: 0.3.48
2025-08-02T16:42:42.135610 - [Prompt Server] web root: C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
2025-08-02T16:42:43.693081 - [AnimateDiffEvo] - ERROR - No motion models found. Please download one and place in: ['E:\\Stable_Diffusion_project\\ComfyUI-aki-v1.4\\models\\animatediff_models', 'E:\\Stable_Diffusion_project\\ComfyUI-guanfang\\custom_nodes\\ComfyUI-AnimateDiff-Evolved\\models', 'E:\\Stable_Diffusion_project\\ComfyUI-guanfang\\models\\animatediff_models']
2025-08-02T16:42:43.708094 - Adding2025-08-02T16:42:43.708094 -  2025-08-02T16:42:43.708094 - E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes2025-08-02T16:42:43.708094 -  2025-08-02T16:42:43.708094 - to sys.path2025-08-02T16:42:43.708094 - 
2025-08-02T16:42:43.708094 - Adding2025-08-02T16:42:43.708094 -  2025-08-02T16:42:43.708094 - C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes2025-08-02T16:42:43.708094 -  2025-08-02T16:42:43.708094 - to sys.path2025-08-02T16:42:43.708094 - 
2025-08-02T16:42:43.888258 - Could not find efficiency nodes2025-08-02T16:42:43.888258 - 
2025-08-02T16:42:43.930296 - Could not find ControlNetPreprocessors nodes2025-08-02T16:42:43.930296 - 
2025-08-02T16:42:43.950314 - Loaded AdvancedControlNet nodes from2025-08-02T16:42:43.950314 -  2025-08-02T16:42:43.950314 - E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Advanced-ControlNet2025-08-02T16:42:43.950314 - 
2025-08-02T16:42:43.955319 - Could not find AnimateDiff nodes2025-08-02T16:42:43.955319 - 
2025-08-02T16:42:43.956320 - Could not find IPAdapter nodes2025-08-02T16:42:43.956320 - 
2025-08-02T16:42:43.964327 - Could not find VideoHelperSuite nodes2025-08-02T16:42:43.964327 - 
2025-08-02T16:42:43.971333 - ### Loading: ComfyUI-Impact-Pack (V8.8.5)2025-08-02T16:42:43.971333 - 
2025-08-02T16:42:44.027384 - ### Loading: ComfyUI-Impact-Pack (V8.8.5)2025-08-02T16:42:44.027384 - 
2025-08-02T16:42:44.050406 - Loaded ImpactPack nodes from2025-08-02T16:42:44.050406 - [Impact Pack] Wildcards loading done.2025-08-02T16:42:44.050406 -  2025-08-02T16:42:44.050406 - 
2025-08-02T16:42:44.050406 - E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Impact-Pack2025-08-02T16:42:44.050406 - 
2025-08-02T16:42:44.051408 - [Impact Pack] Wildcards loading done.2025-08-02T16:42:44.051408 - 
2025-08-02T16:42:44.103453 - [Crystools INFO] Crystools version: 1.22.1
2025-08-02T16:42:44.136484 - [Crystools INFO] CPU: AMD Ryzen 7 5800X 8-Core Processor - Arch: AMD64 - OS: Windows 10
2025-08-02T16:42:44.146494 - [Crystools INFO] Pynvml (Nvidia) initialized.
2025-08-02T16:42:44.146494 - [Crystools INFO] GPU/s:
2025-08-02T16:42:44.166846 - [Crystools INFO] 0) NVIDIA GeForce RTX 4070 Ti
2025-08-02T16:42:44.166846 - [Crystools INFO] NVIDIA Driver: 560.94
2025-08-02T16:42:44.821446 - [ComfyUI-Easy-Use] server: v1.2.8 Loaded2025-08-02T16:42:44.821446 - 
2025-08-02T16:42:44.821446 - [ComfyUI-Easy-Use] web root: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui-easy-use\web_version/v2 Loaded2025-08-02T16:42:44.821446 - 
2025-08-02T16:42:44.843466 - [Flow Control] Checkpoint presets database : E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Flow-Control\db/checkpoints.json2025-08-02T16:42:44.843466 - 
2025-08-02T16:42:44.849471 - [Flow Control] Flux presets database : E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Flow-Control\db/flux_checkpoints.json2025-08-02T16:42:44.849471 - 
2025-08-02T16:42:44.853475 - [Flow Control] Lora info database : E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Flow-Control\db/loras.json2025-08-02T16:42:44.853475 - 
2025-08-02T16:42:44.855477 - ------------------------------------------2025-08-02T16:42:44.855477 - 
2025-08-02T16:42:44.855477 - Flow Control v1.00 :  15 Nodes Loaded2025-08-02T16:42:44.855477 - 
2025-08-02T16:42:44.855477 - ------------------------------------------2025-08-02T16:42:44.855477 - 
2025-08-02T16:42:44.864485 - ### Loading: ComfyUI-Impact-Pack (V8.8.5)2025-08-02T16:42:44.864485 - 
2025-08-02T16:42:44.881500 - [Impact Pack] Wildcards loading done.2025-08-02T16:42:44.882501 - 
2025-08-02T16:42:44.902519 - (pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider2025-08-02T16:42:44.902519 - 
2025-08-02T16:42:44.902519 - (pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider2025-08-02T16:42:44.902519 - 
2025-08-02T16:42:44.930545 - ### Loading: ComfyUI-Manager (V3.30.4)
2025-08-02T16:42:44.930545 - [ComfyUI-Manager] network_mode: public
2025-08-02T16:42:44.931546 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
2025-08-02T16:42:44.955567 - 
Import times for custom nodes:
2025-08-02T16:42:44.955567 -    0.0 seconds: C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2025-08-02T16:42:44.955567 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui-image-round
2025-08-02T16:42:44.955567 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-GGUF
2025-08-02T16:42:44.955567 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui-wd14-tagger
2025-08-02T16:42:44.955567 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-AutomaticCFG
2025-08-02T16:42:44.955567 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\AIGODLIKE-ComfyUI-Translation
2025-08-02T16:42:44.956569 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Custom-Scripts
2025-08-02T16:42:44.956569 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui_essentials
2025-08-02T16:42:44.956569 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Flow-Control
2025-08-02T16:42:44.956569 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Advanced-ControlNet
2025-08-02T16:42:44.956569 -    0.0 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Impact-Pack
2025-08-02T16:42:44.956569 -    0.0 seconds: C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2025-08-02T16:42:44.956569 -    0.1 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-AnimateDiff-Evolved
2025-08-02T16:42:44.956569 -    0.1 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\ComfyUI-Crystools
2025-08-02T16:42:44.956569 -    0.4 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui-art-venture
2025-08-02T16:42:44.956569 -    0.7 seconds: E:\Stable_Diffusion_project\ComfyUI-guanfang\custom_nodes\comfyui-easy-use
2025-08-02T16:42:44.957570 - 
2025-08-02T16:42:45.409980 - Context impl SQLiteImpl.
2025-08-02T16:42:45.410981 - Will assume non-transactional DDL.
2025-08-02T16:42:45.411982 - No target revision found.
2025-08-02T16:42:45.479043 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-08-02T16:42:45.480044 - Starting server

2025-08-02T16:42:45.480044 - To see the GUI go to: http://127.0.0.1:8189
2025-08-02T16:42:45.482046 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-08-02T16:42:45.564151 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-08-02T16:42:45.620338 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-08-02T16:42:45.651367 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-08-02T16:42:46.973868 - comfyui-frontend-package not found in requirements.txt
2025-08-02T16:42:54.866017 - FETCH ComfyRegistry Data: 5/932025-08-02T16:42:54.866017 - 
2025-08-02T16:43:01.249891 - FETCH ComfyRegistry Data: 10/932025-08-02T16:43:01.249891 - 
2025-08-02T16:43:03.575646 - got prompt
2025-08-02T16:43:03.577648 - Error handling request from 127.0.0.1
Traceback (most recent call last):
  File "E:\Stable_Diffusion_project\ComfyUI-guanfang\.venv\Lib\site-packages\aiohttp\web_protocol.py", line 480, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Stable_Diffusion_project\ComfyUI-guanfang\.venv\Lib\site-packages\aiohttp\web_app.py", line 569, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Stable_Diffusion_project\ComfyUI-guanfang\.venv\Lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\server.py", line 50, in cache_control
    response: web.Response = await handler(request)
                             ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\server.py", line 142, in origin_only_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\lhfd1\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\server.py", line 692, in post_prompt
    valid = await execution.validate_prompt(prompt_id, prompt, partial_execution_targets)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: flow_control_validate() takes 1 positional argument but 3 were given
2025-08-02T16:43:03.593662 - comfyui-frontend-package not found in requirements.txt

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"id":"b8d1830e-cb23-4038-a10f-6fd031797379","revision":0,"last_node_id":9,"last_link_id":9,"nodes":[{"id":7,"type":"CLIPTextEncode","pos":[413,389],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":3,"mode":0,"inputs":[{"label":"clip","localized_name":"clip","name":"clip","type":"CLIP","link":5},{"label":"text","localized_name":"文本","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"label":"CONDITIONING","localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[6]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"CLIPTextEncode"},"widgets_values":["text, watermark"]},{"id":6,"type":"CLIPTextEncode","pos":[415,186],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":2,"mode":0,"inputs":[{"label":"clip","localized_name":"clip","name":"clip","type":"CLIP","link":3},{"label":"text","localized_name":"文本","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"label":"CONDITIONING","localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[4]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"CLIPTextEncode"},"widgets_values":["beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"]},{"id":5,"type":"EmptyLatentImage","pos":[473,609],"size":[315,106],"flags":{},"order":0,"mode":0,"inputs":[{"label":"width","localized_name":"宽度","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"label":"height","localized_name":"高度","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"label":"batch_size","localized_name":"批量大小","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"label":"LATENT","localized_name":"Latent","name":"LATENT","type":"LATENT","slot_index":0,"links":[2]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,512,1]},{"id":3,"type":"KSampler","pos":[863,186],"size":[315,262],"flags":{},"order":4,"mode":0,"inputs":[{"label":"model","localized_name":"模型","name":"model","type":"MODEL","link":1},{"label":"positive","localized_name":"正面条件","name":"positive","type":"CONDITIONING","link":4},{"label":"negative","localized_name":"负面条件","name":"negative","type":"CONDITIONING","link":6},{"label":"latent_image","localized_name":"Latent图像","name":"latent_image","type":"LATENT","link":2},{"label":"seed","localized_name":"种子","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"label":"steps","localized_name":"步数","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"label":"cfg","localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"label":"sampler_name","localized_name":"采样器名称","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"label":"scheduler","localized_name":"调度器","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"label":"denoise","localized_name":"降噪","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"label":"LATENT","localized_name":"Latent","name":"LATENT","type":"LATENT","slot_index":0,"links":[7]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"KSampler"},"widgets_values":[156680208700286,"randomize",20,8,"euler","normal",1]},{"id":8,"type":"VAEDecode","pos":[1209,188],"size":[210,46],"flags":{},"order":5,"mode":0,"inputs":[{"label":"samples","localized_name":"Latent","name":"samples","type":"LATENT","link":7},{"label":"vae","localized_name":"vae","name":"vae","type":"VAE","link":8}],"outputs":[{"label":"IMAGE","localized_name":"图像","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[9]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":9,"type":"SaveImage","pos":[1451,189],"size":[210,58],"flags":{},"order":6,"mode":0,"inputs":[{"label":"images","localized_name":"图片","name":"images","type":"IMAGE","link":9},{"label":"filename_prefix","localized_name":"文件名前缀","name":"filename_prefix","type":"STRING","widget":{"name":"filename_prefix"},"link":null}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"SaveImage"},"widgets_values":["ComfyUI"]},{"id":4,"type":"CheckpointLoaderSimple","pos":[26,474],"size":[315,98],"flags":{},"order":1,"mode":0,"inputs":[{"label":"ckpt_name","localized_name":"Checkpoint名称","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"label":"MODEL","localized_name":"模型","name":"MODEL","type":"MODEL","slot_index":0,"links":[1]},{"label":"CLIP","localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":1,"links":[3,5]},{"label":"VAE","localized_name":"VAE","name":"VAE","type":"VAE","slot_index":2,"links":[8]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.48","Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["ARegularDeepBackground_v10.safetensors"]}],"links":[[1,4,0,3,0,"MODEL"],[2,5,0,3,3,"LATENT"],[3,4,1,6,0,"CLIP"],[4,6,0,3,1,"CONDITIONING"],[5,4,1,7,0,"CLIP"],[6,7,0,3,2,"CONDITIONING"],[7,3,0,8,0,"LATENT"],[8,4,2,8,1,"VAE"],[9,8,0,9,0,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.2100000000000002,"offset":[228.21487603305783,57.925619834710695]}},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

lhfd111 avatar Aug 02 '25 08:08 lhfd111

跟更新本体有关?

alenhrp avatar Aug 02 '25 10:08 alenhrp

I have the same issue today after update

ai4johndoe avatar Aug 02 '25 11:08 ai4johndoe

I have the same issue today after update,return back to the 2025-06-28 version will be ok

gaoyongemail2 avatar Aug 02 '25 12:08 gaoyongemail2

I was having the same problem. I disabled comfyui-resharpen and it started working again. YMMV.

ljagged avatar Aug 02 '25 12:08 ljagged

I was having the same problem. I disabled comfyui-resharpen and it started working again. YMMV.

effective!

alenhrp avatar Aug 02 '25 14:08 alenhrp

这个错误是由于和custom_nodes有些插件冲突,我用这个办法找到我的问题是和这个插件冲突了 comfyui-diffusion-cg.删除就好了 可能你们会和其它有冲突,下面介绍一下我的方法 把custom-nodes一半插件移动到本盘一个新文件夹,然后启动,如果成功,则问题插件在移动走的里面,如果失败,问题插件在留下的里面,然后一半一半测试,直到找到问题插件,其实也挺快的,大约20分钟左右。

This error is due to some plugin conflicts with custom_nodes. I found my problem using this method because it conflicts with this plugin Comfyui diffusion-cg. Just move it You may have conflicts with others, so let me introduce my method below Move half of the custom nodes plugin to a new folder on this drive, and then start it. If successful, the problematic plugin will be in the moved folder. If unsuccessful, the problematic plugin will be in the left folder. Then test half and half until the problematic plugin is found, which is actually quite fast, about 20 minutes.

signerzwb avatar Aug 05 '25 09:08 signerzwb

It seems that comfyui-resharpen is the problem also for me / removed and everything ok

ioamas avatar Aug 06 '25 06:08 ioamas

I tried following the methods mentioned above and found that the issue was with the "ComfyUI Flow Control" folder. After deleting it, everything works fine now

lhfd111 avatar Aug 07 '25 06:08 lhfd111

comfyui-resharpen删除

yjli9998 avatar Aug 07 '25 08:08 yjli9998

I got the same issue but the package that was causing the issue to me was custom_nodes/comfyui-diffusion-cg

I first removed all the folders from custom_nodes, and then put them back little by little until I pinpointed the problematic one

After removing this folder, it worked normally I looked at the nodes names and don't even remember ever using them

I saw that some people had issues with different folders, so I recommend doing this ellimination process. Make sure to reset the server everytime the folders are removed or added back.

danielljunior avatar Aug 09 '25 06:08 danielljunior

Moving the comfyui-resharpen folder out of the custom nodes folder worked for me.

tommyjohn81 avatar Aug 10 '25 18:08 tommyjohn81

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Sep 10 '25 11:09 github-actions[bot]