receyuki / comfyui-prompt-reader-node

The ultimate solution for managing image metadata and multi-tool compatibility. ComfyUI node version of the SD Prompt Reader
MIT License
289 stars 22 forks source link

Workflow can no longer be loaded after update #78

Closed murphylanga closed 5 months ago

murphylanga commented 5 months ago

Description

Loading aborted due to error reloading workflow data

TypeError: Cannot read properties of undefined (reading 'find') TypeError: Cannot read properties of undefined (reading 'find') at nodeType.onGraphConfigured (http://127.0.0.1:8188/extensions/core/widgetInputs.js:359:29) at app.graph.onConfigure (http://127.0.0.1:8188/scripts/app.js:1406:29) at LGraph.configure (http://127.0.0.1:8188/lib/litegraph.core.js:2260:9) at LGraph.configure (http://127.0.0.1:8188/scripts/app.js:1393:22) at LGraph.configure (http://127.0.0.1:8188/extensions/ComfyUI-Custom-Scripts/js/reroutePrimitive.js:14:29) at LGraph.configure (http://127.0.0.1:8188/extensions/ComfyUI-Custom-Scripts/js/snapToGrid.js:69:21) at ComfyApp.loadGraphData (http://127.0.0.1:8188/scripts/app.js:1838:15) at async app.loadGraphData (http://127.0.0.1:8188/extensions/core/undoRedo.js:25:12) at async app.loadGraphData (http://127.0.0.1:8188/extensions/ComfyUI-Manager/components-manager.js:771:9) at async reader.onload (http://127.0.0.1:8188/scripts/app.js:2206:6) This may be due to the following script: /extensions/core/widgetInputs.js

Here you can find a workflow: https://openart.ai/workflows/murphylanga/automatic_comfyui_sdxl_modul-incl-faceswap/2Bsh5QwsrQkKFx6CLCz7

Reproduction steps

1 start comfy UI

  1. load the workflow

Image file

No response

receyuki commented 5 months ago

Sorry for the inconvenience. I mistakenly thought no one would use this special node. I've now reverted the problematic commit e8ca90fe35c1e12a3bfa3e277f732ff62e6b9c61.

For the problematic commit, its main purpose was to change the original Type Converter node into a more practical version with only one input and one output. To avoid impacting more people, I'll rename the new version to Any Converter.

murphylanga commented 5 months ago

Wow, you are fast. Thanks so much. I could have solved the Type Converter differently, but I still didn't know where I had to search. :-) But of course it's very nice for me. Thank you again, also for your great work and the custom nodes. But now I have to go to bed as quickly as possible.

receyuki commented 5 months ago

You can try using Any Converter node tomorrow. I personally think it'll be a better solution : )

murphylanga commented 5 months ago

Thank you again, I changed my new workflows. But it is great that the old workflows work again.