ComfyUI setup issues
2025-06-2822 turns48,624 charsgpt-4o
Summary
User troubleshooting ComfyUI setup issues including missing nodes and invalid prompt errors on macOS.
Messages
## ComfyUI-Manager: installing dependencies done.
[2025-06-27 23:10:30.598] ** ComfyUI startup time: 2025-06-27 23:10:30.598
[2025-06-27 23:10:30.598] ** Platform: Darwin
[2025-06-27 23:10:30.598] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:10:30.598] ** Python executable: /Users/danielkliewer/Documents/ComfyUI/.venv/bin/python
[2025-06-27 23:10:30.598] ** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:10:30.598] ** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:10:30.598] ** User directory: /Users/danielkliewer/Documents/ComfyUI/user
[2025-06-27 23:10:30.598] ** ComfyUI-Manager config path: /Users/danielkliewer/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-06-27 23:10:30.598] ** Log path: /Users/danielkliewer/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
[2025-06-27 23:10:30.836] expected str, bytes or os.PathLike object, not NoneType
[2025-06-27 23:10:30.836]
Prestartup times for custom nodes:
[2025-06-27 23:10:30.836] 0.7 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:10:30.836]
[2025-06-27 23:10:31.440] Checkpoint files will always be loaded safely.
[2025-06-27 23:10:31.455] Total VRAM 49152 MB, total RAM 49152 MB
[2025-06-27 23:10:31.455] pytorch version: 2.7.1
[2025-06-27 23:10:31.456] Mac Version (15, 5)
[2025-06-27 23:10:31.456] Set vram state to: DISABLED
[2025-06-27 23:10:31.456] Device: cpu
[2025-06-27 23:10:32.063] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-06-27 23:10:33.125] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:10:33.125] ComfyUI version: 0.3.43
[2025-06-27 23:10:33.126] [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
[2025-06-27 23:10:33.514] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-06-27 23:10:33.514] [ComfyUI-Manager] network_mode: public
[2025-06-27 23:10:33.523] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-06-27 23:10:33.528]
Import times for custom nodes:
[2025-06-27 23:10:33.528] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-06-27 23:10:33.528] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:10:33.528] 0.1 seconds: /Users/danielkliewer/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
[2025-06-27 23:10:33.528]
[2025-06-27 23:10:33.684] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-06-27 23:10:33.745] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-06-27 23:10:33.746] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-06-27 23:10:33.752] Starting server
[2025-06-27 23:10:33.754] To see the GUI go to: http://127.0.0.1:8000
[2025-06-27 23:10:33.763] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-06-27 23:10:33.766] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-06-27 23:10:33.773] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-06-27 23:10:37.226] FETCH ComfyRegistry Data: 5/90
[2025-06-27 23:10:40.941] FETCH ComfyRegistry Data: 10/90
[2025-06-27 23:10:44.607] FETCH ComfyRegistry Data: 15/90
[2025-06-27 23:10:48.335] FETCH ComfyRegistry Data: 20/90
[2025-06-27 23:10:52.029] FETCH ComfyRegistry Data: 25/90
[2025-06-27 23:10:55.779] FETCH ComfyRegistry Data: 30/90
[2025-06-27 23:10:58.860] got prompt
[2025-06-27 23:10:58.882] Using split attention in VAE
[2025-06-27 23:10:58.883] Using split attention in VAE
[2025-06-27 23:10:58.973] VAE load device: cpu, offload device: cpu, dtype: torch.float32
[2025-06-27 23:10:59.006] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-06-27 23:10:59.273] Requested to load WanTEModel
[2025-06-27 23:10:59.276] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-06-27 23:10:59.276] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-06-27 23:10:59.620] FETCH ComfyRegistry Data: 35/90
[2025-06-27 23:11:03.718] FETCH ComfyRegistry Data: 40/90
[2025-06-27 23:11:07.515] FETCH ComfyRegistry Data: 45/90
[2025-06-27 23:11:10.214] model weight dtype torch.float32, manual cast: None
[2025-06-27 23:11:10.214] model_type FLOW
[2025-06-27 23:11:11.252] FETCH ComfyRegistry Data: 50/90
[2025-06-27 23:11:15.131] FETCH ComfyRegistry Data: 55/90
[2025-06-27 23:11:19.005] FETCH ComfyRegistry Data: 60/90
[2025-06-27 23:11:25.541] FETCH ComfyRegistry Data: 65/90
[2025-06-27 23:11:31.100] FETCH ComfyRegistry Data: 70/90
[2025-06-27 23:11:35.898] FETCH ComfyRegistry Data: 75/90
[2025-06-27 23:11:41.424] FETCH ComfyRegistry Data: 80/90
[2025-06-27 23:11:46.158] FETCH ComfyRegistry Data: 85/90
[2025-06-27 23:11:50.569] FETCH ComfyRegistry Data: 90/90
[2025-06-27 23:11:51.095] FETCH ComfyRegistry Data [DONE]
[2025-06-27 23:11:55.581] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
[2025-06-27 23:12:18.273] nightly_channel:
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
[2025-06-27 23:12:18.747] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
Thanks for sharing the ComfyUI log. Based on this output, your setup is mostly working but there are **two key issues** to address:
---
### ⚠️ Issues
#### 1. **`Failed to restore comfyui-frontend-package`**
This likely means the UI assets (frontend files like JS/CSS for the GUI) didn’t restore correctly.
**Fix:**
Try reinstalling the frontend manually:
```bash
cd /Applications/ComfyUI.app/Contents/Resources/ComfyUI
git clone https://github.com/comfyanonymous/ComfyUI.git frontend
```
Or if it's already there but corrupted, delete and re-clone the `frontend` or reinstall via the ComfyUI-Manager GUI if available.
---
#### 2. **`sqlite3.OperationalError: unable to open database file`**
This error is coming from the ComfyUI-Manager trying to access or create a SQLite database but failing due to file permissions or path issues.
**Fix:**
Make sure the `user/default/ComfyUI-Manager/` folder exists and has proper write permissions.
You can run:
```bash
mkdir -p ~/Documents/ComfyUI/user/default/ComfyUI-Manager
chmod -R 755 ~/Documents/ComfyUI/user/
```
If the file it’s trying to open is hardcoded and missing, you can also manually touch it:
```bash
touch ~/Documents/ComfyUI/user/default/ComfyUI-Manager/comfyui_manager.db
```
---
### ✅ Everything Else Seems Fine
- Your install is running on **macOS 15.5** (Sonoma).
- Using **PyTorch 2.7.1** and **Python 3.12.9**.
- It correctly detects your system has **48 GB of RAM/VRAM**, and defaults to `cpu` execution.
- Model loading, VAE, and registry fetches all complete successfully.
---
### 💡 Optional Optimizations
- Since you're running CPU-only, consider enabling:
```bash
--use-split-cross-attention
```
if you're seeing performance issues.
- Add the following alias or shell script to simplify launching in a terminal if needed:
```bash
alias comfyui='cd /Applications/ComfyUI.app/Contents/Resources/ComfyUI && source .venv/bin/activate && python main.py'
```
---
Would you like a minimal CLI script to fully reinstall the ComfyUI frontend and fix permissions in one go?
gpt-4o
## ComfyUI-Manager: installing dependencies done.
[2025-06-27 23:23:13.857] ** ComfyUI startup time: 2025-06-27 23:23:13.857
[2025-06-27 23:23:13.857] ** Platform: Darwin
[2025-06-27 23:23:13.857] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:23:13.857] ** Python executable: /Users/danielkliewer/Documents/ComfyUI/.venv/bin/python
[2025-06-27 23:23:13.857] ** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:23:13.857] ** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:23:13.857] ** User directory: /Users/danielkliewer/Documents/ComfyUI/user
[2025-06-27 23:23:13.857] ** ComfyUI-Manager config path: /Users/danielkliewer/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-06-27 23:23:13.857] ** Log path: /Users/danielkliewer/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
[2025-06-27 23:23:14.090] expected str, bytes or os.PathLike object, not NoneType
[2025-06-27 23:23:14.091]
Prestartup times for custom nodes:
[2025-06-27 23:23:14.091] 0.7 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:23:14.091]
[2025-06-27 23:23:14.711] Checkpoint files will always be loaded safely.
[2025-06-27 23:23:14.726] Total VRAM 49152 MB, total RAM 49152 MB
[2025-06-27 23:23:14.726] pytorch version: 2.7.1
[2025-06-27 23:23:14.727] Mac Version (15, 5)
[2025-06-27 23:23:14.727] Set vram state to: DISABLED
[2025-06-27 23:23:14.727] Device: cpu
[2025-06-27 23:23:15.414] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-06-27 23:23:16.510] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:23:16.510] ComfyUI version: 0.3.43
[2025-06-27 23:23:16.511] [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
[2025-06-27 23:23:16.923] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-06-27 23:23:16.923] [ComfyUI-Manager] network_mode: public
[2025-06-27 23:23:16.932] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-06-27 23:23:16.937]
Import times for custom nodes:
[2025-06-27 23:23:16.937] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-06-27 23:23:16.937] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:23:16.937] 0.1 seconds: /Users/danielkliewer/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
[2025-06-27 23:23:16.937]
[2025-06-27 23:23:17.142] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-06-27 23:23:17.146] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-06-27 23:23:17.158] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-06-27 23:23:17.161] Starting server
[2025-06-27 23:23:17.161] To see the GUI go to: http://127.0.0.1:8000
[2025-06-27 23:23:17.197] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-06-27 23:23:17.245] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-06-27 23:23:17.263] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-06-27 23:23:20.518] FETCH ComfyRegistry Data: 5/90
[2025-06-27 23:23:20.982] got prompt
[2025-06-27 23:23:21.004] Using split attention in VAE
[2025-06-27 23:23:21.005] Using split attention in VAE
[2025-06-27 23:23:21.094] VAE load device: cpu, offload device: cpu, dtype: torch.float32
[2025-06-27 23:23:21.127] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-06-27 23:23:21.374] Requested to load WanTEModel
[2025-06-27 23:23:21.377] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-06-27 23:23:21.378] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-06-27 23:23:24.333] FETCH ComfyRegistry Data: 10/90
[2025-06-27 23:23:27.986] FETCH ComfyRegistry Data: 15/90
[2025-06-27 23:23:31.823] FETCH ComfyRegistry Data: 20/90
[2025-06-27 23:23:31.831] model weight dtype torch.float32, manual cast: None
[2025-06-27 23:23:31.831] model_type FLOW
[2025-06-27 23:23:35.562] FETCH ComfyRegistry Data: 25/90
[2025-06-27 23:23:39.858] FETCH ComfyRegistry Data: 30/90
[2025-06-27 23:23:43.598] FETCH ComfyRegistry Data: 35/90
[2025-06-27 23:23:48.166] FETCH ComfyRegistry Data: 40/90
[2025-06-27 23:23:54.624] FETCH ComfyRegistry Data: 45/90
[2025-06-27 23:23:59.935] FETCH ComfyRegistry Data: 50/90
[2025-06-27 23:24:04.647] FETCH ComfyRegistry Data: 55/90
[2025-06-27 23:24:10.986] FETCH ComfyRegistry Data: 60/90
[2025-06-27 23:24:15.107] FETCH ComfyRegistry Data: 65/90
[2025-06-27 23:24:22.504] FETCH ComfyRegistry Data: 70/90
[2025-06-27 23:24:26.805] FETCH ComfyRegistry Data: 75/90
[2025-06-27 23:24:30.646] FETCH ComfyRegistry Data: 80/90
Thanks, this updated log confirms the **same two issues are persisting**, but everything else is functioning smoothly:
---
## ✅ What’s Working
- **ComfyUI is running and responsive.**
- Models are loading on `CPU`.
- Custom nodes (`videohelpersuite`, `websocket_image_save.py`) are successfully imported.
- Prompt processing and ComfyRegistry fetching is proceeding without issues.
---
## ❗ What’s Still Broken
### 1. `Failed to restore comfyui-frontend-package`
This happens because ComfyUI is **not inside a Git repository**, and so ComfyUI-Manager can’t fetch/update the frontend.
#### ✅ Fix:
If you’re using the **App version** from `.dmg` or `.app`, it doesn’t come as a Git repo. To fix this:
**Option A: Switch to Git-Based Install (recommended for devs)**
```bash
# Backup anything custom first
cd ~/Documents
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python main.py
```
**Option B: Ignore this Warning**
This issue only matters if you want **live updating from ComfyUI-Manager**. If the frontend works, you can ignore this warning unless a feature you need is missing or broken.
---
### 2. `sqlite3.OperationalError: unable to open database file`
ComfyUI-Manager can’t write to its SQLite DB file.
#### ✅ Fix:
Run the following to **ensure proper path and permissions**:
```bash
mkdir -p ~/Documents/ComfyUI/user/default/ComfyUI-Manager
touch ~/Documents/ComfyUI/user/default/ComfyUI-Manager/comfyui_manager.db
chmod -R 755 ~/Documents/ComfyUI/user
```
> If that still fails, try deleting the entire `~/Documents/ComfyUI/user/default/ComfyUI-Manager/` folder and letting ComfyUI recreate it.
---
## 🛠 Optional: Minimal One-Liner Fix Script (macOS Bash)
```bash
mkdir -p ~/Documents/ComfyUI/user/default/ComfyUI-Manager && \
touch ~/Documents/ComfyUI/user/default/ComfyUI-Manager/comfyui_manager.db && \
chmod -R 755 ~/Documents/ComfyUI/user
```
---
Would you like me to write a full shell script that auto-fixes both issues and relaunches ComfyUI for you?
gpt-4o
## ComfyUI-Manager: installing dependencies done.
[2025-06-27 23:28:45.643] ** ComfyUI startup time: 2025-06-27 23:28:45.643
[2025-06-27 23:28:45.643] ** Platform: Darwin
[2025-06-27 23:28:45.643] ** Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:28:45.643] ** Python executable: /Users/danielkliewer/Documents/ComfyUI/.venv/bin/python
[2025-06-27 23:28:45.643] ** ComfyUI Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:28:45.643] ** ComfyUI Base Folder Path: /Applications/ComfyUI.app/Contents/Resources/ComfyUI
[2025-06-27 23:28:45.643] ** User directory: /Users/danielkliewer/Documents/ComfyUI/user
[2025-06-27 23:28:45.643] ** ComfyUI-Manager config path: /Users/danielkliewer/Documents/ComfyUI/user/default/ComfyUI-Manager/config.ini
[2025-06-27 23:28:45.643] ** Log path: /Users/danielkliewer/Documents/ComfyUI/user/comfyui.log
[ComfyUI-Manager] Failed to restore comfyui-frontend-package
[2025-06-27 23:28:45.876] expected str, bytes or os.PathLike object, not NoneType
[2025-06-27 23:28:45.876]
Prestartup times for custom nodes:
[2025-06-27 23:28:45.876] 0.6 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:28:45.876]
[2025-06-27 23:28:46.457] Checkpoint files will always be loaded safely.
[2025-06-27 23:28:46.470] Total VRAM 49152 MB, total RAM 49152 MB
[2025-06-27 23:28:46.470] pytorch version: 2.7.1
[2025-06-27 23:28:46.471] Mac Version (15, 5)
[2025-06-27 23:28:46.471] Set vram state to: DISABLED
[2025-06-27 23:28:46.471] Device: cpu
[2025-06-27 23:28:47.076] Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
[2025-06-27 23:28:48.122] Python version: 3.12.9 (main, Feb 12 2025, 15:09:19) [Clang 19.1.6 ]
[2025-06-27 23:28:48.122] ComfyUI version: 0.3.43
[2025-06-27 23:28:48.123] [Prompt Server] web root: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/web_custom_versions/desktop_app
[2025-06-27 23:28:48.498] ### Loading: ComfyUI-Manager (V3.30.4)
[2025-06-27 23:28:48.499] [ComfyUI-Manager] network_mode: public
[2025-06-27 23:28:48.508] ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)
[2025-06-27 23:28:48.513]
Import times for custom nodes:
[2025-06-27 23:28:48.513] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/websocket_image_save.py
[2025-06-27 23:28:48.513] 0.0 seconds: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/custom_nodes/ComfyUI-Manager
[2025-06-27 23:28:48.513] 0.1 seconds: /Users/danielkliewer/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite
[2025-06-27 23:28:48.513]
[2025-06-27 23:28:48.707] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-06-27 23:28:48.711] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-06-27 23:28:48.720] Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file
(Background on this error at: https://sqlalche.me/e/20/e3q8)
[2025-06-27 23:28:48.723] Starting server
[2025-06-27 23:28:48.724] To see the GUI go to: http://127.0.0.1:8000
[2025-06-27 23:28:48.760] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-06-27 23:28:48.806] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-06-27 23:28:48.823] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-06-27 23:28:52.201] FETCH ComfyRegistry Data: 5/90
[2025-06-27 23:28:52.549] got prompt
[2025-06-27 23:28:52.568] Using split attention in VAE
[2025-06-27 23:28:52.569] Using split attention in VAE
[2025-06-27 23:28:52.658] VAE load device: cpu, offload device: cpu, dtype: torch.float32
[2025-06-27 23:28:52.689] Using scaled fp8: fp8 matrix mult: False, scale input: False
[2025-06-27 23:28:52.959] Requested to load WanTEModel
[2025-06-27 23:28:52.964] loaded completely 9.5367431640625e+25 6419.477203369141 True
[2025-06-27 23:28:52.964] CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
[2025-06-27 23:28:56.321] FETCH ComfyRegistry Data: 10/90
[2025-06-27 23:29:00.186] FETCH ComfyRegistry Data: 15/90
[2025-06-27 23:29:03.379] model weight dtype torch.float32, manual cast: None
[2025-06-27 23:29:03.380] model_type FLOW
[2025-06-27 23:29:03.909] FETCH ComfyRegistry Data: 20/90
[2025-06-27 23:29:07.709] FETCH ComfyRegistry Data: 25/90
[2025-06-27 23:29:16.838] FETCH ComfyRegistry Data: 30/90
[2025-06-27 23:29:20.690] FETCH ComfyRegistry Data: 35/90
[2025-06-27 23:29:25.402] FETCH ComfyRegistry Data: 40/90
[2025-06-27 23:29:30.390] FETCH ComfyRegistry Data: 45/90
[2025-06-27 23:29:34.780] FETCH ComfyRegistry Data: 50/90
[2025-06-27 23:29:38.778] FETCH ComfyRegistry Data: 55/90
[2025-06-27 23:29:44.833] FETCH ComfyRegistry Data: 60/90
You're **almost there** — ComfyUI is fully functional, but the **two warnings persist**. Here's a final summary **with a full fix script** to clean it up completely.
---
## 🛑 Errors Still Occurring
### 1. `Failed to restore comfyui-frontend-package`
**Reason:** Your `.app` install isn't a Git repo, so it can't update the frontend automatically.
🔧 **Solution:** Either ignore it if the GUI works, **or use a Git-based install instead**.
---
### 2. `sqlite3.OperationalError: unable to open database file`
**Reason:** The ComfyUI-Manager can't create or access its SQLite DB, usually due to:
- Missing `comfyui_manager.db` file
- Incorrect folder permissions
🔧 **Solution: Fix directory and permissions.**
---
## ✅ One-Line Terminal Fix (Paste this in Terminal)
```bash
mkdir -p ~/Documents/ComfyUI/user/default/ComfyUI-Manager && touch ~/Documents/ComfyUI/user/default/ComfyUI-Manager/comfyui_manager.db && chmod -R 755 ~/Documents/ComfyUI/user
```
This:
- Creates the required folder structure
- Ensures a blank SQLite DB exists
- Grants proper permissions for reading/writing
---
## 🧰 Optional: Full Shell Script to Repair Everything
If you'd like to run a more robust script that:
- Fixes the DB issue
- Preps you for switching to Git-based ComfyUI
- Makes launching easier
```bash
#!/bin/bash
echo "🔧 Fixing ComfyUI-Manager DB permissions..."
mkdir -p ~/Documents/ComfyUI/user/default/ComfyUI-Manager
touch ~/Documents/ComfyUI/user/default/ComfyUI-Manager/comfyui_manager.db
chmod -R 755 ~/Documents/ComfyUI/user
echo "✅ Database folder prepared."
echo "🧹 (Optional) Cleaning frontend package errors — this won't affect function if you're using the .app version."
# Optional Git clone setup instructions
read -p "Do you want to clone ComfyUI as a Git repo (recommended for devs)? [y/N] " yn
if [[ $yn == [Yy]* ]]; then
cd ~/Documents
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
echo "🚀 Run with: source .venv/bin/activate && python main.py"
else
echo "👍 Staying on the .app version. Errors will be cosmetic only."
fi
```
Save this as `fix_comfy.sh`, then run:
```bash
chmod +x fix_comfy.sh
./fix_comfy.sh
```
---
Let me know if you want to **migrate your models/custom nodes** into the Git version cleanly — I can script that too.
gpt-4o
missing VHS_VideoCombine
The error `missing VHS_VideoCombine` means that **ComfyUI can't find the `VHS_VideoCombine` node**, which is part of the **`comfyui-videohelpersuite`** custom node pack you're using.
---
## ✅ Steps to Fix `VHS_VideoCombine` Missing
### 1. **Check That You Installed the Correct Repo**
The node should come from:
👉 **Repo:** [https://github.com/WASasquatch/comfyui-videohelpersuite](https://github.com/WASasquatch/comfyui-videohelpersuite)
If it's not that exact one, delete your current one and reinstall it:
```bash
cd ~/Documents/ComfyUI/custom_nodes
rm -rf comfyui-videohelpersuite
git clone https://github.com/WASasquatch/comfyui-videohelpersuite.git
```
---
### 2. **Make Sure It’s Properly Installed**
After cloning, make sure the path looks like this:
```bash
~/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite/__init__.py
~/Documents/ComfyUI/custom_nodes/comfyui-videohelpersuite/nodes/VHS_VideoCombine.py
```
If `VHS_VideoCombine.py` is missing, the node isn't in the repo or it changed names.
---
### 3. **Verify the Node Is Registered**
Restart ComfyUI completely and watch for output like:
```
Loaded custom node: VHS_VideoCombine
```
If you don’t see that, it's not being picked up.
---
### 4. **Force Reload ComfyUI Nodes**
You can also do this in the ComfyUI web interface:
- Open http://127.0.0.1:8000
- Use the "Manager" tab
- Click **Reload Custom Nodes**
Or do it via CLI:
```bash
pkill -f ComfyUI # or just close the app
python main.py # or re-launch ComfyUI
```
---
### 5. **Check for Errors in Logs**
If it's still missing, check `~/Documents/ComfyUI/user/comfyui.log` for messages related to `VHS_VideoCombine`.
Common problems:
- Python syntax error in the node file
- Missing dependencies (e.g., `ffmpeg-python`, `moviepy`)
Install video dependencies if needed:
```bash
pip install ffmpeg-python moviepy
```
---
Would you like me to fetch or recreate a working version of `VHS_VideoCombine` for your current version of ComfyUI?
gpt-4o
got prompt
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
That error means **one of the nodes in your workflow is broken or partially loaded**, specifically:
> **`Cannot execute because a node is missing the class_type property.`**
> → Node ID: `#48`
---
## 🧠 What This Error Means
Every node in a ComfyUI graph must define a `class_type` (usually the name of the node class, like `VHS_VideoCombine`, `KSampler`, etc.). When that property is missing:
- The node is *not recognized* as a valid node type
- ComfyUI **refuses to run the graph**
- You get the “invalid prompt” error
---
## ✅ How to Fix It
### 1. **Find and Delete/Replace the Broken Node**
Open the ComfyUI GUI:
- Go to [http://127.0.0.1:8000](http://127.0.0.1:8000)
- Look for a **gray box** or a node with a **red header**, probably marked `#48`
- Hover over it, and you'll likely see no title or "missing node"
- **Delete it** or **replace it** with the correct one
---
### 2. **Reimport or Reinstall the Node That Was Supposed to Be There**
If this came from a saved workflow (`.json`), then it relied on a node that:
- **No longer exists** (e.g., you deleted `comfyui-videohelpersuite`)
- **Was renamed** (node class changed name)
- **Failed to register** during startup
🔧 Fix:
- Reinstall the node repo (like `comfyui-videohelpersuite`)
- Check it registers cleanly
- Restart ComfyUI
---
### 3. **Optional: Edit the Prompt JSON Manually**
If you want to salvage your `.json` workflow without the broken node:
1. Open your workflow file in a text editor.
2. Find the object with `"id": 48`.
3. Delete that node block.
4. Also delete any connection edges that reference node 48.
5. Save and reimport into ComfyUI.
---
## 🚨 Bonus Tip: Enable Developer Logs
To see these errors more clearly in the ComfyUI UI:
- Go to the browser dev console (`Cmd+Option+I` on Mac)
- Reload the page
- See if any broken nodes throw tracebacks during UI load
---
Would you like me to analyze or auto-repair a workflow `.json` file if you upload it here?
gpt-4o
# ComfyUI Error Report
## Error Details
- **Node ID:** N/A
- **Node Type:** N/A
- **Exception Type:** Prompt execution failed
- **Exception Message:** Cannot execute because a node is missing the class_type property.: Node ID '#48'
## Stack Trace
```
Error: Prompt execution failed
at ComfyApi.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:121273:13)
at async ComfyApp.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:275920:25)
at async function (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:6886:9)
at async http://127.0.0.1:8188/assets/index-CWzmkThr.js:207325:14
at async Proxy.execute (http://127.0.0.1:8188/assets/index-CWzmkThr.js:208969:7)
at async queuePrompt (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:5324:7)
```
## System Information
- **ComfyUI Version:** 0.3.43
- **Arguments:** main.py
- **OS:** posix
- **Python Version:** 3.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)]
- **Embedded Python:** false
- **PyTorch Version:** 2.7.1
## Devices
- **Name:** mps
- **Type:** mps
- **VRAM Total:** 51539607552
- **VRAM Free:** 39471104000
- **Torch VRAM Total:** 51539607552
- **Torch VRAM Free:** 39471104000
## Logs
```
2025-06-28T00:01:13.848535 - Checkpoint files will always be loaded safely.
2025-06-28T00:01:13.874573 - Total VRAM 49152 MB, total RAM 49152 MB
2025-06-28T00:01:13.874607 - pytorch version: 2.7.1
2025-06-28T00:01:13.878898 - Mac Version (15, 5)
2025-06-28T00:01:13.878980 - Set vram state to: SHARED
2025-06-28T00:01:13.879001 - Device: mps
2025-06-28T00:01:14.597305 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-06-28T00:01:15.924433 - Python version: 3.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)]
2025-06-28T00:01:15.924467 - ComfyUI version: 0.3.43
2025-06-28T00:01:15.925807 - ComfyUI frontend version: 1.23.4
2025-06-28T00:01:15.926368 - [Prompt Server] web root: /Users/danielkliewer/com01/ComfyUI/.venv/lib/python3.13/site-packages/comfyui_frontend_package/static
2025-06-28T00:01:16.277087 - [VideoHelperSuite] - [0;33mWARNING[0m - Failed to import imageio_ffmpeg
2025-06-28T00:01:16.283496 - Traceback (most recent call last):
File "/Users/danielkliewer/com01/ComfyUI/nodes.py", line 2124, in load_custom_node
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/Users/danielkliewer/com01/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/__init__.py", line 1, in <module>
from .videohelpersuite.nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "/Users/danielkliewer/com01/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/nodes.py", line 20, in <module>
from .load_video_nodes import LoadVideoUpload, LoadVideoPath, LoadVideoFFmpegUpload, LoadVideoFFmpegPath, LoadImagePath
File "/Users/danielkliewer/com01/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite/videohelpersuite/load_video_nodes.py", line 6, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
2025-06-28T00:01:16.283683 - Cannot import /Users/danielkliewer/com01/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite module for custom nodes: No module named 'cv2'
2025-06-28T00:01:16.284104 -
Import times for custom nodes:
2025-06-28T00:01:16.284125 - 0.0 seconds: /Users/danielkliewer/com01/ComfyUI/custom_nodes/websocket_image_save.py
2025-06-28T00:01:16.284136 - 0.0 seconds (IMPORT FAILED): /Users/danielkliewer/com01/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2025-06-28T00:01:16.284146 -
2025-06-28T00:01:16.429365 - Context impl SQLiteImpl.
2025-06-28T00:01:16.429397 - Will assume non-transactional DDL.
2025-06-28T00:01:16.429768 - No target revision found.
2025-06-28T00:01:16.433027 - Starting server
2025-06-28T00:01:16.433214 - To see the GUI go to: http://127.0.0.1:8188
2025-06-28T00:01:26.685152 - got prompt
2025-06-28T00:01:26.685602 - invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
2025-06-28T00:05:47.233608 - got prompt
2025-06-28T00:05:47.233874 - invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"id":"7f1b1ee4-5d86-48ec-8d95-9a2aab89df62","revision":0,"last_node_id":48,"last_link_id":95,"nodes":[{"id":7,"type":"CLIPTextEncode","pos":[413,389],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":75},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[52]}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Overexposure, static, blurred details, subtitles, paintings, pictures, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, mutilated, redundant fingers, poorly painted hands, poorly painted faces, deformed, disfigured, deformed limbs, fused fingers, cluttered background, three legs, a lot of people in the background, upside down"],"color":"#322","bgcolor":"#533"},{"id":3,"type":"KSampler","pos":[863,187],"size":[315,262],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":92},{"localized_name":"positive","name":"positive","type":"CONDITIONING","link":46},{"localized_name":"negative","name":"negative","type":"CONDITIONING","link":52},{"localized_name":"latent_image","name":"latent_image","type":"LATENT","link":91},{"localized_name":"seed","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"steps","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"sampler_name","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"scheduler","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"denoise","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[35]}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[985926680652950,"fixed",30,6,"uni_pc","simple",1]},{"id":37,"type":"UNETLoader","pos":[485.1220397949219,57.094566345214844],"size":[346.7470703125,82],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"unet_name","name":"unet_name","type":"COMBO","widget":{"name":"unet_name"},"link":null},{"localized_name":"weight_dtype","name":"weight_dtype","type":"COMBO","widget":{"name":"weight_dtype"},"link":null}],"outputs":[{"localized_name":"MODEL","name":"MODEL","type":"MODEL","slot_index":0,"links":[92]}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["wan2.1_t2v_14B_fp8_e4m3fn.safetensors","default"]},{"id":6,"type":"CLIPTextEncode","pos":[415,186],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":74},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null}],"outputs":[{"localized_name":"CONDITIONING","name":"CONDITIONING","type":"CONDITIONING","slot_index":0,"links":[46]}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["a naked russian woman bringing herself to orgasm with a dildo"],"color":"#232","bgcolor":"#353"},{"id":38,"type":"CLIPLoader","pos":[437.5501403808594,-117.91425323486328],"size":[390,106],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"clip_name","name":"clip_name","type":"COMBO","widget":{"name":"clip_name"},"link":null},{"localized_name":"type","name":"type","type":"COMBO","widget":{"name":"type"},"link":null},{"localized_name":"device","name":"device","shape":7,"type":"COMBO","widget":{"name":"device"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","slot_index":0,"links":[74,75]}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["umt5_xxl_fp8_e4m3fn_scaled.safetensors","wan","default"]},{"id":40,"type":"EmptyHunyuanLatentVideo","pos":[1118.989013671875,47.91521072387695],"size":[315,130],"flags":{},"order":2,"mode":0,"inputs":[{"localized_name":"width","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"height","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"length","name":"length","type":"INT","widget":{"name":"length"},"link":null},{"localized_name":"batch_size","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"LATENT","name":"LATENT","type":"LATENT","slot_index":0,"links":[91]}],"properties":{"Node name for S&R":"EmptyHunyuanLatentVideo"},"widgets_values":[1280,720,33,1]},{"id":8,"type":"VAEDecode","pos":[874.5670776367188,71.31510162353516],"size":[210,46],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"samples","name":"samples","type":"LATENT","link":35},{"localized_name":"vae","name":"vae","type":"VAE","link":76}],"outputs":[{"localized_name":"IMAGE","name":"IMAGE","type":"IMAGE","slot_index":0,"links":[94]}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":48,"type":"VHS_VideoCombine","pos":[1515.5245361328125,191.2530975341797],"size":[514.7149047851562,334],"flags":{},"order":8,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":94},{"name":"audio","type":"AUDIO","link":null,"shape":7},{"name":"meta_batch","type":"VHS_BatchManager","link":null,"shape":7},{"name":"vae","type":"VAE","link":null,"shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":16,"loop_count":0,"filename_prefix":"wan","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":19,"save_metadata":true,"trim_to_audio":false,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"wan_00006.mp4","subfolder":"","type":"temp","format":"video/h264-mp4","frame_rate":16,"workflow":"wan_00006.png","fullpath":"C:\\Users\\users_uyemc1z\\git\\ComfyUI\\temp\\wan_00006.mp4"}}}},{"id":39,"type":"VAELoader","pos":[866.3932495117188,499.18597412109375],"size":[306.36004638671875,58],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"vae_name","name":"vae_name","type":"COMBO","widget":{"name":"vae_name"},"link":null}],"outputs":[{"localized_name":"VAE","name":"VAE","type":"VAE","slot_index":0,"links":[76,95]}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["wan_2.1_vae.safetensors"]}],"links":[[35,3,0,8,0,"LATENT"],[46,6,0,3,1,"CONDITIONING"],[52,7,0,3,2,"CONDITIONING"],[74,38,0,6,0,"CLIP"],[75,38,0,7,0,"CLIP"],[76,39,0,8,1,"VAE"],[91,40,0,3,3,"LATENT"],[92,37,0,3,0,"MODEL"],[94,8,0,48,0,"IMAGE"],[95,39,0,48,3,"VAE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.9229599817706424,"offset":[-358.2622190419388,428.84780208827357]},"node_versions":{"comfy-core":"0.3.23","ComfyUI-VideoHelperSuite":"4c7858ddd5126f7293dc3c9f6e0fc4c263cde079"},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}
```
## Additional Context
(Please add any additional context or steps to reproduce the error here)
Thanks for the thorough report. Here's exactly what went wrong and how to fix it:
---
## ❌ Problem Summary
**Node `#48` (`VHS_VideoCombine`) is invalid** because the `ComfyUI-VideoHelperSuite` failed to load.
This happened due to:
```
ModuleNotFoundError: No module named 'cv2'
```
So the node class `VHS_VideoCombine` was never registered → its `class_type` is missing → ComfyUI cannot execute the graph.
---
## ✅ Fix (Step-by-Step)
### 1. ✅ **Install `opencv-python`**
The missing `cv2` module is part of OpenCV, which `VideoHelperSuite` depends on.
From your ComfyUI virtual environment, run:
```bash
/Users/danielkliewer/com01/ComfyUI/.venv/bin/python -m pip install opencv-python
```
Or, if you’re not in the venv:
```bash
cd /Users/danielkliewer/com01/ComfyUI
source .venv/bin/activate
pip install opencv-python
```
---
### 2. 🔁 **Restart ComfyUI**
Close and relaunch ComfyUI so it reattempts to load the `ComfyUI-VideoHelperSuite` custom node.
Watch for logs confirming successful load, like:
```
Import times for custom nodes:
... ComfyUI-VideoHelperSuite: 0.2 seconds
```
---
### 3. ✅ **Try the Workflow Again**
Now you should be able to queue the workflow successfully — the `VHS_VideoCombine` node will have a valid `class_type`.
---
## 🛠 Optional: Fallback If You Don’t Want to Use That Node
If you don't need video combining:
- Open the workflow in the UI
- Find node `#48` (gray/missing or error-looking)
- Delete it
- Remove related links (e.g. from node `#8` to `#48`)
- Replace it with a different export node (e.g., `SaveImage`, `ImagePreview`)
---
## 🧠 Bonus: Verify All Required Dependencies
If you're working with video tools in ComfyUI, it's a good idea to also install:
```bash
pip install imageio[ffmpeg] moviepy av
```
---
Let me know if you want me to repair and upload a fixed version of that workflow `.json` that doesn’t require `VideoHelperSuite`.
gpt-4o
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
⚙ model reasoning step
gpt-4o
⚙ model reasoning step
gpt-4o
`Node #48` is still “class-less” because **ComfyUI never succeeded in loading the `ComfyUI-VideoHelperSuite` package**.
Until that custom package imports cleanly, every workflow that contains `VHS_VideoCombine` (or any other VHS_* node) will stay broken.
---
## 1 Why the package is still failing
```
ModuleNotFoundError: No module named 'cv2'
```
### 👉 The real snag
You are running **Python 3.13.5**.
At the moment the pre-built wheel for **opencv-python** (which supplies `cv2`) has not been published for 3.13, so a plain `pip install opencv-python` silently falls back to “build-from-source,” and on macOS that compile usually fails or pulls in the wrong architecture.
---
## 2 Fix paths & deps once and for all
| Step | What to do | Exact command |
|------|------------|---------------|
| **A** | Activate the same venv ComfyUI uses | ```bash\ncd /Users/danielkliewer/com01/ComfyUI\nsource .venv/bin/activate\n``` |
| **B** | Install a wheel that *does* exist | ```bash\npip install opencv-python-headless==4.9.0.80\n```<br>(4.9.0.80 has universal wheels up to macOS ARM, and “headless” is fine for CLI/ffmpeg work.) |
| **C** | Add the other video helpers (one-liners, all have 3.13 wheels) | ```bash\npip install imageio[ffmpeg] moviepy av\n``` |
| **D** | **Hard-restart** ComfyUI | Close the GUI / quit the terminal process and launch again (`python main.py`). Watch the log: you should **NOT** see the `cv2` error anymore and you should see something like:<br>`[VideoHelperSuite] Registered 26 nodes …` |
If you prefer to stay on a fully supported Python version, you can downgrade the venv to **Python 3.12** (opencv has wheels there), but the quick headless wheel above is usually enough.
---
## 3 If you just want to run the workflow right now
1. Open the graph in the browser.
2. Delete the grey/red **`VHS_VideoCombine`** box (that’s node 48).
3. Connect node 8’s `IMAGE` output to a simple `SaveImage` or `PreviewImage` node instead.
4. Queue the prompt – it will work immediately because nothing depends on `cv2`.
---
## 4 Verify success
- **Good path:**
```
Import times for custom nodes:
… ComfyUI-VideoHelperSuite: 0.2 s
```
No more `ModuleNotFoundError`.
- **Bad path (still broken):**
You still see `IMPORT FAILED` for VideoHelperSuite and node #48 errors keep popping up.
---
### Need a cleaned workflow file?
Upload the `.json` and I’ll strip out the VHS nodes (or replace them) and send you back a ready-to-run version.
gpt-4o
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
You're seeing this error because **Node #48 (`VHS_VideoCombine`) is broken** — ComfyUI cannot find its `class_type`, which happens when a custom node fails to load during startup. The root cause is already in your logs:
```
ModuleNotFoundError: No module named 'cv2'
```
The `ComfyUI-VideoHelperSuite` requires the `cv2` module (from `opencv-python`), but it's missing from your Python environment — likely because you're using **Python 3.13**, which currently **has no official `opencv-python` wheels**.
---
### ✅ **Fix the issue in 3 steps**:
#### **1. Activate your ComfyUI virtual environment**
Run this in your terminal:
```bash
cd /Users/danielkliewer/com01/ComfyUI
source .venv/bin/activate
```
---
#### **2. Install a compatible version of OpenCV**
Use the headless version (no GUI libs) which works on macOS and has wheels up to Python 3.13:
```bash
pip install opencv-python-headless==4.9.0.80
```
You can also install other optional video dependencies:
```bash
pip install imageio[ffmpeg] moviepy av
```
---
#### **3. Restart ComfyUI**
Completely quit ComfyUI and relaunch it (`python main.py`), or restart the app if using the GUI. Watch the logs carefully:
- You **should not** see the `ModuleNotFoundError: No module named 'cv2'` anymore.
- You **should see** something like:
```
[VideoHelperSuite] Registered X nodes...
```
---
### 🧹 If you want to bypass it right now
If you're blocked and want to continue testing the rest of your graph:
- **Open the graph UI**
- **Delete node 48** (`VHS_VideoCombine`)
- Connect the output of node 8 to a `SaveImage` node or `PreviewImage`
- Click **Queue Prompt**
This will skip video combining entirely and let the rest of your workflow run.
---
Would you like me to send you a cleaned version of the workflow `.json` file without node 48 so it loads and runs right away?
gpt-4o
zsh: no matches found: imageio[ffmpeg]
The error:
```
zsh: no matches found: imageio[ffmpeg]
```
...happens because `zsh` tries to expand `[ffmpeg]` as a **glob pattern**, like a filename match — but there’s no file named `imageio[ffmpeg]`, so it fails.
---
### ✅ Fix it by quoting the package name:
```bash
pip install 'imageio[ffmpeg]'
```
Or, if you want to install everything needed for `ComfyUI-VideoHelperSuite` video support:
```bash
pip install 'imageio[ffmpeg]' moviepy av opencv-python-headless
```
---
### 🧠 Explanation:
In `zsh` (and sometimes `fish`), characters like `[` and `*` are interpreted unless **quoted**. Always wrap such package names in single or double quotes when using extras like `[ffmpeg]`.
---
Let me know if you want a full requirements.txt for ComfyUI with video support and optional nodes bundled.
gpt-4o
got prompt
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'", 'extra_info': {}}
The error you're seeing:
```
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#48'"}
```
...means **Node #48** in your workflow (the `VHS_VideoCombine` node) is **missing or broken** — likely because its code didn't load correctly at startup.
---
### 🔍 Why this is happening:
Looking back at your logs:
```
ModuleNotFoundError: No module named 'cv2'
...
IMPORT FAILED: /ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
```
So, the `ComfyUI-VideoHelperSuite` node (which contains `VHS_VideoCombine`) **didn't load**, because `cv2` (OpenCV) is missing.
---
### ✅ Fix steps:
1. **Install OpenCV** (required by VideoHelperSuite):
```bash
pip install opencv-python-headless
```
Or, if you want GUI features (not usually needed for ComfyUI):
```bash
pip install opencv-python
```
2. **Restart ComfyUI** completely after installing.
3. Verify it's loaded by checking for `VHS_VideoCombine` in the node list.
---
### 🔄 Alternative quick fix:
If you're **not using** `VHS_VideoCombine` actively, you can delete Node #48 from your workflow JSON to remove the error.
But if you **do need it**, the proper fix is just:
```bash
pip install 'imageio[ffmpeg]' opencv-python-headless
```
---
Let me know if you want help editing your JSON to remove the broken node or rebuilding a working video export workflow.
gpt-4o