# ComfyUI Error Report ## Error Details - **Node ID:** 25 - **Node Type:** CR XY From Folder - **Exception Type:** OSError - **Exception Message:** cannot open resource ## Stack Trace ``` File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 496, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 315, in get_output_data return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 289, in _async_map_node_over_list await process_inputs(input_dict, i) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 277, in process_inputs result = f(**inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_xygrid.py", line 257, in load_images font = ImageFont.truetype(str(resolved_font_path), size=font_size) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 880, in truetype return freetype(font) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 877, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 285, in __init__ self.font = core.getfont( ``` ## System Information - **ComfyUI Version:** 0.3.59 - **Arguments:** /h-games/stabilitymatrix/Data/Packages/ComfyUI/main.py --preview-method auto --use-sage-attention - **OS:** posix - **Python Version:** 3.10.11 (main, May 7 2023, 19:26:31) [Clang 16.0.3 ] - **Embedded Python:** false - **PyTorch Version:** 2.8.0+cu128 ## Devices - **Name:** cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync - **Type:** cuda - **VRAM Total:** 25247481856 - **VRAM Free:** 20885209088 - **Torch VRAM Total:** 0 - **Torch VRAM Free:** 0 ## Logs ``` 2025-09-14T19:16:03.707850 - 2025-09-14T19:16:03.933716 - Prompt executed in 2.81 seconds 2025-09-14T19:16:03.941594 - [Info] CR Index:122025-09-14T19:16:03.941663 - 2025-09-14T19:16:06.501666 - 100%|██████████| 20/20 [00:02<00:00, 7.92it/s]2025-09-14T19:16:06.501759 - 100%|██████████| 20/20 [00:02<00:00, 7.83it/s]2025-09-14T19:16:06.501769 - 2025-09-14T19:16:06.727881 - Prompt executed in 2.79 seconds 2025-09-14T19:16:06.985370 - [Info] CR Index:132025-09-14T19:16:06.985389 - 2025-09-14T19:16:09.555016 - 100%|██████████| 20/20 [00:02<00:00, 7.82it/s]2025-09-14T19:16:09.555114 - 100%|██████████| 20/20 [00:02<00:00, 7.80it/s]2025-09-14T19:16:09.555125 - 2025-09-14T19:16:09.784936 - Prompt executed in 2.81 seconds 2025-09-14T19:16:09.793039 - [Info] CR Index:142025-09-14T19:16:09.793098 - 2025-09-14T19:16:12.388397 - 100%|██████████| 20/20 [00:02<00:00, 7.77it/s]2025-09-14T19:16:12.388499 - 100%|██████████| 20/20 [00:02<00:00, 7.73it/s]2025-09-14T19:16:12.388510 - 2025-09-14T19:16:12.615200 - Prompt executed in 2.83 seconds 2025-09-14T19:16:12.623345 - [Info] CR Index:152025-09-14T19:16:12.623395 - 2025-09-14T19:16:15.288126 - 100%|██████████| 20/20 [00:02<00:00, 7.32it/s]2025-09-14T19:16:15.288213 - 100%|██████████| 20/20 [00:02<00:00, 7.55it/s]2025-09-14T19:16:15.288223 - 2025-09-14T19:16:15.524534 - Prompt executed in 2.91 seconds 2025-09-14T19:16:15.532887 - [Info] CR Index:162025-09-14T19:16:15.533035 - 2025-09-14T19:16:18.882223 - 100%|██████████| 25/25 [00:03<00:00, 7.72it/s]2025-09-14T19:16:18.882352 - 100%|██████████| 25/25 [00:03<00:00, 7.51it/s]2025-09-14T19:16:18.882363 - 2025-09-14T19:16:19.110582 - Prompt executed in 3.58 seconds 2025-09-14T19:16:19.365095 - [Info] CR Index:172025-09-14T19:16:19.365126 - 2025-09-14T19:16:22.589527 - 100%|██████████| 25/25 [00:03<00:00, 7.85it/s]2025-09-14T19:16:22.589616 - 100%|██████████| 25/25 [00:03<00:00, 7.77it/s]2025-09-14T19:16:22.589628 - 2025-09-14T19:16:22.816894 - Prompt executed in 3.46 seconds 2025-09-14T19:16:22.824078 - [Info] CR Index:182025-09-14T19:16:22.824143 - 2025-09-14T19:16:26.054887 - 100%|██████████| 25/25 [00:03<00:00, 7.77it/s]2025-09-14T19:16:26.054979 - 100%|██████████| 25/25 [00:03<00:00, 7.77it/s]2025-09-14T19:16:26.054990 - 2025-09-14T19:16:26.282542 - Prompt executed in 3.46 seconds 2025-09-14T19:16:26.290678 - [Info] CR Index:192025-09-14T19:16:26.290770 - 2025-09-14T19:16:29.565384 - 100%|██████████| 25/25 [00:03<00:00, 7.77it/s]2025-09-14T19:16:29.565509 - 100%|██████████| 25/25 [00:03<00:00, 7.65it/s]2025-09-14T19:16:29.565520 - 2025-09-14T19:16:29.791381 - Prompt executed in 3.51 seconds 2025-09-14T19:16:30.019456 - [Info] CR Index:202025-09-14T19:16:30.019478 - 2025-09-14T19:16:33.386228 - 100%|██████████| 25/25 [00:03<00:00, 7.39it/s]2025-09-14T19:16:33.386322 - 100%|██████████| 25/25 [00:03<00:00, 7.44it/s]2025-09-14T19:16:33.386333 - 2025-09-14T19:16:33.623052 - Prompt executed in 3.61 seconds 2025-09-14T19:16:33.630548 - [Info] CR Index:212025-09-14T19:16:33.630613 - 2025-09-14T19:16:37.647834 - 100%|██████████| 30/30 [00:03<00:00, 7.36it/s]2025-09-14T19:16:37.647950 - 100%|██████████| 30/30 [00:03<00:00, 7.52it/s]2025-09-14T19:16:37.647962 - 2025-09-14T19:16:37.890236 - Prompt executed in 4.27 seconds 2025-09-14T19:16:37.897421 - [Info] CR Index:222025-09-14T19:16:37.897441 - 2025-09-14T19:16:41.949670 - 100%|██████████| 30/30 [00:04<00:00, 7.65it/s]2025-09-14T19:16:41.949800 - 100%|██████████| 30/30 [00:04<00:00, 7.44it/s]2025-09-14T19:16:41.949812 - 2025-09-14T19:16:42.180824 - Prompt executed in 4.29 seconds 2025-09-14T19:16:42.421714 - [Info] CR Index:232025-09-14T19:16:42.421796 - 2025-09-14T19:16:46.342358 - 100%|██████████| 30/30 [00:03<00:00, 7.71it/s]2025-09-14T19:16:46.342466 - 100%|██████████| 30/30 [00:03<00:00, 7.67it/s]2025-09-14T19:16:46.342521 - 2025-09-14T19:16:46.575424 - Prompt executed in 4.16 seconds 2025-09-14T19:16:46.583923 - [Info] CR Index:242025-09-14T19:16:46.583948 - 2025-09-14T19:16:50.512434 - 100%|██████████| 30/30 [00:03<00:00, 7.42it/s]2025-09-14T19:16:50.512530 - 100%|██████████| 30/30 [00:03<00:00, 7.68it/s]2025-09-14T19:16:50.512541 - 2025-09-14T19:16:50.761239 - Prompt executed in 4.18 seconds 2025-09-14T19:16:50.769878 - [Info] CR Index:252025-09-14T19:16:50.769937 - 2025-09-14T19:16:50.770050 - CFG5.0; CFG6.0; CFG7.0; CFG8.0; CFG9.0;2025-09-14T19:16:50.770061 - 2025-09-14T19:16:50.770072 - Steps10.0; Steps15.0; Steps20.0; Steps25.0; Steps30.0;2025-09-14T19:16:50.770081 - 2025-09-14T19:16:51.316515 - !!! Exception during processing !!! cannot open resource 2025-09-14T19:16:51.317773 - Traceback (most recent call last): File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 496, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 315, in get_output_data return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 289, in _async_map_node_over_list await process_inputs(input_dict, i) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/execution.py", line 277, in process_inputs result = f(**inputs) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes/nodes/nodes_xygrid.py", line 257, in load_images font = ImageFont.truetype(str(resolved_font_path), size=font_size) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 880, in truetype return freetype(font) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 877, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/h-games/stabilitymatrix/Data/Packages/ComfyUI/venv/lib/python3.10/site-packages/PIL/ImageFont.py", line 285, in __init__ self.font = core.getfont( OSError: cannot open resource 2025-09-14T19:16:51.318280 - Prompt executed in 0.56 seconds 2025-09-14T19:18:14.743928 - got prompt 2025-09-14T19:18:14.753882 - [Info] CR Index:262025-09-14T19:18:14.753943 - 2025-09-14T19:18:14.756568 - Prompt executed in 0.01 seconds 2025-09-14T19:18:53.815229 - got prompt 2025-09-14T19:18:53.834180 - [Info] CR Index:272025-09-14T19:18:53.834215 - 2025-09-14T19:18:53.835682 - Prompt executed in 0.02 seconds 2025-09-14T19:22:12.812684 - got prompt 2025-09-14T19:22:12.828196 - [Info] CR Index:12025-09-14T19:22:12.828223 - 2025-09-14T19:22:12.839973 - 0%| | 0/10 [00:00