You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed, that files saved using that node use a "" instead of "/" for the concatenation between the path string and the filename string. So when i put path as "/config/images" and the filename is "comfyui01.png", then the output path would be "/config/images\comfyui01.txt".
Somehow then this is not correctly saved and the file ends up as this "/config/56as4dfg56.txt"
I might assume, that this is only an issue on linux, as in windows the delimiter for paths is \ and not / like for linux.
Some check here might be useful. Though i think instead of checking the os, it should check the delimiter of the input path and try to parse, which one is used there
Though i noticed, with my change the path thats outputed in the log is shown as "/config/images//comfyui01.txt", so double // here, but its still saving correctly
The text was updated successfully, but these errors were encountered:
I have noticed, that files saved using that node use a "" instead of "/" for the concatenation between the path string and the filename string. So when i put path as "/config/images" and the filename is "comfyui01.png", then the output path would be "/config/images\comfyui01.txt".
Somehow then this is not correctly saved and the file ends up as this "/config/56as4dfg56.txt"
I got around this by changing this line
ComfyUI_Comfyroll_CustomNodes/nodes/nodes_utils_text.py
Line 165 in d78b780
filepath = output_file_path + "/" + file_name + "." + file_extension
I might assume, that this is only an issue on linux, as in windows the delimiter for paths is \ and not / like for linux.
Some check here might be useful. Though i think instead of checking the os, it should check the delimiter of the input path and try to parse, which one is used there
Though i noticed, with my change the path thats outputed in the log is shown as "/config/images//comfyui01.txt", so double // here, but its still saving correctly
The text was updated successfully, but these errors were encountered: