WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.19k stars 178 forks source link

Error occurred when executing CLIPTextEncode (NSP): not enough values to unpack (expected 2, got 1) #126

Closed octoworld closed 1 year ago

octoworld commented 1 year ago

Error occurring after git pull this morning.

WAS Node Suite: CLIPTextEncode Prased Prompt:
 (abstract organic architecture:1.23), Sky blue, James Stokoe
!!! Exception during processing !!!
Traceback (most recent call last):
  File "C:\Users\somebody\ComfyUI\ComfyUI\execution.py", line 145, in recursive_execute      
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "C:\Users\somebody\ComfyUI\ComfyUI\execution.py", line 75, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "C:\Users\somebody\ComfyUI\ComfyUI\execution.py", line 68, in map_node_over_list      
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "C:\Users\somebody\ComfyUI\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 8299, in nsp_encode
    embeddings, pooled = clip.encode(new_text)
ValueError: not enough values to unpack (expected 2, got 1)

Worked ok before, also all fine swapping it out with default CLIP Text Encode.

octoworld commented 1 year ago

Can be resolved by reverting changes in commit 7cc8c03.

WASasquatch commented 1 year ago

Should be patched.

octoworld commented 1 year ago

confirmed as fixed. cheers.