ltdrdata / ComfyUI-Inspire-Pack

This repository offers various extension nodes for ComfyUI. Nodes here have different characteristics compared to those in the ComfyUI Impact Pack. The Impact Pack has become too large now...
GNU General Public License v3.0
433 stars 50 forks source link

Cannot load a workflow with LoadImageListFromDir node because there is a "is_changed": [NaN] #180

Open ansorre opened 2 weeks ago

ansorre commented 2 weeks ago

When using LoadImageListFromDir the created image also include the workflow with the LoadImageListFromDir settings in the JSON. Unfortunately "is_changed": [NaN] ia added in every LoadImageListFromDir, which is not correct JSON. This causes the "not loading" the workflow from the image. If you extract manually (with a Python script) the workflow from the PNG and for example save it in a JSON file it also won't be loaded by ComfyUI. To have it loaded you need to change "is_changed": [NaN] for example in "is_changed": ["NaN"]

ltdrdata commented 2 weeks ago

When using LoadImageListFromDir the created image also include the workflow with the LoadImageListFromDir settings in the JSON. Unfortunately "is_changed": [NaN] ia added in every LoadImageListFromDir, which is not correct JSON. This causes the "not loading" the workflow from the image. If you extract manually (with a Python script) the workflow from the PNG and for example save it in a JSON file it also won't be loaded by ComfyUI. To have it loaded you need to change "is_changed": [NaN] for example in "is_changed": ["NaN"]

This phenomenon typically occurs when using workflows created by outdated custom nodes, where the node structure becomes broken. Remove the custom node and add it again. If you're using ComfyUI-Manager, you can easily restore it through the recreate function in the context menu.

And make sure your Inspire Pack is up to date.