ltdrdata / ComfyUI-Manager

ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. It offers management functions to install, remove, disable, and enable various custom nodes of ComfyUI. Furthermore, this extension provides a hub feature and convenience functions to access a wide range of information within ComfyUI.
GNU General Public License v3.0
6.51k stars 833 forks source link

Locked out by security level configuration and unable to change it #1049

Closed Kornifikator closed 1 month ago

Kornifikator commented 1 month ago

Hi, I am using a cloud solution (runpod) to run ComfyUI. Some days ago, I had to delete and to re-install my ComfyUI installation from scratch. After the re-installation I wanted to set it up and to download the most common nodes etc., but when I tried this I encountered this and similar error messages: "This action is not allowed with this security level configuration." I already looked into the config.ini and changed it to "weak", "low", etc. But this didn't change anything. I appreciate security features, but I think you took it too far. I can't even download the nodes from ltdrdata (the creator of the manager lol). Since today, I can't even run the 'Update all' without receiving the above mentioned error message. Is there any fix for this or any option to totally disable this security stuff? Thanks in advance.

ltdrdata commented 1 month ago

You need to restart ComfyUI instance after modification.

Kornifikator commented 1 month ago

Hello ltdrdata, thank you for your reply. Of course, I did restart the instance after (every) modification. In fact, it was the first thing I did. It didn't solve the issue though. Any chance to disable the security feature on the client side and run it on my own risk without it, like before?

ltdrdata commented 1 month ago

Hello ltdrdata, thank you for your reply. Of course, I did restart the instance after (every) modification. In fact, it was the first thing I did. It didn't solve the issue though. Any chance to disable the security feature on the client side and run it on my own risk without it, like before?

Nodes in the default channel should normally download even with 'normal' security settings. What version of ComfyUI-Manager are you using?

AlexNolasco commented 1 month ago

Same issue, adjusted config.ini (security_level = weak ) and restarted. Issue persists ComfyUI v0.2.2 Release ComfyUI: 2695e813ab Manager: V2.50.3

AlexNolasco commented 1 month ago

