Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'ImageScale' #709

Closed
Wladislav opened this issue May 13, 2024 · 6 comments
Closed

KeyError: 'ImageScale' #709

Wladislav opened this issue May 13, 2024 · 6 comments
Labels
custom-comfy Issue with custom ComfyUI setup

Comments

@Wladislav
Copy link

Wladislav commented May 13, 2024

Hello, I did everything as described here https://www.interstice.cloud/plugin. But I get an error: KeyError: 'ImageScale' when I try to generate an image and KeyError: 'DifferentialDiffusion' when I do an Infill on an image. Can you help with something please?

150307
150459

KeyError: 'ImageScale'
got prompt
Error handling request
Traceback (most recent call last):
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 543, in handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 42, in cache_control
response: web.Response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 54, in cors_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\server.py", line 469, in post_prompt
valid = execution.validate_prompt(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_windows_portable\ComfyUI\execution.py", line 625, in validate_prompt
class
= nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'ImageScale'

@Acly
Copy link
Owner

Acly commented May 14, 2024

It means it can't find some nodes in your ComfyUI install. It's probably just too old and needs an update.

@Acly Acly added the custom-comfy Issue with custom ComfyUI setup label May 14, 2024
@Wladislav
Copy link
Author

It means it can't find some nodes in your ComfyUI install. It's probably just too old and needs an update.

I get CompyUI from https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu121_or_cpu.7z
Is this an old version?

153750

Where is there a newer version of ComfyUI?

@Acly
Copy link
Owner

Acly commented May 14, 2024

No the version is fine. Can you find the node in the UI?
image

@Wladislav
Copy link
Author

Wladislav commented May 14, 2024

No the version is fine. Can you find the node in the UI?

000936
That's all there is. Do I need to add anything?

@Acly
Copy link
Owner

Acly commented May 14, 2024

Both ImageScale and DifferentialDiffusion are part of base ComfyUI. You have a bunch of nodes I don't know, presumably from some other extensions. Maybe there is a conflict?

@Wladislav
Copy link
Author

Both ImageScale and DifferentialDiffusion are part of base ComfyUI. You have a bunch of nodes I don't know, presumably from some other extensions. Maybe there is a conflict?

Thank you very much! Works!

@Acly Acly closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-comfy Issue with custom ComfyUI setup
Projects
None yet
Development

No branches or pull requests

2 participants