comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
50.84k stars 5.34k forks source link

inpainting broke after update. LoadAndResizeImage Invalid background color: image #4822

Closed protector131090 closed 4 days ago

protector131090 commented 1 week ago

Expected Behavior

Worked fine before updating comfy UI

Actual Behavior

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-1-gc27ebeb
- **Arguments:** ComfyUI\main.py --windows-standalone-build
- **OS:** nt
- **Python Version:** 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.4.1+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25756696576
  - **VRAM Free:** 14014108850
  - **Torch VRAM Total:** 10099884032
  - **Torch VRAM Free:** 126768306

## Logs

2024-09-07 12:07:38,071 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:07:39,181 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:07:56,301 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:07:56,302 - root - INFO - Loading 1 new model 2024-09-07 12:07:56,402 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:10:09,878 - root - INFO - Prompt executed in 151.84 seconds 2024-09-07 12:10:10,230 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:10:11,550 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:10:16,982 - root - INFO - got prompt 2024-09-07 12:10:17,208 - root - INFO - got prompt 2024-09-07 12:10:17,390 - root - INFO - got prompt 2024-09-07 12:10:29,031 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:10:29,031 - root - INFO - Loading 1 new model 2024-09-07 12:10:29,132 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:12:36,326 - root - INFO - Prompt executed in 146.15 seconds 2024-09-07 12:12:36,543 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:12:36,606 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:12:36,607 - root - INFO - Loading 1 new model 2024-09-07 12:12:40,191 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:12:45,351 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:13:02,837 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:13:02,837 - root - INFO - Loading 1 new model 2024-09-07 12:13:02,939 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:13:03,426 - root - INFO - Prompt executed in 26.92 seconds 2024-09-07 12:13:03,613 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:13:04,758 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:13:22,567 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:13:22,567 - root - INFO - Loading 1 new model 2024-09-07 12:13:22,669 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:13:23,132 - root - INFO - Prompt executed in 19.55 seconds 2024-09-07 12:13:23,318 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:13:23,661 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:13:23,661 - root - INFO - Loading 1 new model 2024-09-07 12:13:26,490 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:13:31,976 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:13:49,685 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:13:49,686 - root - INFO - Loading 1 new model 2024-09-07 12:13:49,785 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:16:02,300 - root - INFO - Prompt executed in 159.01 seconds 2024-09-07 12:16:02,575 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:18:09,433 - root - INFO - Prompt executed in 126.94 seconds 2024-09-07 12:18:09,671 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:18:09,729 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:18:09,729 - root - INFO - Loading 1 new model 2024-09-07 12:18:12,435 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:18:17,415 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:19:00,763 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:19:00,764 - root - INFO - Loading 1 new model 2024-09-07 12:19:00,903 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:19:01,459 - root - INFO - Prompt executed in 51.87 seconds 2024-09-07 12:19:01,684 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:19:02,702 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:19:46,589 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:19:46,589 - root - INFO - Loading 1 new model 2024-09-07 12:19:46,688 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:19:47,184 - root - INFO - Prompt executed in 45.57 seconds 2024-09-07 12:19:47,412 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:19:48,419 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:20:33,446 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:20:33,446 - root - INFO - Loading 1 new model 2024-09-07 12:20:33,554 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:20:34,054 - root - INFO - Prompt executed in 46.72 seconds 2024-09-07 12:20:34,308 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:20:34,578 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:20:34,578 - root - INFO - Loading 1 new model 2024-09-07 12:20:37,933 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:20:43,758 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:21:01,445 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:21:01,445 - root - INFO - Loading 1 new model 2024-09-07 12:21:01,560 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:23:11,330 - root - INFO - Prompt executed in 157.10 seconds 2024-09-07 12:23:11,599 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:23:12,238 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:23:12,238 - root - INFO - Loading 1 new model 2024-09-07 12:23:15,153 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:23:15,281 - root - INFO - Requested to load Flux 2024-09-07 12:23:15,281 - root - INFO - Loading 1 new model 2024-09-07 12:23:28,851 - root - INFO - loaded partially 21340.832 21340.646606445312 49 2024-09-07 12:23:47,946 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:23:47,946 - root - INFO - Loading 1 new model 2024-09-07 12:23:48,063 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:23:48,574 - root - INFO - Prompt executed in 37.06 seconds 2024-09-07 12:23:48,819 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:23:49,910 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:24:08,296 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:24:08,296 - root - INFO - Loading 1 new model 2024-09-07 12:24:08,399 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:24:08,890 - root - INFO - Prompt executed in 20.15 seconds 2024-09-07 12:24:09,109 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:24:10,194 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:24:27,850 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:24:27,850 - root - INFO - Loading 1 new model 2024-09-07 12:24:27,947 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:24:28,462 - root - INFO - Prompt executed in 19.42 seconds 2024-09-07 12:24:28,680 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:24:29,778 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:24:47,847 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:24:47,849 - root - INFO - Loading 1 new model 2024-09-07 12:24:47,989 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:24:48,565 - root - INFO - Prompt executed in 19.95 seconds 2024-09-07 12:24:48,847 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:24:50,139 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:25:08,245 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:25:08,245 - root - INFO - Loading 1 new model 2024-09-07 12:25:08,360 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:25:08,909 - root - INFO - Prompt executed in 20.17 seconds 2024-09-07 12:25:09,180 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:25:10,446 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:25:19,632 - root - INFO - got prompt 2024-09-07 12:25:19,832 - root - INFO - got prompt 2024-09-07 12:25:20,103 - root - INFO - got prompt 2024-09-07 12:25:29,127 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:25:29,127 - root - INFO - Loading 1 new model 2024-09-07 12:25:29,236 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:25:29,731 - root - INFO - Prompt executed in 20.62 seconds 2024-09-07 12:25:30,002 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:25:31,207 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:25:49,260 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:25:49,261 - root - INFO - Loading 1 new model 2024-09-07 12:25:49,362 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:25:49,859 - root - INFO - Prompt executed in 19.96 seconds 2024-09-07 12:25:50,076 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:25:51,173 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:26:08,817 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:26:08,818 - root - INFO - Loading 1 new model 2024-09-07 12:26:08,926 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:26:09,433 - root - INFO - Prompt executed in 19.42 seconds 2024-09-07 12:26:09,646 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:26:10,766 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:26:17,431 - root - INFO - got prompt 2024-09-07 12:26:17,591 - root - INFO - got prompt 2024-09-07 12:26:28,883 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:26:28,884 - root - INFO - Loading 1 new model 2024-09-07 12:26:28,990 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:26:29,482 - root - INFO - Prompt executed in 19.90 seconds 2024-09-07 12:26:29,711 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:26:30,935 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:26:49,051 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:26:49,052 - root - INFO - Loading 1 new model 2024-09-07 12:26:49,224 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:26:49,740 - root - INFO - Prompt executed in 20.10 seconds 2024-09-07 12:26:49,980 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:26:51,083 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:26:55,623 - root - INFO - got prompt 2024-09-07 12:26:55,823 - root - INFO - got prompt 2024-09-07 12:27:09,310 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:27:09,310 - root - INFO - Loading 1 new model 2024-09-07 12:27:09,426 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:27:09,922 - root - INFO - Prompt executed in 20.02 seconds 2024-09-07 12:27:10,141 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:27:11,375 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:27:29,091 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:27:29,092 - root - INFO - Loading 1 new model 2024-09-07 12:27:29,196 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:27:29,699 - root - INFO - Prompt executed in 19.62 seconds 2024-09-07 12:27:29,934 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:27:30,030 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:27:30,030 - root - INFO - Loading 1 new model 2024-09-07 12:27:32,978 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:27:33,111 - root - INFO - Requested to load Flux 2024-09-07 12:27:33,111 - root - INFO - Loading 1 new model 2024-09-07 12:27:41,035 - root - INFO - loaded partially 21340.832 21340.646606445312 49 2024-09-07 12:27:57,905 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:27:57,905 - root - INFO - Loading 1 new model 2024-09-07 12:27:58,018 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:27:58,505 - root - INFO - Prompt executed in 28.65 seconds 2024-09-07 12:27:58,731 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:27:59,752 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:28:16,632 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:28:16,632 - root - INFO - Loading 1 new model 2024-09-07 12:28:16,738 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:28:17,225 - root - INFO - Prompt executed in 18.55 seconds 2024-09-07 12:28:17,431 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:28:18,421 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:28:35,466 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:28:35,466 - root - INFO - Loading 1 new model 2024-09-07 12:28:35,563 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:28:36,057 - root - INFO - Prompt executed in 18.68 seconds 2024-09-07 12:28:36,249 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:28:37,258 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:28:54,102 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:28:54,102 - root - INFO - Loading 1 new model 2024-09-07 12:28:54,201 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:28:54,670 - root - INFO - Prompt executed in 18.46 seconds 2024-09-07 12:28:54,873 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:28:55,927 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:29:12,796 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:29:12,796 - root - INFO - Loading 1 new model 2024-09-07 12:29:12,931 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:29:13,395 - root - INFO - Prompt executed in 18.58 seconds 2024-09-07 12:29:13,549 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:29:13,642 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:29:13,643 - root - INFO - Loading 1 new model 2024-09-07 12:29:16,438 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:29:16,570 - root - INFO - Requested to load Flux 2024-09-07 12:29:16,570 - root - INFO - Loading 1 new model 2024-09-07 12:29:24,302 - root - INFO - loaded partially 21340.832 21340.646606445312 49 2024-09-07 12:29:41,439 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:29:41,439 - root - INFO - Loading 1 new model 2024-09-07 12:29:41,544 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:29:42,063 - root - INFO - Prompt executed in 28.52 seconds 2024-09-07 12:29:42,246 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:29:43,253 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:30:00,211 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:30:00,211 - root - INFO - Loading 1 new model 2024-09-07 12:30:00,310 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:30:00,884 - root - INFO - Prompt executed in 18.65 seconds 2024-09-07 12:30:01,063 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:30:02,056 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:30:19,949 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:30:19,949 - root - INFO - Loading 1 new model 2024-09-07 12:30:20,049 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:30:20,567 - root - INFO - Prompt executed in 19.53 seconds 2024-09-07 12:30:20,746 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:30:20,845 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:30:20,845 - root - INFO - Loading 1 new model 2024-09-07 12:30:23,743 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:30:23,872 - root - INFO - Requested to load Flux 2024-09-07 12:30:23,873 - root - INFO - Loading 1 new model 2024-09-07 12:30:32,379 - root - INFO - loaded partially 21340.832 21340.646606445312 49 2024-09-07 12:31:17,132 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:31:17,132 - root - INFO - Loading 1 new model 2024-09-07 12:31:17,245 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:31:17,760 - root - INFO - Prompt executed in 57.04 seconds 2024-09-07 12:31:17,969 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:31:19,005 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:32:03,612 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:32:03,612 - root - INFO - Loading 1 new model 2024-09-07 12:32:03,721 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:32:04,257 - root - INFO - Prompt executed in 46.31 seconds 2024-09-07 12:32:04,538 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:32:04,575 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:32:04,575 - root - INFO - Loading 1 new model 2024-09-07 12:32:07,632 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:32:13,034 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:32:56,694 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:32:56,694 - root - INFO - Loading 1 new model 2024-09-07 12:32:56,791 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:32:57,333 - root - INFO - Prompt executed in 52.82 seconds 2024-09-07 12:32:57,533 - root - WARNING - WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:32:58,710 - root - INFO - loaded partially 21340.832000000002 21340.646606445312 0 2024-09-07 12:33:44,514 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:33:44,516 - root - INFO - Loading 1 new model 2024-09-07 12:33:44,659 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:33:45,164 - root - INFO - Prompt executed in 47.66 seconds 2024-09-07 12:34:04,967 - root - INFO - got prompt 2024-09-07 12:34:04,979 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:34:05,174 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:34:05,174 - root - INFO - Loading 1 new model 2024-09-07 12:34:08,136 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:34:08,300 - root - INFO - Requested to load Flux 2024-09-07 12:34:08,300 - root - INFO - Loading 1 new model 2024-09-07 12:34:09,280 - root - INFO - got prompt 2024-09-07 12:34:13,290 - root - INFO - got prompt 2024-09-07 12:34:17,226 - root - INFO - loaded partially 21358.752 21358.652465820312 48 2024-09-07 12:34:53,845 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:34:53,846 - root - INFO - Loading 1 new model 2024-09-07 12:34:54,041 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:34:54,614 - root - INFO - Prompt executed in 49.64 seconds 2024-09-07 12:34:54,931 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:34:56,711 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:34:56,712 - root - INFO - Loading 1 new model 2024-09-07 12:35:00,090 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:35:00,234 - root - INFO - Requested to load Flux 2024-09-07 12:35:00,234 - root - INFO - Loading 1 new model 2024-09-07 12:35:10,706 - root - INFO - loaded partially 21358.752 21358.652465820312 48 2024-09-07 12:35:46,802 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:35:46,802 - root - INFO - Loading 1 new model 2024-09-07 12:35:46,906 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:35:47,446 - root - INFO - Prompt executed in 52.53 seconds 2024-09-07 12:35:47,764 - root - WARNING - WARNING: PlaySound.ISCHANGED() missing 1 required positional argument: 'self' 2024-09-07 12:35:49,579 - root - INFO - Requested to load FluxClipModel 2024-09-07 12:35:49,580 - root - INFO - Loading 1 new model 2024-09-07 12:35:52,240 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:35:52,389 - root - INFO - Requested to load Flux 2024-09-07 12:35:52,389 - root - INFO - Loading 1 new model 2024-09-07 12:36:03,149 - root - INFO - loaded partially 21358.752 21358.652465820312 48 2024-09-07 12:36:18,070 - root - INFO - got prompt 2024-09-07 12:36:39,716 - root - INFO - Requested to load AutoencodingEngine 2024-09-07 12:36:39,716 - root - INFO - Loading 1 new model 2024-09-07 12:36:39,822 - root - INFO - loaded completely 0.0 159.87335777282715 True 2024-09-07 12:36:40,378 - root - INFO - Prompt executed in 52.64 seconds 2024-09-07 12:36:40,644 - root - INFO - Requested to load FluxClipModel_ 2024-09-07 12:36:40,644 - root - INFO - Loading 1 new model 2024-09-07 12:36:43,561 - root - INFO - loaded completely 0.0 9319.23095703125 True 2024-09-07 12:36:43,848 - root - ERROR - !!! Exception during processing !!! Invalid background color: image 2024-09-07 12:36:43,850 - root - ERROR - Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in load_image bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'image'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image raise ValueError(f"Invalid background color: {background_color}") ValueError: Invalid background color: image

