Skip to content

trouble 1 #200

@TheProdige

Description

@TheProdige

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

ComfyUI Error Report

Error Details

  • Node ID: N/A
  • Node Type: N/A
  • Exception Type: L'exécution de l'invite a échoué
  • 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.14.1
  • Arguments: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/main.py --user-directory /Users/williamhebert/Documents/ComfyUI/user --input-directory /Users/williamhebert/Documents/ComfyUI/input --output-directory /Users/williamhebert/Documents/ComfyUI/output --front-end-root /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app --base-directory /Users/williamhebert/Documents/ComfyUI --database-url sqlite:////Users/williamhebert/Documents/ComfyUI/user/comfyui.db --extra-model-paths-config /Users/williamhebert/Library/Application Support/ComfyUI/extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 --enable-manager
  • OS: darwin
  • Python Version: 3.12.11 (main, Aug 18 2025, 19:02:39) [Clang 20.1.4 ]
  • Embedded Python: false
  • PyTorch Version: 2.10.0

Devices

  • Name: mps
    • Type: mps
    • VRAM Total: 8589934592
    • VRAM Free: 1600012288
    • Torch VRAM Total: 8589934592
    • Torch VRAM Free: 1600012288

Logs

2026-02-22T16:51:02.460769 - Adding extra search path custom_nodes /Users/williamhebert/Documents/ComfyUI/custom_nodes
2026-02-22T16:51:02.460817 - Adding extra search path download_model_base /Users/williamhebert/Documents/ComfyUI/models
2026-02-22T16:51:02.460838 - Adding extra search path custom_nodes /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes
2026-02-22T16:51:02.460855 - Setting output directory to: /Users/williamhebert/Documents/ComfyUI/output
2026-02-22T16:51:02.460874 - Setting input directory to: /Users/williamhebert/Documents/ComfyUI/input
2026-02-22T16:51:02.460885 - Setting user directory to: /Users/williamhebert/Documents/ComfyUI/user
2026-02-22T16:51:02.608905 - [START] Security scan2026-02-22T16:51:02.608917 - 
2026-02-22T16:51:02.651217 - [ComfyUI-Manager] Using uv as Python module for pip operations.
2026-02-22T16:51:02.728402 - [DONE] Security scan2026-02-22T16:51:02.728426 - 
2026-02-22T16:51:02.729345 - ** ComfyUI startup time:2026-02-22T16:51:02.729380 -  2026-02-22T16:51:02.729397 - 2026-02-22 16:51:02.7292026-02-22T16:51:02.729410 - 
2026-02-22T16:51:02.729433 - ** Platform:2026-02-22T16:51:02.729444 -  2026-02-22T16:51:02.729455 - Darwin2026-02-22T16:51:02.729464 - 
2026-02-22T16:51:02.729474 - ** Python version:2026-02-22T16:51:02.729483 -  2026-02-22T16:51:02.729493 - 3.12.11 (main, Aug 18 2025, 19:02:39) [Clang 20.1.4 ]2026-02-22T16:51:02.729502 - 
2026-02-22T16:51:02.729512 - ** Python executable:2026-02-22T16:51:02.729521 -  2026-02-22T16:51:02.729531 - /Users/williamhebert/Documents/ComfyUI/.venv/bin/python2026-02-22T16:51:02.729540 - 
2026-02-22T16:51:02.729551 - ** ComfyUI Path:2026-02-22T16:51:02.729560 -  2026-02-22T16:51:02.729569 - /Applications/ComfyUI.app/Contents/Resources/ComfyUI2026-02-22T16:51:02.729577 - 
2026-02-22T16:51:02.729587 - ** ComfyUI Base Folder Path:2026-02-22T16:51:02.729596 -  2026-02-22T16:51:02.729607 - /Applications/ComfyUI.app/Contents/Resources/ComfyUI2026-02-22T16:51:02.729615 - 
2026-02-22T16:51:02.729624 - ** User directory:2026-02-22T16:51:02.729634 -  2026-02-22T16:51:02.729643 - /Users/williamhebert/Documents/ComfyUI/user2026-02-22T16:51:02.729652 - 
2026-02-22T16:51:02.729661 - ** ComfyUI-Manager config path:2026-02-22T16:51:02.729670 -  2026-02-22T16:51:02.729680 - /Users/williamhebert/Documents/ComfyUI/user/__manager/config.ini2026-02-22T16:51:02.729688 - 
2026-02-22T16:51:02.729700 - ** Log path:2026-02-22T16:51:02.729708 -  2026-02-22T16:51:02.729716 - /Users/williamhebert/Documents/ComfyUI/user/comfyui.log2026-02-22T16:51:02.729725 - 
2026-02-22T16:51:02.788674 - [ComfyUI-Manager] Skipped fixing the 'comfyui-frontend-package' dependency because the ComfyUI is outdated.
2026-02-22T16:51:02.788927 - [PRE] ComfyUI-Manager
2026-02-22T16:51:04.448065 - Found comfy_kitchen backend cuda: {'available': False, 'disabled': True, 'unavailable_reason': 'Extension file not found: /Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/comfy_kitchen/backends/cuda/_C.abi3.so', 'capabilities': []}
2026-02-22T16:51:04.448175 - Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
2026-02-22T16:51:04.448223 - Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
2026-02-22T16:51:04.457232 - Checkpoint files will always be loaded safely.
2026-02-22T16:51:04.496478 - Total VRAM 8192 MB, total RAM 8192 MB
2026-02-22T16:51:04.496555 - pytorch version: 2.10.0
2026-02-22T16:51:04.499115 - Mac Version (15, 1, 1)
2026-02-22T16:51:04.499397 - Set vram state to: SHARED
2026-02-22T16:51:04.499438 - Device: mps
2026-02-22T16:51:04.728375 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2026-02-22T16:51:06.526712 - Python version: 3.12.11 (main, Aug 18 2025, 19:02:39) [Clang 20.1.4 ]
2026-02-22T16:51:06.526784 - ComfyUI version: 0.14.1
2026-02-22T16:51:06.528905 - [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
2026-02-22T16:51:06.529468 - [START] ComfyUI-Manager
2026-02-22T16:51:06.647416 - [ComfyUI-Manager] network_mode: public
2026-02-22T16:51:06.651916 - [ComfyUI-Manager] The matrix sharing feature has been disabled because the `matrix-nio` dependency is not installed.
	To use this feature, please run the following command:
	/Users/williamhebert/Documents/ComfyUI/.venv/bin/python -m pip install matrix-nio

2026-02-22T16:51:07.892111 - Warning: Could not load sageattention: No module named 'sageattention'
2026-02-22T16:51:07.892195 - sageattention package is not installed, sageattention will not be available
2026-02-22T16:51:08.534303 - 
2026-02-22T16:51:08.534342 - �[92m[rgthree-comfy] Loaded 48 epic nodes. 🎉�[0m2026-02-22T16:51:08.534357 - 
2026-02-22T16:51:08.534370 - 
2026-02-22T16:51:08.534392 - �[33m[rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
�[0m2026-02-22T16:51:08.534404 - 
2026-02-22T16:51:09.582890 - /Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_kandinsky.py:168: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.
  @torch.autocast(device_type="cuda", dtype=torch.float32)
2026-02-22T16:51:09.584278 - /Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/diffusers/models/transformers/transformer_kandinsky.py:272: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.
  @torch.autocast(device_type="cuda", dtype=torch.float32)
2026-02-22T16:51:09.903314 - �[34m[ComfyUI-Easy-Use] server: �[0mv1.3.6 �[92mLoaded�[0m2026-02-22T16:51:09.903344 - 
2026-02-22T16:51:09.903360 - �[34m[ComfyUI-Easy-Use] web root: �[0m/Users/williamhebert/Documents/ComfyUI/custom_nodes/comfyui-easy-use/web_version/v2 �[92mLoaded�[0m2026-02-22T16:51:09.903372 - 
2026-02-22T16:51:09.952225 - �[92m[PromptModels Studio] 🚀 Loading custom nodes for ComfyUI...�[0m2026-02-22T16:51:09.952268 - 
2026-02-22T16:51:09.954153 - [ComfyDeploy] ✅ get_last_frame importado correctamente2026-02-22T16:51:09.954172 - 
2026-02-22T16:51:09.954191 - �[92m[GetLastFrame] ✅ Loaded�[0m2026-02-22T16:51:09.954203 - 
2026-02-22T16:51:09.955277 - �[92m[TextPromptBlocker] ✅ Loaded�[0m2026-02-22T16:51:09.955290 - 
2026-02-22T16:51:09.955456 - �[92m[DivisorDePrompts] ✅ Loaded�[0m2026-02-22T16:51:09.955467 - 
2026-02-22T16:51:09.956880 - ✓ GETSETNODE_PRO v1.0.0 loaded2026-02-22T16:51:09.956901 - 
2026-02-22T16:51:09.956921 - �[92m[GETSETNODE_PRO] ✅ Loaded�[0m2026-02-22T16:51:09.956933 - 
2026-02-22T16:51:09.959399 - [GoogleAI] Ruta registrada: /google-ai/health
2026-02-22T16:51:09.959531 - 
=================================================================
  ✅ ComfyUI_GoogleAI V2.4.3 — 12 nodos
  🔤 Texto  | 👁️ Vision (Nano Banana)
  🎨 Imagen: Nano Banana Pro/Flash + Imagen 4 (5 pines ref)
  🎬 Veo 3.1 + 🔊 Audio ffmpeg | 🔍 Diagnóstico (5 nodos)
  🛠️  Video: transcodificación H.264 + diagnóstico automático
  💡 Error Explainer → ComfyUI_UniversalErrorExplainer
=================================================================
2026-02-22T16:51:09.959549 - 
2026-02-22T16:51:09.959567 - �[92m[ComfyUI-GoogleAI] ✅ Loaded (V2.4.3 — 12 Nodos: Nano Banana/Imagen4/Veo3.1/Diag)�[0m2026-02-22T16:51:09.959578 - 
2026-02-22T16:51:09.961390 - �[92m[ComfyUI-GrokAI] ✅ Loaded (xAI Integration)�[0m2026-02-22T16:51:09.961403 - 
2026-02-22T16:51:09.962379 - ✅ ComfyUI Selectores Pro cargado (4 nodos)2026-02-22T16:51:09.962392 - 
2026-02-22T16:51:09.962407 - �[92m[Selectores Pro] ✅ Loaded�[0m2026-02-22T16:51:09.962417 - 
2026-02-22T16:51:09.962427 - �[93m[PromptModels Studio] 📦 Total nodes loaded: 34�[0m2026-02-22T16:51:09.962436 - 
2026-02-22T16:51:09.962445 - �[92m[PromptModels Studio] ✅ Ready!�[0m2026-02-22T16:51:09.962455 - 
2026-02-22T16:51:15.989881 - Matplotlib is building the font cache; this may take a moment.
2026-02-22T16:51:23.939801 - Failed to extract font properties from /System/Library/Fonts/Apple Color Emoji.ttc: Could not set the fontsize (invalid pixel size; error code 0x17)
2026-02-22T16:51:23.948376 - Failed to extract font properties from /System/Library/Fonts/Supplemental/NISC18030.ttf: Could not set the fontsize (invalid pixel size; error code 0x17)
2026-02-22T16:51:23.950327 - Failed to extract font properties from /System/Library/Fonts/LastResort.otf: tuple indices must be integers or slices, not str
2026-02-22T16:51:23.989321 - Failed to extract font properties from /System/Library/PrivateFrameworks/FontServices.framework/Resources/Reserved/PingFangUI.ttc: Can not load face (locations (loca) table missing; error code 0x90)
2026-02-22T16:51:24.098862 - generated new fontManager
2026-02-22T16:51:24.460517 - 
Import times for custom nodes:
2026-02-22T16:51:24.460612 -    0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
2026-02-22T16:51:24.460647 -    0.0 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/promptmodels
2026-02-22T16:51:24.460677 -    0.0 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/comfyui-kjnodes
2026-02-22T16:51:24.460702 -    0.0 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/rgthree-comfy
2026-02-22T16:51:24.460724 -    0.0 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
2026-02-22T16:51:24.460745 -    0.7 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/ComfyUI-WanVideoWrapper
2026-02-22T16:51:24.460766 -    1.4 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/comfyui-easy-use
2026-02-22T16:51:24.460783 -   14.5 seconds: /Users/williamhebert/Documents/ComfyUI/custom_nodes/ComfyUI-WanAnimatePreprocess
2026-02-22T16:51:24.460811 - 
2026-02-22T16:51:24.469031 - Context impl SQLiteImpl.
2026-02-22T16:51:24.469079 - Will assume non-transactional DDL.
2026-02-22T16:51:24.488523 - Assets scan(roots=['models']) completed in 0.016s (created=0, skipped_existing=6, orphans_pruned=0, total_seen=6)
2026-02-22T16:51:24.529027 - Starting server

2026-02-22T16:51:24.529786 - To see the GUI go to: http://127.0.0.1:8000
2026-02-22T16:51:26.949213 - [ComfyUI-Manager] The ComfyRegistry cache update is still in progress, so an outdated cache is being used.
2026-02-22T16:51:26.984237 - FETCH DATA from: /Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/comfyui_manager/custom-node-list.json2026-02-22T16:51:26.984261 - 2026-02-22T16:51:26.997106 -  [DONE]2026-02-22T16:51:26.997155 - 
2026-02-22T16:52:54.729046 - FETCH ComfyRegistry Data [DONE]
2026-02-22T16:52:54.869321 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2026-02-22T16:52:54.905620 - FETCH DATA from: /Users/williamhebert/Documents/ComfyUI/user/__manager/cache/1514988643_custom-node-list.json2026-02-22T16:52:54.905649 - 2026-02-22T16:52:54.917938 -  [DONE]2026-02-22T16:52:54.917966 - 
2026-02-22T16:52:54.932711 - [ComfyUI-Manager] All startup tasks have been completed.
2026-02-22T16:54:52.220946 - got prompt
2026-02-22T16:54:52.261507 - Error handling request from 127.0.0.1
Traceback (most recent call last):
  File "/Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/aiohttp/web_app.py", line 569, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/middleware/cache_middleware.py", line 27, in cache_control
    response: web.Response = await handler(request)
                             ^^^^^^^^^^^^^^^^^^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/server.py", line 84, in deprecation_warning
    response: web.Response = await handler(request)
                             ^^^^^^^^^^^^^^^^^^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/server.py", line 174, in origin_only_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/williamhebert/Documents/ComfyUI/.venv/lib/python3.12/site-packages/comfyui_manager/__init__.py", line 100, in manager_middleware
    response: web.Response = await handler(request)
                             ^^^^^^^^^^^^^^^^^^^^^^
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/server.py", line 892, in post_prompt
    self.node_replace_manager.apply_replacements(prompt)
  File "/Applications/ComfyUI.app/Contents/Resources/ComfyUI/app/node_replace_manager.py", line 49, in apply_replacements
    class_type = node_struct["class_type"]
                 ~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'class_type'

Attached Workflow

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

Workflow too large. Please manually upload the workflow from local file system.

Additional Context

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions