willmiao / ComfyUI-Lora-Manager

LoRA Manager for ComfyUI - A powerful extension for organizing, previewing, and integrating LoRA models with metadata and workflow support.
GNU General Public License v3.0
234 stars 19 forks source link

[Bug] "extra" folders added via the 'extra_model_paths.yaml' LoRA Manager has an issue reading the preview image... #113

Open SencneS opened 1 month ago

SencneS commented 1 month ago

LoRA Manager Version

I chose to move a bunch of LoRA's that were not from Civitiai to their own folder. This folder is in the .../models/Lora-II folder. I did this because I didn't want other apps to try and read the LoRA's that are not in CivitAI.

I also put all my personal trained LoRA's in this folder etc.

What is happening is the preview image doesn't load on the App.

Image

But the images are there - And you can even see them in the LoRA details view like this

Image

Basically everything else is working, but if the preview image... It's not a huge issue so it should not be given priority over breaking issues, but this is something that seems like an easier fix.

To help - here is the .json file for a LoRA, this one just happens to also be a CivitAI LoRA (I guess recently uploaded) Like I said everything works, nothing is broken apart from the Image on the APP Page.

Splash Portrait.metadata.json.zip

SencneS commented 1 month ago

Extra note - Even if you change the preview image manually - I saves the change, and updates the .json file, but does not update the preview image on the APP Page, it still appears "blank".

willmiao commented 1 month ago

Could you share the startup log?

SencneS commented 1 month ago

Could you share the startup log?

Here it is::-

The Startup Log

D:\AI\Art\ComfyUI>SET NUMEXPR_MAX_THREADS=28

D:\AI\Art\ComfyUI>CALL penv\Scripts\activate Adding extra search path loras D:\AI\Art\ComfyUI\models\loras-II [START] Security scan [DONE] Security scan

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2025-04-18 13:27:52.689 Platform: Windows Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] Python executable: D:\AI\Art\ComfyUI\penv\Scripts\python.exe ComfyUI Path: D:\AI\Art\ComfyUI ComfyUI Base Folder Path: D:\AI\Art\ComfyUI User directory: D:\AI\Art\ComfyUI\user ComfyUI-Manager config path: D:\AI\Art\ComfyUI\user\default\ComfyUI-Manager\config.ini ** Log path: D:\AI\Art\ComfyUI\user\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Easy-Use 2.4 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Manager

