You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\stable-diffusion\ComfyUI_windows_portable\ComfyUI\comfy_gallery.py", line 479, in <module>
for key, value in COLORS['light']['colors']['node_slot'].items():
~~~~~~^^^^^^^^^
KeyError: 'light'
add
--comfyui-color-palette "PATH\TO\THE\FILE\colorPalette_old.js"
to your bat file, so for example
.\python_embeded\python.exe -s ComfyUI\comfy_gallery.py --comfyui-color-palette "c:\colorPalette_old.js"
The text was updated successfully, but these errors were encountered:
Hapseleg
changed the title
quick fix for web/extensions/core/colorPalette.js being updated causing error
quick fix for "KeyError: 'light'" (web/extensions/core/colorPalette.js updated causing error)
Oct 15, 2024
if you get this error:
heres a quick hack to fix it:
download the old colorPalette.js
https://github.com/comfyanonymous/ComfyUI/blob/3f5939add69c2a8fea2b892a46a48c2937dc4128/web/extensions/core/colorPalette.js
add
--comfyui-color-palette "PATH\TO\THE\FILE\colorPalette_old.js"
to your bat file, so for example
.\python_embeded\python.exe -s ComfyUI\comfy_gallery.py --comfyui-color-palette "c:\colorPalette_old.js"
The text was updated successfully, but these errors were encountered: