Skip to content

Conversation

@Kosinkadink
Copy link
Member

@Kosinkadink Kosinkadink commented Jan 9, 2026

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
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.

3 participants