Checkpoint files will always be loaded safely. Total VRAM 16376 MB, total RAM 130813 MB pytorch version: 2.5.1+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync Using pytorch attention Python version: 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] ComfyUI version: 0.3.29 ComfyUI frontend version: 1.16.8 [Prompt Server] web root: D:\AI\Art\ComfyUI\penv\Lib\site-packages\comfyui_frontend_package\static Adding D:\AI\Art\ComfyUI\custom_nodes to sys.path Could not find efficiency nodes [comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\AI\Art\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected Loaded ControlNetPreprocessors nodes from D:\AI\Art\ComfyUI\custom_nodes\comfyui_controlnet_aux Could not find AdvancedControlNet nodes Could not find AnimateDiff nodes Could not find IPAdapter nodes Loaded VideoHelperSuite from D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite

Loading: ComfyUI-Impact-Pack (V8.11)

Loading: ComfyUI-Impact-Pack (V8.11)

Loaded ImpactPack nodes from D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Impact-Pack [Impact Pack] Wildcards loading done. [Impact Pack] Wildcards loading done. [Crystools INFO] Crystools version: 1.22.1 [Crystools INFO] CPU: Intel(R) Core(TM) i7-14700K - Arch: AMD64 - OS: Windows 10 [Crystools INFO] Pynvml (Nvidia) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 4070 Ti SUPER [Crystools INFO] NVIDIA Driver: 566.36 [ComfyUI-Easy-Use] server: v1.2.8 Loaded [ComfyUI-Easy-Use] web root: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Easy-Use\web_version/v2 Loaded ComfyUI-GGUF: Partial torch compile only, consider updating pytorch

Loading: ComfyUI-Impact-Pack (V8.11)

[Impact Pack] Wildcards loading done.

Loading: ComfyUI-Impact-Subpack (V1.2.9)

[Impact Subpack] ultralytics_bbox: D:\AI\Art\ComfyUI\models\ultralytics\bbox [Impact Subpack] ultralytics_segm: D:\AI\Art\ComfyUI\models\ultralytics\segm

Loading: ComfyUI-Inspire-Pack (V1.18)

Total VRAM 16376 MB, total RAM 130813 MB pytorch version: 2.5.1+cu124 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : cudaMallocAsync Found LoRA roots:

[rgthree-comfy] Loaded 42 magnificent nodes. 🎉

[💾 save_image_extended] AVIF is supported! Woohoo! [💾 save_image_extended] JPEGXL is supported! YeePee! [💾 save_image_extended] version: 2.83 FETCH ComfyRegistry Data: 5/82 Searge-SDXL v4.3.1 in D:\AI\Art\ComfyUI\custom_nodes\SeargeSDXL WAS Node Suite: OpenCV Python FFMPEG support is enabled WAS Node Suite Warning: ffmpeg_bin_path is not set in D:\AI\Art\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available. WAS Node Suite: Finished. Loaded 220 nodes successfully.

    "Art is the mirror that reflects the beauty within us." - Unknown

Import times for custom nodes: 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\sdxl_prompt_styler 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Styles_CSV_Loader 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-CSV-Loader 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Universal-Styler 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\save-image-extended-comfyui 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Florence2 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-copilot 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Image-Saver 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-inpaint-nodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-WD14-Tagger 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ControlFlowUtils 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\mikey_nodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui_ipadapter_plus 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-TiledDiffusion 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Impact-Subpack 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-tooling-nodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-RMBG 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_FizzNodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\OneButtonPrompt 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-LTXVideo 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-frame-interpolation 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui_controlnet_aux 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-dream-project 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Impact-Pack 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\python-interpreter-node 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-SaveImageWithMetaData 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfy-image-saver 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-KJNodes 0.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_Searge_LLM 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Crystools 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_VLM_nodes 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-inspire-pack 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui_layerstyle 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-fluxtrainer 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\pulid_comfyui 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-AdvancedLivePortrait 0.1 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-MediaMixer 0.2 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui_pulid_flux_ll 0.2 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-tensorops 0.5 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI_InfiniteYou 0.6 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Manager 0.8 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-art-venture 0.8 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-propost 1.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\was-node-suite-comfyui 1.0 seconds: D:\AI\Art\ComfyUI\custom_nodes\SeargeSDXL 1.7 seconds: D:\AI\Art\ComfyUI\custom_nodes\cgem156-ComfyUI 7.3 seconds: D:\AI\Art\ComfyUI\custom_nodes\ComfyUI-Easy-Use 30.3 seconds: D:\AI\Art\ComfyUI\custom_nodes\comfyui-lora-manager

LoRA Manager: Initializing services via ServiceRegistry File monitoring is disabled via ENABLE_FILE_MONITORING setting Lora monitor started Checkpoint path initialization skipped (monitoring disabled) Checkpoint file monitoring is disabled via ENABLE_FILE_MONITORING setting Checkpoint monitor started LoRA Manager: All services initialized and background tasks scheduled Starting server

To see the GUI go to: http://127.0.0.1:8188 Recipe cache initialized in 0.00 seconds. Found 5 recipes Error loading metadata from D:/AI/Art/ComfyUI/models/checkpoints/Flux.1D/Cliped/flux_dev_FP8.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 623525 appears to be deleted from Civitai (404 response) Error loading metadata from D:/AI/Art/ComfyUI/models/checkpoints/Flux.1D/flux1-dev-FP32.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 617609 appears to be deleted from Civitai (404 response) FETCH ComfyRegistry Data: 10/82 FETCH ComfyRegistry Data: 15/82 FETCH ComfyRegistry Data: 20/82 FETCH ComfyRegistry Data: 25/82 FETCH ComfyRegistry Data: 30/82 FETCH ComfyRegistry Data: 35/82 FETCH ComfyRegistry Data: 40/82 FETCH ComfyRegistry Data: 45/82 FETCH ComfyRegistry Data: 50/82 FETCH ComfyRegistry Data: 55/82 FETCH ComfyRegistry Data: 60/82 FETCH ComfyRegistry Data: 65/82 FETCH ComfyRegistry Data: 70/82 FETCH ComfyRegistry Data: 75/82 FETCH ComfyRegistry Data: 80/82 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [ComfyUI-Manager] All startup tasks have been completed. Loras page is initializing, returning loading page Error loading metadata from D:/AI/Art/ComfyUI/models/diffusion_models/Flux.1D/Cliped/flux_dev_FP8.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 623525 appears to be deleted from Civitai (404 response) Error loading metadata from D:/AI/Art/ComfyUI/models/diffusion_models/Flux.1D/flux1-dev-FP32.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 617609 appears to be deleted from Civitai (404 response) Error loading metadata from D:/AI/Art/ComfyUI/models/unet/Flux.1D/Cliped/flux_dev_FP8.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 623525 appears to be deleted from Civitai (404 response) Error loading metadata from D:/AI/Art/ComfyUI/models/unet/Flux.1D/flux1-dev-FP32.metadata.json: CheckpointMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 617609 appears to be deleted from Civitai (404 response) Checkpoint cache initialized in 288.00 seconds. Found 429 models Error loading metadata from D:/AI/Art/ComfyUI/models/loras/Flux.1D/character/Park Bo Gum.metadata.json: LoraMetadata.init() got an unexpected keyword argument 'civitai_deleted' Failed to fetch model metadata: Status 404 Model 1395572 appears to be deleted from Civitai (404 response) Error loading metadata from D:/AI/Art/ComfyUI/models/loras/Flux.1D/NotCivitAI/batman bat humanoid.metadata.json: 'file_path' Failed to fetch model metadata: Status 404 Model 1466935 appears to be deleted from Civitai (404 response) Failed to fetch model metadata: Status 404 Model 653939 appears to be deleted from Civitai (404 response) Failed to fetch model metadata: Status 404 Model 1457461 appears to be deleted from Civitai (404 response) Failed to fetch model metadata: Status 404 Model 1474138 appears to be deleted from Civitai (404 response) Failed to fetch model metadata: Status 404 Model 1474041 appears to be deleted from Civitai (404 response) Failed to fetch model metadata: Status 404 Model 1312388 appears to be deleted from Civitai (404 response) Lora cache initialized in 753.50 seconds. Found 28973 models