From 0048754fe8c892886c1674e3b86068417b60aab9 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Mon, 26 May 2025 02:21:25 +0900 Subject: [PATCH] fixed: An issue occurs when attempting to update a node pack installed via `git clone` if its URL has changed or if the node is not registered in `custom-nodes-list.json`. https://github.com/Comfy-Org/ComfyUI-Manager/issues/1834#issuecomment-2907690538 --- custom-node-list.json | 4 ++-- github-stats.json | 5 +++++ glob/manager_core.py | 2 +- glob/manager_server.py | 5 ++++- pyproject.toml | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/custom-node-list.json b/custom-node-list.json index 9d4a2b04..800f5b7a 100755 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -16853,9 +16853,9 @@ { "author": "silveroxides", "title": "Model and Checkpoint Loaders for NF4 and FP4", - "reference": "https://github.com/silveroxides/ComfyUI_bitsandbytes_NF4", + "reference": "https://github.com/silveroxides/ComfyUI_bnb_nf4_fp4_Loaders", "files": [ - "https://github.com/silveroxides/ComfyUI_bitsandbytes_NF4" + "https://github.com/silveroxides/ComfyUI_bnb_nf4_fp4_Loaders" ], "install_type": "git-clone", "description": "Nodes for loading both Checkpoints and UNET/Diffussion models quantized to bitsandbytes NF4 or FP4 format.\nStill under development and some limitations such as using LoRA might apply still." diff --git a/github-stats.json b/github-stats.json index 5b99823f..67703b6c 100644 --- a/github-stats.json +++ b/github-stats.json @@ -10734,6 +10734,11 @@ "last_update": "2025-04-28 01:08:43", "author_account_age_days": 1836 }, + "https://github.com/silveroxides/ComfyUI_bnb_nf4_fp4_Loaders": { + "stars": 36, + "last_update": "2025-04-28 01:08:43", + "author_account_age_days": 1836 + }, "https://github.com/sipherxyz/comfyui-art-venture": { "stars": 254, "last_update": "2025-04-15 08:23:18", diff --git a/glob/manager_core.py b/glob/manager_core.py index 97fb53f9..ca2b1a18 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -43,7 +43,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 32, 4] +version_code = [3, 32, 5] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/glob/manager_server.py b/glob/manager_server.py index 97949832..695e6bca 100644 --- a/glob/manager_server.py +++ b/glob/manager_server.py @@ -437,7 +437,10 @@ async def task_worker(): if res.ver == 'unknown': url = core.unified_manager.unknown_active_nodes[node_name][0] - title = os.path.basename(url) + try: + title = os.path.basename(url) + except Exception: + title = node_name else: url = core.unified_manager.cnr_map[node_name].get('repository') title = core.unified_manager.cnr_map[node_name]['name'] diff --git a/pyproject.toml b/pyproject.toml index 6adb77ab..4b0eb9a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-manager" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." -version = "3.32.4" +version = "3.32.5" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]