ComfyUI-LTXVideo icon indicating copy to clipboard operation
ComfyUI-LTXVideo copied to clipboard

Can't load node: LTXVCLIPModelLoader

Open Cey607 opened this issue 2 years ago • 5 comments

I don’t know if it’s because my Comfyui has not been updated. This node prompts an error after download:

FETCH DATA from: D:\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[ERROR] An error occurred while retrieving information for the 'LTXVCLIPModelLoader' node.
Traceback (most recent call last):
  File "D:\comfyui\server.py", line 564, in get_object_info
    out[x] = node_info(x)
  File "D:\comfyui\server.py", line 531, in node_info
    info['input'] = obj_class.INPUT_TYPES()
  File "D:\ComfyUI\custom_nodes\ComfyUI-LTXVideo\t5_encoder.py", line 123, in INPUT_TYPES
    folder_paths.get_filename_list("text_encoders"),
  File "D:\comfyui\folder_paths.py", line 326, in get_filename_list
    out = get_filename_list_(folder_name)
  File "D:\comfyui\folder_paths.py", line 287, in get_filename_list_
    folders = folder_names_and_paths[folder_name]
KeyError: 'text_encoders'

I replaced folder_paths.get_filename_list("text_encoders") with folder_paths.get_filename_list("clip") in .\ComfyUI\custom_nodes\ComfyUI-LTXVideo\t5_encoder.py` Now problem was solved . just incase someone meeting same error

Cey607 avatar Nov 25 '24 07:11 Cey607

the same error

wangxihao avatar Nov 25 '24 11:11 wangxihao

Update ComfyUI and it fix all the error, not need to modify the file. When you update ComfyUI, the folder "text_encoders" is created and can be used.

Undi95 avatar Nov 25 '24 12:11 Undi95

i updated all things and it game me this error Uploading Screenshot 2024-11-25 201102.png…

kshabanaa avatar Nov 25 '24 18:11 kshabanaa

I also encountered this issue, but I just need to update Comfyui to the latest version

balabalalabalaba avatar Nov 25 '24 19:11 balabalalabalaba

As @Undi95 said above its to do with the text_encoders folder. I manually created this and updated comfyui and it completely gimped the whole thing. So I had to delete my manually created folder then manually update comfyui using the bat file, and it worked.

JeffreyBull76 avatar Nov 28 '24 16:11 JeffreyBull76