Skip to content

Add workaround for a hacky nodepack existing - #11755

Merged
guill merged 1 commit into
masterfrom
workaround-hacky-nodepack
Jan 9, 2026
Merged

guill merged 1 commit into
masterfrom
workaround-hacky-nodepack

Conversation

@Kosinkadink

@Kosinkadink Kosinkadink commented Jan 9, 2026 •

Copy link
Copy Markdown
Contributor

It appears there is at least one nodepack that adds a tuple into folder_paths.folder_names_and_paths that has more than 2 values. This is completely unexpected, and I am surprised this didn't break things before; our core code appears to never implicitly assume this after custom nodes are loaded, only before.

The Assets PR parsing through folder_paths after custom nodes were loaded, so I guess we only find out now about those nodepacks.

This workaround simply plucks the first and second values from the tuple instead of implicitly expecting two.

… to have values with tuples of more than 2. Other things could potentially break with those nodepack(s), so I will hunt for the guilty nodepack(s) now.
@guill
guill merged commit ec0a832 into master Jan 9, 2026
14 checks passed
@comfyanonymous
comfyanonymous deleted the workaround-hacky-nodepack branch January 9, 2026 06:49
@Kosinkadink Kosinkadink mentioned this pull request Jan 9, 2026
1 task done
Subarasheese pushed a commit to Subarasheese/ComfyUI that referenced this pull request Jul 26, 2026
… to have values with tuples of more than 2. Other things could potentially break with those nodepack(s), so I will hunt for the guilty nodepack(s) now. (Comfy-Org#11755)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants