mikeymcfish/FishTools

Missing Dependencies

cazm-L opened this issue · 0 comments

First things first i think this is a very cool project ! That said id like to point out a few things that i have ran into when trying to use the workflow. apologies ahead of time if my use of 'skim_bolding' is annoying.

Setup im using is as follows:

  • Win11, I712800k & RTX3090
  • ComfyUI_windows_portable_nvidia_cu121_or_cpu_31_01_2024
  • ComfyUI Manager (for portable)

My Steps were as follows:

  • Git pull and install via the ComfyUI Manager
  • Import workflow via your .json file included in the repository

On loading i would get an import error for Deptherize.py. Looking at the cmd output it looks like it was due to a failure to import 'svgpathtools' . I assumed this is just due to it not being in the requirments.txt and was able to solve it easily by running <full path to python embed>/python_embeded/python.exe -s -m pip install svgpathtools.

Ok so with that dependency solved the included .json workflow loaded without issue. The next issue i ran into was error regarding the loras being missing ill include the error below. If you have those available to add to the repository that would be helpful.

Error occurred when executing CheckpointLoaderSimple:

'NoneType' object has no attribute 'lower'

File "\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\ComfyUI_windows_portable\ComfyUI\nodes.py", line 552, in load_checkpoint
out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 431, in load_checkpoint_guess_config
sd = comfy.utils.load_torch_file(ckpt_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\ComfyUI_windows_portable\ComfyUI\comfy\utils.py", line 12, in load_torch_file
if ckpt.lower().endswith(".safetensors"):
^^^^^^^^^^

Overall i look forward to the updates on this as a laser user my self. Thanks for the work you have put in so far, i hope my feedback was helpful in some way.