there seems to be a migration issue with security (which makes sense) as indicated in manager_core.py (# policy migration: disable_unsecure_features -> security_level) .

To get it back to work I updated the ComfyUI-Manager's config.ini with the following

[default]
... removed other items for brevity
disable_unsecure_features = False
security_level = normal
ltdrdata commented 1 month ago

there seems to be a migration issue with security (which makes sense) as indicated in manager_core.py (# policy migration: disable_unsecure_features -> security_level) .

To get it back to work I updated the ComfyUI-Manager's config.ini with the following

[default]
... removed other items for brevity
disable_unsecure_features = False
security_level = normal

You can remove disable_unsecure_features. It is a legacy setting that has been ignored after being changed to security_level.

AlexNolasco commented 1 month ago

You can remove disable_unsecure_features. It is a legacy setting that has been ignored after being changed to security_level.

I removed disable_unsecure_features and it works as well, thank you.

GPU-server commented 1 week ago

Hello @ltdrdata , Do you think it is "normal" to have this very same message while trying to install this custom node? (https://github.com/MrForExample/ComfyUI-3D-Pack/issues/335) Second question: Would you recommand changing security level temporarily, download the missing nodes, then raising the security level again?

ltdrdata commented 1 week ago

Hello @ltdrdata , Do you think it is "normal" to have this very same message while trying to install this custom node? (MrForExample/ComfyUI-3D-Pack#335) Second question: Would you recommand changing security level temporarily, download the missing nodes, then raising the security level again?

https://github.com/ltdrdata/ComfyUI-Manager#security-policy

GPU-server commented 1 week ago

Hello @ltdrdata , Do you think it is "normal" to have this very same message while trying to install this custom node? (MrForExample/ComfyUI-3D-Pack#335) Second question: Would you recommand changing security level temporarily, download the missing nodes, then raising the security level again?

https://github.com/ltdrdata/ComfyUI-Manager#security-policy

You don't get my question @ltdrdata , I asked, do you knnow if it's normal for that extension to BLOCK comfy manager from doing anything, asd REQUIRES FROM me to reduce the entry to "weak security level"? Otherwise I would get:

ComfyUI-3D-Pack fix failed: This action is not allowed with this security level configuration

Why Did I get "this action is not allowed" for this extension?

ltdrdata commented 1 week ago

You don't get my question @ltdrdata , I asked, do you knnow if it's normal for that extension to BLOCK comfy manager from doing anything, asd REQUIRES FROM me to reduce the entry to "weak security level"? Otherwise I would get:

ComfyUI-3D-Pack fix failed: This action is not allowed with this security level configuration

Why Did I get "this action is not allowed" for this extension?

There's no problem when installing nodes from the default channel. For the "Try fix" option, the security level has been raised because it was deemed to pose a security risk. Installing and fixing are different situations.

And these security blocking measures only operate when you allow non-local network connections through the --listen option.

GPU-server commented 1 week ago

I did not "manually" allow --listen option to run. I wonder how this happened. That's why I raised this issue, wanted to know if that extension is suspicious in the end then? I wonder. I also don't know where to check if "--listen" has been activated? I simply double click on "run_nvidia_gpu.bat", I never written "--listen" one single time! Nor have I activated it.

(I would not know where/how to do that.... so that's kinda suspicious??)

ltdrdata commented 1 week ago

I did not "manually" allow --listen option to run. I wonder how this happened. That's why I raised this issue, wanted to know if that extension is suspicious in the end then? I wonder. I also don't know where to check if "--listen" has been activated? I simply double click on "run_nvidia_gpu.bat", I never written "--listen" one single time!

What exactly was the task you attempted in the Manager? What function did you perform on which custom node in the Manager Dialog? And show me the comfyui.log.

GPU-server commented 1 week ago

Sorry to ask this question but where can I find the comfyui.log? I don't see it under: "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI" nor under: "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager" I did not check under every directory though. I have always copied manually the logs from the terminal (when the window of comyfui was still running)

ltdrdata commented 1 week ago

Sorry to ask this question but where can I find the comfyui.log? I don't see it under: "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI" nor under: "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager" I did not check under every directory though. I have always copied manually the logs from the terminal (when the window of comyfui was still running)

You can find the comfyui.log file in the execution directory. If you're running it using run_nvidia_gpu.bat, you should be able to find it in that location.

GPU-server commented 1 week ago

Yes thanks, here it is: I only removed the "time and machine name" from the file, the rest is untouched. Althought I noticed there was files such as "comfyui.prev2.log" but that's probably older logs.

## ComfyUI-Manager: installing dependencies done.
[2024-10-09 22:05] ** ComfyUI startup time: (REDACTED for GITHUB)
[2024-10-09 22:05] ** Platform: Windows
[2024-10-09 22:05] ** Python version: 3.11.9 ((REDACTED for GITHUB))
[2024-10-09 22:05] ** Python executable: D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\python.exe
[2024-10-09 22:05] ** ComfyUI Path: D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI
[2024-10-09 22:05] ** Log path: D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\comfyui.log
[2024-10-09 22:05] 
#######################################################################
[2024-10-09 22:05] [ComfyUI-Manager] Starting dependency installation/(de)activation for the extension
[2024-10-09 22:05] 
[2024-10-09 22:05] 
## ComfyUI-Manager: EXECUTE => ['D:\\NewInstalls\\comfy4\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-m', 'pip', 'install', 'colour-science']
[2024-10-09 22:05] 
## Execute install/(de)activation script for 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials'
[2024-10-09 22:05]  Collecting colour-science
[2024-10-09 22:05]    Using cached colour_science-0.4.4-py3-none-any.whl.metadata (53 kB)
[2024-10-09 22:05]       Using cached colour_science-0.4.4-py3-none-any.whl (2.3 MB)
[2024-10-09 22:05]  Installing collected packages: colour-science
[2024-10-09 22:05]  Successfully installed colour-science-0.4.4
[2024-10-09 22:05] 
## ComfyUI-Manager: EXECUTE => ['D:\\NewInstalls\\comfy4\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-m', 'pip', 'install', 'pixeloe']
[2024-10-09 22:05] 
## Execute install/(de)activation script for 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials'
[2024-10-09 22:05]  Collecting pixeloe
[2024-10-09 22:05]    Downloading pixeloe-0.0.10.tar.gz (13 kB)
[2024-10-09 22:05]    Preparing metadata (setup.py): started
[2024-10-09 22:05]    Preparing metadata (setup.py): finished with status 'done'
[2024-10-09 22:05]     Building wheels for collected packages: pixeloe
[2024-10-09 22:05]    Building wheel for pixeloe (setup.py): started
[2024-10-09 22:05]    Building wheel for pixeloe (setup.py): finished with status 'done'
[2024-10-09 22:05]    Created wheel for pixeloe: filename=pixeloe-0.0.10-py3-none-any.whl size=13765 sha256=182e477cca5d7407bc6cd5c59f10c61be0201991a890b2e451b7d77bbb7376fd
[2024-10-09 22:05]    Stored in directory: c:\users\XXX\appdata\local\pip\cache\wheels\fe\1a\62\5aa5c84a386eb287dacac2f10585d8c35c15bdb337710c7c27
[2024-10-09 22:05]  Successfully built pixeloe
[2024-10-09 22:05]  Installing collected packages: pixeloe
[2024-10-09 22:05] [!]   WARNING: The scripts pixeloe.outline.exe and pixeloe.pixelize.exe are installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:05] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:05]  Successfully installed pixeloe-0.0.10
[2024-10-09 22:05] 
## ComfyUI-Manager: EXECUTE => ['D:\\NewInstalls\\comfy4\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\python_embeded\\python.exe', '-m', 'pip', 'install', 'transparent-background']
[2024-10-09 22:05] 
## Execute install/(de)activation script for 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials'
[2024-10-09 22:05]  Collecting transparent-background
[2024-10-09 22:05]    Downloading transparent_background-1.3.3-py3-none-any.whl.metadata (14 kB)
[2024-10-09 22:05]        Collecting gdown>=4.5.4 (from transparent-background)
[2024-10-09 22:05]    Using cached gdown-5.2.0-py3-none-any.whl.metadata (5.8 kB)
[2024-10-09 22:05]  Collecting wget>=3.2 (from transparent-background)
[2024-10-09 22:05]    Using cached wget-3.2-py3-none-any.whl
[2024-10-09 22:05]  Collecting easydict>=1.10 (from transparent-background)
[2024-10-09 22:05]    Using cached easydict-1.13-py3-none-any.whl.metadata (4.2 kB)
[2024-10-09 22:05]   Collecting albumentations>=1.3.1 (from transparent-background)
[2024-10-09 22:05]    Downloading albumentations-1.4.18-py3-none-any.whl.metadata (32 kB)
[2024-10-09 22:05]  Collecting albucore==0.0.16 (from transparent-background)
[2024-10-09 22:05]    Downloading albucore-0.0.16-py3-none-any.whl.metadata (3.1 kB)
[2024-10-09 22:05]  Collecting flet>=0.23.1 (from transparent-background)
[2024-10-09 22:05]    Downloading flet-0.24.1-py3-none-win_amd64.whl.metadata (3.2 kB)
[2024-10-09 22:05]   Collecting opencv-python-headless>=4.9.0.80 (from albucore==0.0.16->transparent-background)
[2024-10-09 22:05]    Using cached opencv_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB)
[2024-10-09 22:05]  Collecting numpy>=1.24 (from albucore==0.0.16->transparent-background)
[2024-10-09 22:05]    Using cached numpy-2.1.2-cp311-cp311-win_amd64.whl.metadata (59 kB)
[2024-10-09 22:05]    Collecting pydantic>=2.7.0 (from albumentations>=1.3.1->transparent-background)
[2024-10-09 22:05]    Using cached pydantic-2.9.2-py3-none-any.whl.metadata (149 kB)
[2024-10-09 22:05]  INFO: pip is looking at multiple versions of albumentations to determine which version is compatible with other requirements. This could take a while.
[2024-10-09 22:05]  Collecting albumentations>=1.3.1 (from transparent-background)
[2024-10-09 22:05]    Downloading albumentations-1.4.17-py3-none-any.whl.metadata (38 kB)
[2024-10-09 22:05]    Downloading albumentations-1.4.16-py3-none-any.whl.metadata (38 kB)
[2024-10-09 22:05]    Downloading albumentations-1.4.15-py3-none-any.whl.metadata (38 kB)
[2024-10-09 22:05]  Collecting eval-type-backport (from albumentations>=1.3.1->transparent-background)
[2024-10-09 22:05]    Using cached eval_type_backport-0.2.0-py3-none-any.whl.metadata (2.2 kB)
[2024-10-09 22:05]  Collecting cookiecutter<3.0.0,>=2.6.0 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached cookiecutter-2.6.0-py3-none-any.whl.metadata (7.3 kB)
[2024-10-09 22:05]  Collecting fastapi<1,>=0 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached fastapi-0.115.0-py3-none-any.whl.metadata (27 kB)
[2024-10-09 22:05]  Collecting flet-runtime==0.24.1 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading flet_runtime-0.24.1-py3-none-any.whl.metadata (1.1 kB)
[2024-10-09 22:05]  Collecting packaging<24.0,>=23.1 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
[2024-10-09 22:05]  Collecting qrcode<8.0.0,>=7.4.2 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached qrcode-7.4.2-py3-none-any.whl.metadata (17 kB)
[2024-10-09 22:05]  Collecting uvicorn<1,>=0 (from uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading uvicorn-0.31.1-py3-none-any.whl.metadata (6.6 kB)
[2024-10-09 22:05]  Collecting watchdog<5.0.0,>=4.0.0 (from flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached watchdog-4.0.2-py3-none-win_amd64.whl.metadata (38 kB)
[2024-10-09 22:05]  Collecting flet-core==0.24.1 (from flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading flet_core-0.24.1-py3-none-any.whl.metadata (971 bytes)
[2024-10-09 22:05]  Collecting httpx<1,>=0 (from flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached httpx-0.27.2-py3-none-any.whl.metadata (7.1 kB)
[2024-10-09 22:05]  Collecting oauthlib<4.0.0,>=3.2.2 (from flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB)
[2024-10-09 22:05]  Collecting repath<0.10.0,>=0.9.0 (from flet-core==0.24.1->flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached repath-0.9.0-py3-none-any.whl.metadata (899 bytes)
[2024-10-09 22:05]  Collecting beautifulsoup4 (from gdown>=4.5.4->transparent-background)
[2024-10-09 22:05]    Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
[2024-10-09 22:05]            Collecting torch>=1.7.1 (from transparent-background)
[2024-10-09 22:05]    Using cached torch-2.4.1-cp311-cp311-win_amd64.whl.metadata (27 kB)
[2024-10-09 22:05]    Collecting binaryornot>=0.4.4 (from cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached binaryornot-0.4.4-py2.py3-none-any.whl.metadata (6.0 kB)
[2024-10-09 22:05]   Collecting python-slugify>=4.0.0 (from cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB)
[2024-10-09 22:05]  Collecting arrow (from cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
[2024-10-09 22:05]   Collecting starlette<0.39.0,>=0.37.2 (from fastapi<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached starlette-0.38.6-py3-none-any.whl.metadata (6.0 kB)
[2024-10-09 22:05]   Collecting annotated-types>=0.6.0 (from pydantic>=2.7.0->albumentations>=1.3.1->transparent-background)
[2024-10-09 22:05]    Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)
[2024-10-09 22:05]  Collecting pydantic-core==2.23.4 (from pydantic>=2.7.0->albumentations>=1.3.1->transparent-background)
[2024-10-09 22:05]    Downloading pydantic_core-2.23.4-cp311-none-win_amd64.whl.metadata (6.7 kB)
[2024-10-09 22:05]  Collecting pypng (from qrcode<8.0.0,>=7.4.2->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached pypng-0.20220715.0-py3-none-any.whl.metadata (13 kB)
[2024-10-09 22:05]     Collecting h11>=0.8 (from uvicorn<1,>=0->uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
[2024-10-09 22:05]  Collecting httptools>=0.5.0 (from uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached httptools-0.6.1-cp311-cp311-win_amd64.whl.metadata (3.7 kB)
[2024-10-09 22:05]  Collecting python-dotenv>=0.13 (from uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)
[2024-10-09 22:05]  Collecting watchfiles>=0.13 (from uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading watchfiles-0.24.0-cp311-none-win_amd64.whl.metadata (5.0 kB)
[2024-10-09 22:05]  Collecting websockets>=10.4 (from uvicorn[standard]<1,>=0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading websockets-13.1-cp311-cp311-win_amd64.whl.metadata (7.0 kB)
[2024-10-09 22:05]  Collecting soupsieve>1.2 (from beautifulsoup4->gdown>=4.5.4->transparent-background)
[2024-10-09 22:05]    Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
[2024-10-09 22:05]      Collecting PySocks!=1.5.7,>=1.5.6 (from requests[socks]->gdown>=4.5.4->transparent-background)
[2024-10-09 22:05]    Using cached PySocks-1.7.1-py3-none-any.whl.metadata (13 kB)
[2024-10-09 22:05]   Collecting chardet>=3.0.2 (from binaryornot>=0.4.4->cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
[2024-10-09 22:05]  Collecting anyio (from httpx<1,>=0->flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached anyio-4.6.0-py3-none-any.whl.metadata (4.6 kB)
[2024-10-09 22:05]  Collecting httpcore==1.* (from httpx<1,>=0->flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached httpcore-1.0.6-py3-none-any.whl.metadata (21 kB)
[2024-10-09 22:05]  Collecting sniffio (from httpx<1,>=0->flet-runtime==0.24.1->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
[2024-10-09 22:05]  Collecting text-unidecode>=1.3 (from python-slugify>=4.0.0->cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
[2024-10-09 22:05]   Collecting types-python-dateutil>=2.8.10 (from arrow->cookiecutter<3.0.0,>=2.6.0->flet>=0.23.1->transparent-background)
[2024-10-09 22:05]    Downloading types_python_dateutil-2.9.0.20241003-py3-none-any.whl.metadata (1.9 kB)
[2024-10-09 22:05]      Downloading transparent_background-1.3.3-py3-none-any.whl (31 kB)
[2024-10-09 22:05]  Downloading albucore-0.0.16-py3-none-any.whl (9.5 kB)
[2024-10-09 22:05]  Downloading albumentations-1.4.15-py3-none-any.whl (200 kB)
[2024-10-09 22:05]  Using cached easydict-1.13-py3-none-any.whl (6.8 kB)
[2024-10-09 22:05]  Downloading flet-0.24.1-py3-none-win_amd64.whl (42.7 MB)
[2024-10-09 22:05]     ---------------------------------------- 42.7/42.7 MB 60.4 MB/s eta 0:00:00
[2024-10-09 22:05]  Downloading flet_runtime-0.24.1-py3-none-any.whl (19 kB)
[2024-10-09 22:05]  Downloading flet_core-0.24.1-py3-none-any.whl (412 kB)
[2024-10-09 22:05]  Using cached gdown-5.2.0-py3-none-any.whl (18 kB)
[2024-10-09 22:05]  Using cached torch-2.4.1-cp311-cp311-win_amd64.whl (199.4 MB)
[2024-10-09 22:05]  Using cached cookiecutter-2.6.0-py3-none-any.whl (39 kB)
[2024-10-09 22:05]  Using cached fastapi-0.115.0-py3-none-any.whl (94 kB)
[2024-10-09 22:05]  Using cached numpy-2.1.2-cp311-cp311-win_amd64.whl (12.9 MB)
[2024-10-09 22:05]  Using cached opencv_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl (38.8 MB)
[2024-10-09 22:05]  Using cached packaging-23.2-py3-none-any.whl (53 kB)
[2024-10-09 22:05]  Using cached pydantic-2.9.2-py3-none-any.whl (434 kB)
[2024-10-09 22:05]  Downloading pydantic_core-2.23.4-cp311-none-win_amd64.whl (1.9 MB)
[2024-10-09 22:05]     ---------------------------------------- 1.9/1.9 MB 51.7 MB/s eta 0:00:00
[2024-10-09 22:05]  Using cached qrcode-7.4.2-py3-none-any.whl (46 kB)
[2024-10-09 22:05]  Downloading uvicorn-0.31.1-py3-none-any.whl (63 kB)
[2024-10-09 22:05]  Using cached watchdog-4.0.2-py3-none-win_amd64.whl (82 kB)
[2024-10-09 22:05]  Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
[2024-10-09 22:05]  Using cached eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB)
[2024-10-09 22:05]  Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB)
[2024-10-09 22:05]  Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
[2024-10-09 22:05]  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
[2024-10-09 22:05]  Using cached httptools-0.6.1-cp311-cp311-win_amd64.whl (55 kB)
[2024-10-09 22:05]  Using cached httpx-0.27.2-py3-none-any.whl (76 kB)
[2024-10-09 22:05]  Using cached httpcore-1.0.6-py3-none-any.whl (78 kB)
[2024-10-09 22:05]  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
[2024-10-09 22:05]  Using cached PySocks-1.7.1-py3-none-any.whl (16 kB)
[2024-10-09 22:05]  Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB)
[2024-10-09 22:05]  Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
[2024-10-09 22:05]  Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
[2024-10-09 22:05]  Using cached starlette-0.38.6-py3-none-any.whl (71 kB)
[2024-10-09 22:05]  Downloading watchfiles-0.24.0-cp311-none-win_amd64.whl (277 kB)
[2024-10-09 22:05]  Downloading websockets-13.1-cp311-cp311-win_amd64.whl (159 kB)
[2024-10-09 22:05]  Using cached arrow-1.3.0-py3-none-any.whl (66 kB)
[2024-10-09 22:05]  Using cached pypng-0.20220715.0-py3-none-any.whl (58 kB)
[2024-10-09 22:05]  Using cached anyio-4.6.0-py3-none-any.whl (89 kB)
[2024-10-09 22:05]  Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
[2024-10-09 22:05]  Using cached repath-0.9.0-py3-none-any.whl (4.7 kB)
[2024-10-09 22:05]  Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
[2024-10-09 22:05]  Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
[2024-10-09 22:05]  Downloading types_python_dateutil-2.9.0.20241003-py3-none-any.whl (9.7 kB)
[2024-10-09 22:05]  Installing collected packages: wget, text-unidecode, pypng, easydict, websockets, watchdog, types-python-dateutil, soupsieve, sniffio, repath, qrcode, python-slugify, python-dotenv, PySocks, pydantic-core, packaging, oauthlib, numpy, httptools, h11, eval-type-backport, chardet, annotated-types, uvicorn, torch, pydantic, opencv-python-headless, httpcore, flet-core, binaryornot, beautifulsoup4, arrow, anyio, watchfiles, starlette, httpx, gdown, cookiecutter, albucore, flet-runtime, fastapi, albumentations, flet, transparent-background
[2024-10-09 22:05] [!]   WARNING: The script watchmedo.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:05] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:05] [!]   WARNING: The script qr.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:05] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:05] [!]   WARNING: The script slugify.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:05] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:05] [!]   WARNING: The script dotenv.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:05] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:05]    Attempting uninstall: packaging
[2024-10-09 22:05]      Found existing installation: packaging 24.1
[2024-10-09 22:05]      Uninstalling packaging-24.1:
[2024-10-09 22:05]        Successfully uninstalled packaging-24.1
[2024-10-09 22:05]    Attempting uninstall: numpy
[2024-10-09 22:06]      Found existing installation: numpy 1.24.3
[2024-10-09 22:06]      Uninstalling numpy-1.24.3:
[2024-10-09 22:06]        Successfully uninstalled numpy-1.24.3
[2024-10-09 22:06] [!]   WARNING: The scripts f2py.exe and numpy-config.exe are installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:06] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:06] [!]   WARNING: The script chardetect.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:06] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:06] [!]   WARNING: The script uvicorn.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:06] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:06]    Attempting uninstall: torch
[2024-10-09 22:06]      Found existing installation: torch 2.4.0+cu121
[2024-10-09 22:06]      Uninstalling torch-2.4.0+cu121:
[2024-10-09 22:06]        Successfully uninstalled torch-2.4.0+cu121
[2024-10-09 22:06] [!]   WARNING: The scripts convert-caffe2-to-onnx.exe, convert-onnx-to-caffe2.exe and torchrun.exe are installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:06] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:06]    Attempting uninstall: opencv-python-headless
[2024-10-09 22:06]      Found existing installation: opencv-python-headless 4.7.0.72
[2024-10-09 22:06]      Uninstalling opencv-python-headless-4.7.0.72:
[2024-10-09 22:06]        Successfully uninstalled opencv-python-headless-4.7.0.72
[2024-10-09 22:06] [!]   WARNING: The script watchfiles.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The script httpx.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The script gdown.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The script cookiecutter.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The script fastapi.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The script flet.exe is installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!]   WARNING: The scripts transparent-background-gui.exe and transparent-background.exe are installed in 'D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Scripts' which is not on PATH.
[2024-10-09 22:07] [!]   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[2024-10-09 22:07] [!] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
 [2024-10-09 22:07] Successfully installed PySocks-1.7.1 albucore-0.0.16 albumentations-1.4.15 annotated-types-0.7.0 anyio-4.6.0 arrow-1.3.0 beautifulsoup4-4.12.3 binaryornot-0.4.4 chardet-5.2.0 cookiecutter-2.6.0 easydict-1.13 eval-type-backport-0.2.0 fastapi-0.115.0 flet-0.24.1 flet-core-0.24.1 flet-runtime-0.24.1 gdown-5.2.0 h11-0.14.0 httpcore-1.0.6 httptools-0.6.1 httpx-0.27.2 numpy-2.1.2 oauthlib-3.2.2 opencv-python-headless-4.10.0.84 packaging-23.2 pydantic-2.9.2 pydantic-core-2.23.4 pypng-0.20220715.0 python-dotenv-1.0.1 python-slugify-8.0.4 qrcode-7.4.2 repath-0.9.0 sniffio-1.3.1 soupsieve-2.6 starlette-0.38.6 text-unidecode-1.3 torch-2.4.1 transparent-background-1.3.3 types-python-dateutil-2.9.0.20241003 uvicorn-0.31.1 watchdog-4.0.2 watchfiles-0.24.0 websockets-13.1 wget-3.2