2024-09-07 12:36:43,852 - root - INFO - Prompt executed in 3.29 seconds 2024-09-07 12:37:04,152 - root - INFO - got prompt 2024-09-07 12:37:04,290 - root - ERROR - !!! Exception during processing !!! Invalid background color: image 2024-09-07 12:37:04,292 - root - ERROR - Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in load_image bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'image'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image raise ValueError(f"Invalid background color: {background_color}") ValueError: Invalid background color: image

2024-09-07 12:37:04,296 - root - INFO - Prompt executed in 0.10 seconds 2024-09-07 12:37:09,312 - root - INFO - got prompt 2024-09-07 12:37:09,445 - root - ERROR - !!! Exception during processing !!! Invalid background color: image 2024-09-07 12:37:09,446 - root - ERROR - Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in load_image bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'image'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image raise ValueError(f"Invalid background color: {background_color}") ValueError: Invalid background color: image

2024-09-07 12:37:09,452 - root - INFO - Prompt executed in 0.10 seconds 2024-09-07 12:37:58,865 - root - INFO - got prompt 2024-09-07 12:37:58,998 - root - ERROR - !!! Exception during processing !!! Invalid background color: image 2024-09-07 12:37:58,999 - root - ERROR - Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in load_image bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(',')) ^^^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: 'image'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image raise ValueError(f"Invalid background color: {background_color}") ValueError: Invalid background color: image

