Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdvancedCLIPTextEncode node types were not found #6

Open
Natotela opened this issue May 18, 2023 · 2 comments
Open

AdvancedCLIPTextEncode node types were not found #6

Natotela opened this issue May 18, 2023 · 2 comments

Comments

@Natotela
Copy link

Any thought on why I keep getting this error and red node even after I rm and git cloned this repo again?

When loading the graph, the following node types were not found:
AdvancedCLIPTextEncode
Nodes that have failed to load will show as red on the graph.
@BlenderNeko
Copy link
Owner

I had to do some name changes a little while ago, which unfortunately isn't backwards compatible. So now some old workflows contain names that no longer match the new names and thus comfy won't be able to resolve those nodes. If you go into the json and replace AdvancedCLIPTextEncode with BNK_CLIPTextEncodeAdvanced it should be able to resolve the nodes just fine again.

@Natotela
Copy link
Author

Natotela commented May 19, 2023

lol I actually realized I can do that and now I see your solution :-D

even had bingy give me the code to do that to other files if necessary:

import sys

filename = sys.argv[1]

with open(filename, 'r') as file:
    data = file.read()
    
data = data.replace('AdvancedCLIPTextEncode', 'BNK_CLIPTextEncodeAdvanced')

with open(filename, 'w') as file:
    file.write(data)

comfyUI is cool and intriguing
yet it is still so fragmented, pieced out and between

As for now I'd advice any newcomer to
1- mind the cleanup_temp() calls in main.py, in case you wish to save the /temp B-sides that is not the supposedly royal end-result /output
2- get the Custom Nodes Manager
3- mklink everything. Loras, CKPTs, Upscalers - centralize the heavy files which serve several masters.

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

No branches or pull requests

2 participants