[!][2024-10-09 22:07]  colour-science 0.4.4 requires numpy<2,>=1.22, but you have numpy 2.1.2 which is incompatible.
[2024-10-09 22:07] [!] gpytoolbox 0.3.2 requires numpy<2, but you have numpy 2.1.2 which is incompatible.
[2024-10-09 22:07] [!] numba 0.60.0 requires numpy<2.1,>=1.22, but you have numpy 2.1.2 which is incompatible.
[2024-10-09 22:07] [!] torchaudio 2.4.0+cu121 requires torch==2.4.0+cu121, but you have torch 2.4.1 which is incompatible.
[2024-10-09 22:07] [!] xformers 0.0.27.post2 requires torch==2.4.0, but you have torch 2.4.1 which is incompatible.
[2024-10-09 22:07] 
[ComfyUI-Manager] Startup script completed.
[2024-10-09 22:07] #######################################################################
[2024-10-09 22:07] 
[2024-10-09 22:07] 
Prestartup times for custom nodes:
[2024-10-09 22:07]  100.5 seconds: D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
[2024-10-09 22:07] 
Traceback (most recent call last):
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\main.py", line 90, in <module>
[2024-10-09 22:07]     import execution
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 13, in <module>
[2024-10-09 22:07]     import nodes
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\nodes.py", line 21, in <module>
[2024-10-09 22:07]     import comfy.diffusers_load
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy\diffusers_load.py", line 3, in <module>
[2024-10-09 22:07]     import comfy.sd
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 5, in <module>
[2024-10-09 22:07]     from comfy import model_management
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy\model_management.py", line 143, in <module>
[2024-10-09 22:07]     total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
[2024-10-09 22:07]                                   ^^^^^^^^^^^^^^^^^^
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\comfy\model_management.py", line 112, in get_torch_device
[2024-10-09 22:07]     return torch.device(torch.cuda.current_device())
[2024-10-09 22:07]                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda\__init__.py", line 878, in current_device
[2024-10-09 22:07]     _lazy_init()
[2024-10-09 22:07]   File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\cuda\__init__.py", line 305, in _lazy_init
[2024-10-09 22:07]     raise AssertionError("Torch not compiled with CUDA enabled")
[2024-10-09 22:07] AssertionError: Torch not compiled with CUDA enabled
ltdrdata commented 1 week ago

