was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

Text Load Line From File node error

Open drago87 opened this issue 1 year ago • 4 comments

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)

drago87 avatar Nov 20 '23 14:11 drago87

The same problem.

liulsg avatar Jan 06 '24 02:01 liulsg

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

WASasquatch avatar Jan 06 '24 18:01 WASasquatch

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

qqqllppp avatar Jan 28 '24 06:01 qqqllppp

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.

WASasquatch avatar Feb 01 '24 05:02 WASasquatch