SLAPaper / ComfyUI-Image-Selector

Select one or some of images from a batch
Apache License 2.0
68 stars 9 forks source link

Selector does not recognize nested nodes after pressing Cancel run > Progress (...) #3

Closed ghost closed 8 months ago

ghost commented 8 months ago

"Unknown error" is displayed, the console says:

got prompt
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
  File "P:\cui\python_embeded\lib\site-packages\aiohttp\web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "P:\cui\python_embeded\lib\site-packages\aiohttp\web_app.py", line 504, in _handle
    resp = await handler(request)
  File "P:\cui\python_embeded\lib\site-packages\aiohttp\web_middlewares.py", line 117, in impl
    return await handler(request)
  File "P:\cui\ComfyUI\server.py", line 46, in cache_control
    response: web.Response = await handler(request)
  File "P:\cui\ComfyUI\server.py", line 472, in post_prompt
    valid = execution.validate_prompt(prompt)
  File "P:\cui\ComfyUI\execution.py", line 598, in validate_prompt
    class_ = nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
KeyError: 'MyNode'

The MyNode isnt the first one after / before the selector, it is an unrelated one to the part where I press the buttons

Otherwise it works fine and it is a really great addition to workflows

SLAPaper commented 8 months ago

Didn't find "MyNode" in the code so I have no idea where this error come from. Could you make a minimum workflow that can reproduce this error?

ghost commented 8 months ago

I see I made a mistake here. Posted it in the wrong extension, sorry for the confusion (it was about the comfyui image picker not selector)