WASasquatch / was-node-suite-comfyui

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

Text Load Line From File node error #274

Open drago87 opened 1 year ago

drago87 commented 1 year ago

I get this error if i have no input for the multiline_text

Error occurred when executing Text Load Line From File:

'multiline_text'

File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\AI\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\AI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ezXY\autoCastPatch.py", line 293, in map_node_over_list
_nums = [str(value) for value in input_data_all[input_name]]

and if i give it an input it ignores the text file and only uses the index from the input

Another error i get is if i am on a different computer and use --listen i get this

Prompt outputs failed validation
Text Load Line From File:
- Required input is missing: file_path

I have tried a local path to the file (the computer not running comfyui) and a remote path (the file path on the server running comfyui)

liulsg commented 11 months ago

The same problem.

WASasquatch commented 11 months ago

I'll try and take a look after finish taking care of bills this morning.

qqqllppp commented 10 months ago

I get

ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
  File "/home/ten/Documents/code/ComfyUI/execution.py", line 155, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ten/Documents/code/ComfyUI/execution.py", line 85, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ten/Documents/code/ComfyUI/custom_nodes/ComfyUI_ezXY/autoCastPatch.py", line 295, in map_node_over_list
    _nums = [str(value) for value in input_data_all[input_name]]
                                     ~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'text_c'

for this node:

Screenshot from 2024-01-28 14-07-59

when I have ezXY node installed and enabled. Disabling ezXY fixes this but I need it for my workflow.

The multiline connecting to text_a and text_b looks like this: Screenshot from 2024-01-28 14-14-30

first multiline is essentially filled with "newline" (\n).

WASasquatch commented 10 months ago

I am not sure what that is about. The node should be outputting a string so where is another node getting a key error about? Sounds like an issue with that node pack.