Support for workflows broken in ComfyUI version 3.19

What happened.

Domo, I started ComfyUI as usual and loaded a workflow. It seems that the widget of nodes has been modified in the latest version of ComfyUI, and if you are using a custom node that has been affected by this change, the workflow is no longer usable.

Two coping strategies

Lower ComfyUI version

One is to lower the version of ComfyUI to the previous version, so that the following code can be used in the directory where the ComfyUI folder is located to change to the previous commit,

!git fetch
!git checkout a14c2fc3565277dfe8ab0ecb22a86c1d0a1f72cf

To revert to the latest version, run the following in the same directory

!git switch -

But I have another problem, which is the following error

RuntimeError: Added route will never be executed, method HEAD is already registered

I won’t bore you with the details, but it seems that the problem is in the code of a custom node in my installation, and it would be tedious to move the custom node to find out which one is causing the problem, and I can’t use that node until it is fixed. I used the following method

Lower the version of comfyui_frontend_package

This is the source that caused this issue. By reverting the version of this back to the version before the modification, the previous workflow now works properly with the latest version of ComfyUI! Please run the following code

!pip install comfyui_frontend_package==1.15.13

Finally.

I was surprised to find my usual workflow suddenly unavailable! I hope this information will help others who are in the same situation as me!

コメント