2024-09-07 12:37:59,003 - root - INFO - Prompt executed in 0.10 seconds

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

{"last_node_id":57,"last_link_id":101,"nodes":[{"id":48,"type":"ImpactGaussianBlurMask","pos":{"0":810,"1":770},"size":{"0":315,"1":82},"flags":{},"order":10,"mode":0,"inputs":[{"name":"mask","type":"MASK","link":97}],"outputs":[{"name":"MASK","type":"MASK","links":[80],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ImpactGaussianBlurMask"},"widgets_values":[5,5]},{"id":22,"type":"BasicGuider","pos":{"0":1280,"1":190},"size":{"0":241.79998779296875,"1":46},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":98,"slot_index":0},{"name":"conditioning","type":"CONDITIONING","link":77,"slot_index":1}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[78],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicGuider"}},{"id":37,"type":"InpaintModelConditioning","pos":{"0":1290,"1":300},"size":{"0":220,"1":110},"flags":{},"order":11,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":95},{"name":"negative","type":"CONDITIONING","link":67},{"name":"vae","type":"VAE","link":71,"slot_index":2},{"name":"pixels","type":"IMAGE","link":92,"slot_index":3},{"name":"mask","type":"MASK","link":80}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[77],"slot_index":0,"shape":3},{"name":"negative","type":"CONDITIONING","links":[],"slot_index":1,"shape":3},{"name":"latent","type":"LATENT","links":[46],"slot_index":2,"shape":3}],"properties":{"Node name for S&R":"InpaintModelConditioning"}},{"id":25,"type":"RandomNoise","pos":{"0":1270,"1":450},"size":{"0":315,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[37],"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[354275228746147,"randomize"]},{"id":16,"type":"KSamplerSelect","pos":{"0":1270,"1":580},"size":{"0":315,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[19],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":8,"type":"VAEDecode","pos":{"0":1830,"1":150},"size":{"0":210,"1":46},"flags":{},"order":14,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":70},{"name":"vae","type":"VAE","link":12}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[9],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":54,"type":"Note","pos":{"0":750,"1":980},"size":{"0":210,"1":132.3294677734375},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[],"properties":{"text":""},"widgets_values":["1. Press \"choose file to upload\" and choose the image you want to inpaint.\n\n2. Right-Click on the image and select \"Open in Mask Editor\". There, you'll be able to paint the mask."],"color":"#432","bgcolor":"#653"},{"id":11,"type":"DualCLIPLoader","pos":{"0":400,"1":450},"size":{"0":315,"1":106},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[48,93],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["t5xxl_fp16.safetensors","clip_l.safetensors","flux"]},{"id":10,"type":"VAELoader","pos":{"0":400,"1":230},"size":{"0":315,"1":58},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[12,71],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["Flux.Vae.safetensors"]},{"id":9,"type":"SaveImage","pos":{"0":1670,"1":410},"size":{"0":483.1380310058594,"1":549.7478637695312},"flags":{},"order":15,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":9}],"outputs":[],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["ComfyUI"]},{"id":13,"type":"SamplerCustomAdvanced","pos":{"0":1690,"1":240},"size":{"0":355.20001220703125,"1":106},"flags":{},"order":13,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":37,"slot_index":0},{"name":"guider","type":"GUIDER","link":78,"slot_index":1},{"name":"sampler","type":"SAMPLER","link":19,"slot_index":2},{"name":"sigmas","type":"SIGMAS","link":20,"slot_index":3},{"name":"latent_image","type":"LATENT","link":46,"slot_index":4}],"outputs":[{"name":"output","type":"LATENT","links":[70],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":[],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"}},{"id":40,"type":"CLIPTextEncode","pos":{"0":760,"1":520},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":48}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[67],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""],"color":"#232","bgcolor":"#353"},{"id":52,"type":"CLIPTextEncodeFlux","pos":{"0":770,"1":260},"size":{"0":400,"1":200},"flags":{},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":93}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[95],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"CLIPTextEncodeFlux"},"widgets_values":["","loose black long hair",2],"color":"#232","bgcolor":"#353"},{"id":17,"type":"BasicScheduler","pos":{"0":1270,"1":730},"size":{"0":315,"1":106},"flags":{},"order":9,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":38,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[20],"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",20,0.65],"color":"#232","bgcolor":"#353"},{"id":12,"type":"UNETLoader","pos":{"0":400,"1":330},"size":{"0":315,"1":82},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[38,98],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["flux1-dev.safetensors","default"]},{"id":35,"type":"LoadAndResizeImage","pos":{"0":400,"1":620},"size":[315,566],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"image","type":"IMAGE","links":[92],"slot_index":0,"shape":3},{"name":"mask","type":"MASK","links":[97],"slot_index":1,"shape":3},{"name":"width","type":"INT","links":null,"shape":3},{"name":"height","type":"INT","links":null,"shape":3},{"name":"image_path","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadAndResizeImage"},"widgets_values":["clipspace/clipspace-mask-3037543.200000003.png [input]",false,1024,1024,1,true,0,"alpha","image","image"],"color":"#232","bgcolor":"#353"}],"links":[[9,8,0,9,0,"IMAGE"],[12,10,0,8,1,"VAE"],[19,16,0,13,2,"SAMPLER"],[20,17,0,13,3,"SIGMAS"],[37,25,0,13,0,"NOISE"],[38,12,0,17,0,"MODEL"],[46,37,2,13,4,"LATENT"],[48,11,0,40,0,"CLIP"],[67,40,0,37,1,"CONDITIONING"],[70,13,0,8,0,"LATENT"],[71,10,0,37,2,"VAE"],[77,37,0,22,1,"CONDITIONING"],[78,22,0,13,1,"GUIDER"],[80,48,0,37,4,"MASK"],[92,35,0,37,3,"IMAGE"],[93,11,0,52,0,"CLIP"],[95,52,0,37,0,"CONDITIONING"],[97,35,1,48,0,"MASK"],[98,12,0,22,0,"MODEL"]],"groups":[],"config":{},"extra":{"ds":{"scale":1,"offset":[71.618896484375,-67.047607421875]}},"version":0.4}


## Additional Context
(Please add any additional context or steps to reproduce the error here)
![Снимок экрана (3253)](https://github.com/user-attachments/assets/a8ce5bee-c768-4329-b88d-2e2198c761f0)
![Снимок экрана (3254)](https://github.com/user-attachments/assets/de020608-39f5-45a3-837c-297b4eda8475)

### Steps to Reproduce

![Снимок экрана (3254)](https://github.com/user-attachments/assets/0e08f984-a61c-4e18-abe7-d53385ae50a6)

### Debug Logs

```powershell
File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image
    raise ValueError(f"Invalid background color: {background_color}")
ValueError: Invalid background color: image

Prompt executed in 0.10 seconds
got prompt
!!! Exception during processing !!! Invalid background color: image
Traceback (most recent call last):
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in load_image
    bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(','))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1702, in <genexpr>
    bg_color_rgba = tuple(int(x.strip()) for x in background_color.split(','))
                          ^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'image'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "S:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image
    raise ValueError(f"Invalid background color: {background_color}")
ValueError: Invalid background color: image

Prompt executed in 0.11 seconds

Other

No response

altomongol commented 5 days ago

Same! ...\ComfyUI-KJNodes\nodes\image_nodes.py", line 1708, in load_image raise ValueError(f"Invalid background color: {background_color}")

kankan526 commented 5 days ago

Same! problem Error occurred when executing LoadAndResizeImage: Invalid background color: image File .....

MatveyMirman commented 4 days ago

You can just write black and it will work, I think it expects a color code, or color name, I will try transparent and will update here. Works with color code starting with # for example #fffff but still not expected result. Also this is 3rd party node so you should ask the maintainer of that node.

MatveyMirman commented 4 days ago

https://github.com/kijai/ComfyUI-KJNodes/issues/106

As per this issue, just keep the value blank.