According to your logs, the custom node is being installed correctly. What exactly is being blocked?

GPU-server commented 1 week ago

Ohhh I showed you the logs AFTER removing the security level blocking (moving it to "weak). Sorry. I will try to find the logs related to when I had the security level at "normal". I hope I find it, otherwise I would need to redo the whole installation to simulate it (It's all related to the infamous 3D pack , super super hard to install btw, Not sure I was able to install it correclty until today, after days of trying).

GPU-server commented 1 week ago

OKI found logs, but only inside files that I had saved "manually", they contains this: ERROR: To use this action, a security_level of middle or below is required. Please contact the administrator This sentence was not found anywhere on ANY of my comfy installations, I did a global search for all *.log files. Non contained that sentence, yet alone the word "administrator" How comes the terminal showed me this sentence yet the logs did not save it? Without waiting any longer, here are the logs I saved, and btw they were so long, the terminal (bash) window could not contain them, so we only got the last part of the logs:

......
Note: including file:      D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/Device.h
Note: including file:      D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/python_headers.h
...
(THIS CONTINUES for like 4000 LINES, then:)
D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch/csrc/python_headers.h(12): fatal error C1083: Unable to open include file: 'Python.h': No such file or directory : 'Python.h' : No such file or directory
ninja: build stopped: subcommand failed.

### Loading: ComfyUI-Manager (V2.51.6)
### ComfyUI Revision: 2652 [0c7c98a9] *DETACHED | Released on '2024-09-05'

Import times for custom nodes:
   0.0 seconds: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
   0.6 seconds: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
  19.2 seconds (IMPORT FAILED): D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-3D-Pack

Starting server

To see the GUI go to: http://127.0.0.1:8188
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\746607195_github-stats.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
ERROR: To use this action, a security_level of `middle or below` is required. Please contact the administrator.
Reference: https://github.com/ltdrdata/ComfyUI-Manager#security-policy
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1514988643_custom-node-list.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\746607195_github-stats.json [DONE]
FETCH DATA from: D:\NewInstalls\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
ERROR: To use this action, a security_level of `middle or below` is required. Please contact the administrator.
Reference: https://github.com/ltdrdata/ComfyUI-Manager#security-policy
ltdrdata commented 1 week ago

open ComfyUI-Manager\glob\manager_server.py in notepad. goto line 49 and modified code like this.

def is_allowed_security_level(level):
    print(f"[DBG] {level} / {is_local_mode} / {is_local_mode} / {args.listen}")  ## add this line
    if level == 'block':
        return False
    elif level == 'high':
        if is_local_mode:
            return core.get_config()['security_level'].lower() in ['weak', 'normal-']
        else:
            return core.get_config()['security_level'].lower() == 'weak'
    elif level == 'middle':
        return core.get_config()['security_level'].lower() in ['weak', 'normal', 'normal-']
    else:
        return True

restart ComfyUI and rerun the ComfyUI-Manager function where the block occurs, then examine that part of the log again.

GPU-server commented 1 week ago

I was unable to reproduce this. The logs I found were inside a notepad that I had saved earlier. If I remember correctly it was when pressing "TRY FIX" on 3D pack extension itself. I reset security level to normal, and tried to updating a package and it went well without error.

One thing to think about is: Why the comfyu LOGS do not register this line "ERROR: To use this action, a security_level of middle or below is required. Please contact the administrator."? Could not find it anywhere on all my logs (when I searched for it earlier).

I will comment here whenever it happens to me again! (Could happen if I try to install comfy 3D pack again with a new method, most probably)

Edit: BTW, if I try to install missing nodes I still get my torch 2.4.0 removed and replaced with 2.4.1 which does not work, and numpy upgraded (without my consent) which breaks everything. Dont know if this is ALL RELATED or no. or I should make a specific issue about this behaviour (We already did I think).

GPU-server commented 6 days ago

Ok I encountered this problem again (trying to a "TRY FIX" for a custom node) @ltdrdata

## ComfyUI-Manager: installing dependencies done.
[2024-10-15 19:36] ** ComfyUI startup time: 2024(REDACTED)
[2024-10-15 19:36] ** Platform: Windows
[2024-10-15 19:36] ** Python version: 3.11.9 ((REDACTED)
[2024-10-15 19:36] ** Python executable: D:\NewInstalls\flux\python_embeded\python.exe
[2024-10-15 19:36] ** ComfyUI Path: D:\NewInstalls\flux\ComfyUI
[2024-10-15 19:36] ** Log path: D:\NewInstalls\flux\comfyui.log
[2024-10-15 19:36] 
Prestartup times for custom nodes:
[2024-10-15 19:36]    1.7 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager
[2024-10-15 19:36] 
Total VRAM 24576 MB, total RAM (REDACTED) MB
[2024-10-15 19:36] pytorch version: 2.4.1+cu124
[2024-10-15 19:36] Set vram state to: NORMAL_VRAM
[2024-10-15 19:36] Device: cuda:0 (REDACTED) : cudaMallocAsync
[2024-10-15 19:36] Using pytorch cross attention
[2024-10-15 19:36] [Prompt Server] web root: D:\NewInstalls\flux\ComfyUI\web
[2024-10-15 19:36] Adding extra search path checkpoints C:\Users\ (REDACTED) \Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion
[2024-10-15 19:36] Adding extra search path configs C:\Users\..\Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion
[2024-10-15 19:36] Adding extra search path vae C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/VAE
[2024-10-15 19:36] Adding extra search path loras C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/Lora
[2024-10-15 19:36] Adding extra search path loras C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/LyCORIS
[2024-10-15 19:36] Adding extra search path upscale_models C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/ESRGAN
[2024-10-15 19:36] Adding extra search path upscale_models C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/RealESRGAN
[2024-10-15 19:36] Adding extra search path upscale_models C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/SwinIR
[2024-10-15 19:36] Adding extra search path embeddings C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\embeddings
[2024-10-15 19:36] Adding extra search path hypernetworks C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/hypernetworks
[2024-10-15 19:36] Adding extra search path controlnet C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/ControlNet
[2024-10-15 19:36] Adding extra search path clip_vision C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/text_encoder
[2024-10-15 19:36] Adding extra search path diffusion_models C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion
[2024-10-15 19:36] Adding extra search path clip C:\Users\...\Downloads\webui_forge_cu121_torch231\webui\models\text_encoder
[2024-10-15 19:36] Adding extra search path checkpoints D:\ComfyUIModels_______\models/checkpoints/
[2024-10-15 19:36] Adding extra search path checkpoints D:\ComfyUIModels_______\models/unet
[2024-10-15 19:36] Adding extra search path clip D:\ComfyUIModels_______\models/clip/
[2024-10-15 19:36] Adding extra search path clip_vision D:\ComfyUIModels_______\models/clip_vision/
[2024-10-15 19:36] Adding extra search path configs D:\ComfyUIModels_______\models/configs/
[2024-10-15 19:36] Adding extra search path controlnet D:\ComfyUIModels_______\models/controlnet/
[2024-10-15 19:36] Adding extra search path diffusion_models D:\ComfyUIModels_______\models/diffusion_models
[2024-10-15 19:36] Adding extra search path diffusion_models D:\ComfyUIModels_______\models/unet
[2024-10-15 19:36] Adding extra search path embeddings D:\ComfyUIModels_______\models/embeddings/
[2024-10-15 19:36] Adding extra search path loras D:\ComfyUIModels_______\models/loras/
[2024-10-15 19:36] Adding extra search path upscale_models D:\ComfyUIModels_______\models/upscale_models/
[2024-10-15 19:36] Adding extra search path vae D:\ComfyUIModels_______\models/vae/
[2024-10-15 19:36] D:\NewInstalls\flux\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please use `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
[2024-10-15 19:36] Total VRAM 24576 MB, total RAM ... MB
[2024-10-15 19:36] pytorch version: 2.4.1+cu124
[2024-10-15 19:36] Set vram state to: NORMAL_VRAM
[2024-10-15 19:36] Device: cuda:0 ... : cudaMallocAsync
[2024-10-15 19:36] ### Loading: ComfyUI-Manager (V2.51.7)
[2024-10-15 19:36] ### ComfyUI Revision: 2761 [f5847582] | Released on '2024-10-14'
[2024-10-15 19:36] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2024-10-15 19:36] [comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\NewInstalls\flux\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts
[2024-10-15 19:36] [comfyui_controlnet_aux] | INFO -> Using symlinks: False
[2024-10-15 19:36] [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
[2024-10-15 19:36] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2024-10-15 19:36] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2024-10-15 19:36] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2024-10-15 19:36] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2024-10-15 19:36] D:\NewInstalls\flux\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py:26: UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly
  warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
[2024-10-15 19:36] Traceback (most recent call last):
  File "D:\NewInstalls\flux\ComfyUI\nodes.py", line 2001, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis\__init__.py", line 1, in <module>
    from .faceanalysis import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis\faceanalysis.py", line 16, in <module>
    raise Exception("Please install either dlib or insightface to use this node.")
Exception: Please install either dlib or insightface to use this node.

[2024-10-15 19:36] Cannot import D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis module for custom nodes: Please install either dlib or insightface to use this node.
[2024-10-15 19:36] Traceback (most recent call last):
  File "D:\NewInstalls\flux\ComfyUI\nodes.py", line 2001, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID\__init__.py", line 1, in <module>
    from .InstantID import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 13, in <module>
    from insightface.app import FaceAnalysis
ModuleNotFoundError: No module named 'insightface'

[2024-10-15 19:36] Cannot import D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID module for custom nodes: No module named 'insightface'
[2024-10-15 19:36] 
Import times for custom nodes:
[2024-10-15 19:36]    0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\websocket_image_save.py
[2024-10-15 19:36]    0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-mape-Helpers
[2024-10-15 19:36]    0.0 seconds (IMPORT FAILED): D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis
[2024-10-15 19:36]    0.0 seconds (IMPORT FAILED): D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID
[2024-10-15 19:36]    0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
[2024-10-15 19:36]    0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-GGUF
[2024-10-15 19:36]    0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_essentials
[2024-10-15 19:36]    0.1 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_bnb_nf4_fp4_Loaders
[2024-10-15 19:36]    0.1 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-KJNodes
[2024-10-15 19:36]    0.2 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\x-flux-comfyui
[2024-10-15 19:36]    0.4 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager
[2024-10-15 19:36]    0.5 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\comfyui_controlnet_aux
[2024-10-15 19:36] 
[2024-10-15 19:36] Starting server

[2024-10-15 19:36] To see the GUI go to: http://127.0.0.1:8188
[2024-10-15 19:36] FETCH DATA from: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[2024-10-15 19:36] ['anime_lora_comfy_converted.safetensors', 'art_lora_comfy_converted.safetensors', 'disney_lora_comfy_converted.safetensors', 'flux-RealismLora.safetensors', 'flux-furry-lora.safetensors', 'furry_lora.safetensors', 'mjv6_lora_comfy_converted.safetensors', 'realism_lora_comfy_converted.safetensors', 'scenery_lora_comfy_converted.safetensors']
[2024-10-15 19:36] ['anime_lora_comfy_converted.safetensors', 'art_lora_comfy_converted.safetensors', 'disney_lora_comfy_converted.safetensors', 'flux-RealismLora.safetensors', 'flux-furry-lora.safetensors', 'furry_lora.safetensors', 'mjv6_lora_comfy_converted.safetensors', 'realism_lora_comfy_converted.safetensors', 'scenery_lora_comfy_converted.safetensors']
[2024-10-15 19:36] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE]
[2024-10-15 19:36] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
[2024-10-15 19:36] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [DONE]
[2024-10-15 19:36] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE]
[2024-10-15 19:37] [DBG] high / True / True / 127.0.0.1
[2024-10-15 19:37] ERROR: This installation is not allowed in this security_level. Please contact the administrator.
Reference: https://github.com/ltdrdata/ComfyUI-Manager#security-policy

The line you were looking for seems to be: [2024-10-15 19:37] [DBG] high / True / True / 127.0.0.1

GPU-server commented 6 days ago

Waiting for instructions before activating "security level: weak". @ltdrdata (sorry for the double ping)

ltdrdata commented 5 days ago

Waiting for instructions before activating "security level: weak". @ltdrdata (sorry for the double ping)

Update ComfyUI manager and try again.

GPU-server commented 5 days ago

I just retried what you asked.

I just need to precise something, in between I saw my hard disk memory fall (too many stuff installed) so I panicked and removed the extension I had tried "TRY FIX" on, but not I re isntalled it and retried "TRY FIX" (it failed obviousely the same) and this time I got this:

(and it seems to be the same logs, perhaps I missed something? what was supposed to happen here?) (I also also added an extra screenshot below)

ComfyUI-Manager: installing dependencies done.

[2024-10-16 06:52] ComfyUI startup time: (REDACTED) [2024-10-16 06:52] Platform: Windows [2024-10-16 06:52] Python version: 3.11.9 ((REDACTED) [2024-10-16 06:52] Python executable: D:\NewInstalls\flux\python_embeded\python.exe [2024-10-16 06:52] ComfyUI Path: D:\NewInstalls\flux\ComfyUI [2024-10-16 06:52] Log path: D:\NewInstalls\flux\comfyui.log [2024-10-16 06:52] ####################################################################### [2024-10-16 06:52] [ComfyUI-Manager] Starting dependency installation/(de)activation for the extension [2024-10-16 06:52] [2024-10-16 06:52]

ComfyUI-Manager: EXECUTE => ['D:\NewInstalls\flux\python_embeded\python.exe', '-m', 'pip', 'install', 'insightface']

[2024-10-16 06:52]

Execute install/(de)activation script for 'D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID'

[2024-10-16 06:52] Collecting insightface [2024-10-16 06:52] Using cached insightface-0.7.3.tar.gz (439 kB) [2024-10-16 06:52] Installing build dependencies: started [2024-10-16 06:52] Installing build dependencies: finished with status 'done' [2024-10-16 06:53] Getting requirements to build wheel: started [2024-10-16 06:53] Getting requirements to build wheel: finished with status 'error' [2024-10-16 06:53] [!] error: subprocess-exited-with-error [2024-10-16 06:53] [!]
[2024-10-16 06:53] [!] Getting requirements to build wheel did not run successfully. [2024-10-16 06:53] [!] exit code: 1 [2024-10-16 06:53] [!]
[2024-10-16 06:53] [!] [18 lines of output] [2024-10-16 06:53] [!] Traceback (most recent call last): [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in [2024-10-16 06:53] [!] main() [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main [2024-10-16 06:53] [!] json_out['return_val'] = hook(**hook_input['kwargs']) [2024-10-16 06:53] [!] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel [2024-10-16 06:53] [!] return hook(config_settings) [2024-10-16 06:53] [!] ^^^^^^^^^^^^^^^^^^^^^ [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 332, in get_requires_for_build_wheel [2024-10-16 06:53] [!] return self._get_build_requires(config_settings, requirements=[]) [2024-10-16 06:53] [!] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 302, in _get_build_requires [2024-10-16 06:53] [!] self.run_setup() [2024-10-16 06:53] [!] File "D:\NewInstalls\flux\python_embeded\Lib\site-packages\setuptools\build_meta.py", line 318, in run_setup [2024-10-16 06:53] [!] exec(code, locals()) [2024-10-16 06:53] [!] File "", line 11, in [2024-10-16 06:53] [!] ModuleNotFoundError: No module named 'Cython' [2024-10-16 06:53] [!] [end of output] [2024-10-16 06:53] [!]
[2024-10-16 06:53] [!] note: This error originates from a subprocess, and is likely not a problem with pip. [2024-10-16 06:53] [!] error: subprocess-exited-with-error [2024-10-16 06:53] [!] [2024-10-16 06:53] [!] Getting requirements to build wheel did not run successfully. [2024-10-16 06:53] [!] exit code: 1 [2024-10-16 06:53] [!] [2024-10-16 06:53] [!] See above for output. [2024-10-16 06:53] [!] [2024-10-16 06:53] [!] note: This error originates from a subprocess, and is likely not a problem with pip. [2024-10-16 06:53] install/(de)activation script failed: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID [2024-10-16 06:53]

ComfyUI-Manager: EXECUTE => ['D:\NewInstalls\flux\python_embeded\python.exe', '-m', 'pip', 'install', "onnxruntime-gpu; sys_platform != 'darwin' and platform_machine == 'x86_64'"]

[2024-10-16 06:53]

Execute install/(de)activation script for 'D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID'

[2024-10-16 06:53] Ignoring onnxruntime-gpu: markers 'sys_platform != "darwin" and platform_machine == "x86_64"' don't match your environment [2024-10-16 06:53] [ComfyUI-Manager] Startup script completed. [2024-10-16 06:53] ####################################################################### [2024-10-16 06:53] [2024-10-16 06:53] Prestartup times for custom nodes: [2024-10-16 06:53] 28.2 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager [2024-10-16 06:53] Total VRAM 24576 MB, total RAM..MB [2024-10-16 06:53] pytorch version: 2.4.1+cu124 [2024-10-16 06:53] Set vram state to: NORMAL_VRAM [2024-10-16 06:53] Device: cuda:0 ... : cudaMallocAsync [2024-10-16 06:53] Using pytorch cross attention [2024-10-16 06:53] [Prompt Server] web root: D:\NewInstalls\flux\ComfyUI\web [2024-10-16 06:53] Adding extra search path checkpoints C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion [2024-10-16 06:53] Adding extra search path configs C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion [2024-10-16 06:53] Adding extra search path vae C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/VAE [2024-10-16 06:53] Adding extra search path loras C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/Lora [2024-10-16 06:53] Adding extra search path loras C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/LyCORIS [2024-10-16 06:53] Adding extra search path upscale_models C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/ESRGAN [2024-10-16 06:53] Adding extra search path upscale_models C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/RealESRGAN [2024-10-16 06:53] Adding extra search path upscale_models C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/SwinIR [2024-10-16 06:53] Adding extra search path embeddings C:\Users...\Downloads\webui_forge_cu121_torch231\webui\embeddings [2024-10-16 06:53] Adding extra search path hypernetworks C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/hypernetworks [2024-10-16 06:53] Adding extra search path controlnet C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/ControlNet [2024-10-16 06:53] Adding extra search path clip_vision C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/text_encoder [2024-10-16 06:53] Adding extra search path diffusion_models C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models/Stable-diffusion [2024-10-16 06:53] Adding extra search path clip C:\Users...\Downloads\webui_forge_cu121_torch231\webui\models\text_encoder [2024-10-16 06:53] Adding extra search path checkpoints D:\ComfyUIModels\models/checkpoints/ [2024-10-16 06:53] Adding extra search path checkpoints D:\ComfyUIModels\models/unet [2024-10-16 06:53] Adding extra search path clip D:\ComfyUIModels_\models/clip/ [2024-10-16 06:53] Adding extra search path clip_vision D:\ComfyUIModels___\models/clip_vision/ [2024-10-16 06:53] Adding extra search path configs D:\ComfyUIModels___\models/configs/ [2024-10-16 06:53] Adding extra search path controlnet D:\ComfyUIModels_\models/controlnet/ [2024-10-16 06:53] Adding extra search path diffusion_models D:\ComfyUIModels_\models/diffusion_models [2024-10-16 06:53] Adding extra search path diffusionmodels D:\ComfyUIModels\models/unet [2024-10-16 06:53] Adding extra search path embeddings D:\ComfyUIModels\models/embeddings/ [2024-10-16 06:53] Adding extra search path loras D:\ComfyUIModels\models/loras/ [2024-10-16 06:53] Adding extra search path upscale_models D:\ComfyUIModels___\models/upscale_models/ [2024-10-16 06:53] Adding extra search path vae D:\ComfyUIModels___\models/vae/ [2024-10-16 06:53] D:\NewInstalls\flux\python_embeded\Lib\site-packages\kornia\feature\lightglue.py:44: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead. @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32) [2024-10-16 06:53] Total VRAM 24576 MB, total RAM .. MB [2024-10-16 06:53] pytorch version: 2.4.1+cu124 [2024-10-16 06:53] Set vram state to: NORMAL_VRAM [2024-10-16 06:53] Device: cuda:0 ... : cudaMallocAsync [2024-10-16 06:53] ### Loading: ComfyUI-Manager (V2.51.7) [2024-10-16 06:53] ### ComfyUI Revision: 2762 [0dbba9f7] | Released on '2024-10-15' [2024-10-16 06:53] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [2024-10-16 06:53] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [2024-10-16 06:53] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [2024-10-16 06:53] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [2024-10-16 06:53] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [2024-10-16 06:53] [comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\NewInstalls\flux\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts [2024-10-16 06:53] [comfyui_controlnet_aux] | INFO -> Using symlinks: False [2024-10-16 06:53] [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] [2024-10-16 06:53] Traceback (most recent call last): File "D:\NewInstalls\flux\ComfyUI\nodes.py", line 2001, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis__init__.py", line 1, in from .faceanalysis import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis\faceanalysis.py", line 16, in raise Exception("Please install either dlib or insightface to use this node.") Exception: Please install either dlib or insightface to use this node.

[2024-10-16 06:53] Cannot import D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis module for custom nodes: Please install either dlib or insightface to use this node. [2024-10-16 06:53] Traceback (most recent call last): File "D:\NewInstalls\flux\ComfyUI\nodes.py", line 2001, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID__init__.py", line 1, in from .InstantID import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID\InstantID.py", line 13, in from insightface.app import FaceAnalysis ModuleNotFoundError: No module named 'insightface'

[2024-10-16 06:53] Cannot import D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID module for custom nodes: No module named 'insightface' [2024-10-16 06:53] Import times for custom nodes: [2024-10-16 06:53] 0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\websocket_image_save.py [2024-10-16 06:53] 0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-mape-Helpers [2024-10-16 06:53] 0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus [2024-10-16 06:53] 0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-GGUF [2024-10-16 06:53] 0.0 seconds (IMPORT FAILED): D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_FaceAnalysis [2024-10-16 06:53] 0.0 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_essentials [2024-10-16 06:53] 0.1 seconds (IMPORT FAILED): D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_InstantID [2024-10-16 06:53] 0.1 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI_bnb_nf4_fp4_Loaders [2024-10-16 06:53] 0.2 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-KJNodes [2024-10-16 06:53] 0.2 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\x-flux-comfyui [2024-10-16 06:53] 0.4 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager [2024-10-16 06:53] 0.8 seconds: D:\NewInstalls\flux\ComfyUI\custom_nodes\comfyui_controlnet_aux [2024-10-16 06:53] [2024-10-16 06:53] Starting server

[2024-10-16 06:53] To see the GUI go to: http://127.0.0.1:8188 [2024-10-16 06:53] FETCH DATA from: D:\NewInstalls\flux\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE] [2024-10-16 06:53] ['anime_lora_comfy_converted.safetensors', 'art_lora_comfy_converted.safetensors', 'disney_lora_comfy_converted.safetensors', 'flux-RealismLora.safetensors', 'flux-furry-lora.safetensors', 'furry_lora.safetensors', 'mjv6_lora_comfy_converted.safetensors', 'realism_lora_comfy_converted.safetensors', 'scenery_lora_comfy_converted.safetensors'] [2024-10-16 06:53] ['anime_lora_comfy_converted.safetensors', 'art_lora_comfy_converted.safetensors', 'disney_lora_comfy_converted.safetensors', 'flux-RealismLora.safetensors', 'flux-furry-lora.safetensors', 'furry_lora.safetensors', 'mjv6_lora_comfy_converted.safetensors', 'realism_lora_comfy_converted.safetensors', 'scenery_lora_comfy_converted.safetensors'] [2024-10-16 07:01] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE] [2024-10-16 07:01] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [2024-10-16 07:01] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [DONE] [2024-10-16 07:01] FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [DONE] [2024-10-16 07:01] [DBG] high / True / True / 127.0.0.1 [2024-10-16 07:01] ERROR: This installation is not allowed in this security_level. Please contact the administrator. Reference: https://github.com/ltdrdata/ComfyUI-Manager#security-policy

Also: image

GPU-server commented 4 days ago

@ltdrdata I would like to know something , do you think there is any security issue related to these messages and these custom models? Can I just chaneg the security level to weak, fix the custom node then go back to normal? I am blocked here. Do you want to run more tests, to see what's going on?

ltdrdata commented 4 days ago

@ltdrdata I would like to know something , do you think there is any security issue related to these messages and these custom models? Can I just chaneg the security level to weak, fix the custom node then go back to normal? I am blocked here. Do you want to run more tests, to see what's going on?

Some functions of "Try fix" were deemed somewhat risky, so the security level was raised. In most cases, the scope of restrictions has been narrowed because there is no such risk.

Unless opened through --listen, the risk is low, but it's generally not recommended to keep the security level lowered under normal circumstances.

GPU-server commented 4 days ago

So you recommand I always run: print(f"[DBG] {level} / {is_local_mode} / {is_local_mode} / {args.listen}")
You deemed the result to be "safe" here: [DBG] high / True / True / 127.0.0.1 ?

What should alarm me in the result of this result otherwise? If you think this is ok.

What do you mean by:

the scope of restrictions has been narrowed because there is no such risk.

? Where and how do you see it?

Conspiracy (theory): Althought, I wonder if the fact that in the past I was trying multiple "xTon extentions" related to clothing automatically characters, one of them suddensly broke something related to xfomers? The errors should something related to this: https://github.com/pytorch/pytorch/blob/main/c10/core/UndefinedTensorImpl.h

Saying it cannot be found in xformers_C.pyd What I found surprised is that I instantly got the same error in another user sessions with another webui (not comfy). Was that the result of some "virus" that was "blocked" rapidly which resulted in brocking the code? Note: other comfy installations did not have this problem. It only happened in 2 "stablediffusion" webuis (comfy and another one, almost certain at the same time)

And the fact that any (or many) "try fix" I try is I always associated with risk?

I mean do other people get this warning when they try fix with the instantID extention for example? Is it only me who is getting this? If yes, why would I be the only one with this?

If yes, why would I be the only one with this?

What do you think? Thanks for your answers.

Finally you mentioned "--listen" I suppose this is when you run cmfy through terminal right. Now who tells me "listen" is not activated despite me, is it the : {args.listen} in : (f"[DBG] {level} / {is_local_mode} / {is_local_mode} / {args.listen}" ? The fact that it is showing the local server ip = everything is fine?

GPU-server commented 4 days ago

I feel worried. Why do I have these messages and not others? Do you get the same thing when you try to install instantId on a new installation yourself?

GPU-server commented 3 days ago

Am I the only one with this error in the end? It seems it happens a lot of with extensions made by @cubiq. Why are others not experimenting the same thing as me???? image

Do you think there is something else we can investiage @ltdrdata ? Edit: got this anyway: ([DBG] high / True / True / 127.0.0.1) In case you were curious. What else can be done?

ltdrdata commented 3 days ago

Am I the only one with this error in the end? It seems it happens a lot of with extensions made by @cubiq. Why are others not experimenting the same thing as me???? image

Do you think there is something else we can investiage @ltdrdata ? Edit: got this anyway: ([DBG] high / True / True / 127.0.0.1) In case you were curious. What else can be done?

You have to reset the modification and update ComfyUI-Manager.

GPU-server commented 3 days ago

what modifications @ltdrdata ? Btw I am not worried about the print we added, I am worried about comfy manager NOT ALLOWING ME TO do "TRY FIX", which might indicate some problem.

What modifications should I reset? And how can that help?

ltdrdata commented 3 days ago

what modifications @ltdrdata ? Btw I am not worried about the print we added, I am worried about comfy manager NOT ALLOWING ME TO do "TRY FIX", which might indicate some problem.

What modifications should I reset? And how can that help?

The fact that the message ([DBG] high / True / True / 127.0.0.1) is being output as "modified" itself means that it has not been updated to the version I patched.

This is the latest version. image

GPU-server commented 3 days ago

Sorry @ltdrdata but I just Did an update again (both from update\update_comfyui.bat) and then inside comfy manager, it shows that it is up to date, no more update available, it shows this:

image

The logs show: image

My version seem to be blocked a t 2.51.7 instead of going to V2.51.8.. ??

The print() is still inside glob\manager_server.py.

Do I need to do manual update, stuff related to "git pull" etc? Not sure how to do that.

I am waiting for any intructions. I did what you asked, I updated and I restarted. But it is still at 2.51.7

GPU-server commented 3 days ago

I think I need to do "update_comfyui_and_python_dependencies.bat". ...

GPU-server commented 3 days ago

stashing current changes nothing to stash creating backup branch: backup_branch_2024-10-18_11_51_35 checking out master branch pulling latest changes Done! Press any key to continue . . .

ltdrdata commented 3 days ago

Sorry @ltdrdata but I just Did an update again (both from update\update_comfyui.bat) and then inside comfy manager, it shows that it is up to date, no more update available, it shows this:

image

The logs show: image

My version seem to be blocked a t 2.51.7 instead of going to V2.51.8.. ??

The print() is still inside glob\manager_server.py.

Do I need to do manual update, stuff related to "git pull" etc? Not sure how to do that.

I am waiting for any intructions. I did what you asked, I updated and I restarted. But it is still at 2.51.7

Nope. You should cancel the modification before update. It prevents updating.

Goto manager dir and execute

git reset --hard
git pull
GPU-server commented 3 days ago

Ok thanks it worked. But what happened exactly? Was it: 1) A problem was raised that should not, and your modifications made it so that manager would not stop TRY FIX next time those type of modification are needed? 2) ..

This is all I can think of actually. What did you change, what happened exactly, were the errors linked to security? And can we really trust all these custom nodes then? (the intant id, the pullid.. etc, insightface, etc)

Thanks again, for everything btw! Love Comfy. Love AI.

ltdrdata commented 2 days ago

The "Try Fix" forcibly installs pip dependencies, and this process includes some potentially risky actions, so the security level was raised. However, this risk only occurs with certain custom nodes, and if applied globally, it would make the system essentially unusable without lowering the security level. Therefore, it has been adjusted so that the security level of "try fix" is only raised when those specific risks are involved.

GPU-server commented 2 days ago

Thank you for the explanation.