ssitu / ComfyUI_UltimateSDUpscale

ComfyUI nodes for the Ultimate Stable Diffusion Upscale script by Coyote-A.
GNU General Public License v3.0
791 stars 54 forks source link

(IMPORT FAILED) #59

Closed Dimaray closed 5 months ago

Dimaray commented 7 months ago

Yesterday everything was working and today USDU stopped working. There was an update in python and some nodes not sure what caused this. image image

Dimaray commented 7 months ago

maybe need to reinstall the whole thing...

got prompt [ERROR] An error occurred during the on_prompt_handler processing Traceback (most recent call last): File "D:#AI\ComfyUI\server.py", line 637, in trigger_on_prompt json_data = handler(json_data) ^^^^^^^^^^^^^^^^^^ File "D:#AI\ComfyUI\custom_nodes\ComfyUI_smZNodes\smZNodes.py", line 861, in prompt_handler if node["class_type"] == "smZ CLIPTextEncode":


KeyError: 'class_type'
Error handling request
Traceback (most recent call last):
  File "D:\#AI\python_embeded\Lib\site-packages\aiohttp\web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\#AI\python_embeded\Lib\site-packages\aiohttp\web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "D:\#AI\python_embeded\Lib\site-packages\aiohttp\web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "D:\#AI\ComfyUI\server.py", line 46, in cache_control
    response: web.Response = await handler(request)
                             ^^^^^^^^^^^^^^^^^^^^^^
  File "D:\#AI\ComfyUI\server.py", line 476, in post_prompt
    valid = execution.validate_prompt(prompt)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\#AI\ComfyUI\execution.py", line 598, in validate_prompt
    class_ = nodes.NODE_CLASS_MAPPINGS[prompt[x]['class_type']]
                                       ~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'class_type'
Dimaray commented 7 months ago

I might have found the problem. Testing

Dimaray commented 7 months ago

Issue found: comfyui-reactor-node - https://github.com/Gourieff/comfyui-reactor-node Not sure but this is fucking with the Upscaler

ssitu commented 7 months ago

Yeah this issue popped up recently. The developer of that node uses my system for porting over extensions from a1111, so I think they changed something in there recently to cause the conflict, but I'm not sure. I don't think this conflict existed before.

Dimaray commented 7 months ago

Before it was ok.

s-damyanov commented 7 months ago

The fix from here worked out for me: https://github.com/ssitu/ComfyUI_UltimateSDUpscale/issues/53