Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PytorchStreamReader failed reading zip archive: failed finding central directory #6223

Closed
zclxwei opened this issue Dec 26, 2024 · 1 comment
Labels
User Support A user needs help with something, probably not a bug.

Comments

@zclxwei
Copy link

zclxwei commented Dec 26, 2024

Your question

PytorchStreamReader failed reading zip archive: failed finding central directory

Logs

ComfyUI Launcher Diagnostic File

Date: 2024-12-25 23:40:50
Launcher Version: 2.8.11.392
Data File Version: 2024-12-23 12:30
ComfyUI Version: 9f4b181ab38b246961c5a51994a8357e62634de1 (2024-12-19 07:24:23)
Working Directory: D:\Comfyui
------------------------
System Information: 
OS: Microsoft Windows NT 10.0.22631.0
CPU: 32 cores
Memory Size: 32768 MB
Page File Size: 12800 MB

NVIDIA Management Library:
  NVIDIA Driver Version: 566.36
  NVIDIA Management Library Version: 12.566.36

CUDA Driver:
  Version: 12070
  Devices: 
    00000000:01:00.0 0: NVIDIA GeForce RTX 4090 [89] 23 GB

NvApi:
  Version: 56636 r566_31

HIP Driver:
  Not Available

DirectML Driver: 
  Devices: 
    9860 0: NVIDIA GeForce RTX 4090 23 GB

Intel Level Zero Driver:
  Not Available

------------------------
Environment Variables: 
FPS_BROWSER_USER_PROFILE_STRING=Default
Path=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\NVIDIA Corporation\NVIDIA app\NvDLISR;C:\ffmpeg-2023-06-27-git-9b6d191a66-full_build\bin;C:\Program Files (x86)\Tencent\QQGameTempest\Hall.57938\;
TMP=C:\Users\Admin\AppData\Local\Temp
PROCESSOR_ARCHITECTURE=AMD64
ProgramW6432=C:\Program Files
CommonProgramFiles=C:\Program Files\Common Files
ProgramFiles(x86)=C:\Program Files (x86)
ACSvcPort=17532
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
NUMBER_OF_PROCESSORS=32
RlsSvcPort=22112
USERDOMAIN=SIVANLIUXBOX314
SESSIONNAME=Console
APPDATA=C:\Users\Admin\AppData\Roaming
TEMP=C:\Users\Admin\AppData\Local\Temp
ComSpec=C:\Windows\system32\cmd.exe
ACSetupSvcPort=23210
SystemRoot=C:\Windows
USERNAME=Admin
LOCALAPPDATA=C:\Users\Admin\AppData\Local
USERDOMAIN_ROAMINGPROFILE=SIVANLIUXBOX314
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
HOMEPATH=\Users\Admin
ProgramData=C:\ProgramData
ALLUSERSPROFILE=C:\ProgramData
CommonProgramW6432=C:\Program Files\Common Files
DriverData=C:\Windows\System32\Drivers\DriverData
EFC_6720=1
PUBLIC=C:\Users\Public
OS=Windows_NT
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
LOGONSERVER=\\SIVANLIUXBOX314
SystemDrive=C:
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
USERPROFILE=C:\Users\Admin
PROCESSOR_REVISION=b701
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
PROCESSOR_LEVEL=6
HOMEDRIVE=C:
ProgramFiles=C:\Program Files
COMPUTERNAME=SIVANLIUXBOX314
OneDrive=C:\Users\Admin\OneDrive
windir=C:\Windows
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel
------------------------
Paths: 
Python: D:\Comfyui\.ext\python.exe
  - Python Paths:
    - D:\Comfyui\.ext\DLLs
    - D:\Comfyui\.ext\Lib
    - D:\Comfyui\.ext
    - D:\Comfyui\.ext\Lib\site-packages
    - D:\Comfyui\.ext\Lib\site-packages\win32
    - D:\Comfyui\.ext\Lib\site-packages\win32\lib
    - D:\Comfyui\.ext\Lib\site-packages\Pythonwin
  - Python Packages:
    - absl_py 2.0.0 
    - accelerate 1.2.1 
    - addict 2.4.0 
    - aiohttp 3.9.1 
    - aiosignal 1.3.1 
    - albumentations 1.4.0 
    - antlr4_python3_runtime 4.9.3 
    - anyio 4.2.0 
    - argostranslate 1.9.6 
    - attrs 23.2.0 
    - beautifulsoup4 4.12.3 
    - certifi 2023.11.17 
    - cffi 1.16.0 
    - chardet 5.2.0 
    - charset_normalizer 3.3.2 
    - click 8.1.7 
    - clip_interrogator 0.6.0 
    - cmake 3.31.2 
    - colorama 0.4.6 
    - coloredlogs 15.0.1 
    - colorlog 6.8.0 
    - contourpy 1.2.0 
    - cryptography 44.0.0 
    - cssselect2 0.7.0 
    - cstr 0.1.0 
    - ctranslate2 4.5.0 
    - cycler 0.12.1 
    - deep_translator 1.11.4 
    - Deprecated 1.2.15 
    - dill 0.3.9 
    - einops 0.7.0 
    - embreex 2.17.7.post4 
    - fairscale 0.4.13 
    - ffmpy 0.3.0 
    - filelock 3.13.1 
    - flatbuffers 23.5.26 
    - fonttools 4.47.0 
    - frozenlist 1.4.1 
    - fsspec 2023.12.2 
    - ftfy 6.1.3 
    - fvcore 0.1.5.post20221221 
    - gitdb 4.0.11 
    - GitPython 3.1.40 
    - googletrans_py 4.0.0 
    - h11 0.14.0 
    - h2 4.1.0 
    - hpack 4.0.0 
    - httpcore 1.0.2 
    - httpx 0.26.0 
    - huggingface_hub 0.27.0 
    - humanfriendly 10.0 
    - hyperframe 6.0.1 
    - idna 3.6 
    - imageio 2.33.1 
    - img2texture 1.0.6 
    - importlib_metadata 7.0.1 
    - iopath 0.1.10 
    - Jinja2 3.1.2 
    - joblib 1.3.2 
    - jsonschema 4.20.0 
    - jsonschema_specifications 2023.12.1 
    - kiwisolver 1.4.5 
    - kornia 0.7.4 
    - kornia_rs 0.1.7 
    - lazy_loader 0.3 
    - llvmlite 0.43.0 
    - lxml 5.1.0 
    - mapbox_earcut 1.0.1 
    - markdown_it_py 3.0.0 
    - MarkupSafe 2.1.3 
    - matplotlib 3.8.2 
    - matrix_client 0.4.0 
    - mdurl 0.1.2 
    - mediapipe 0.10.9 
    - mpmath 1.3.0 
    - multidict 6.0.4 
    - networkx 3.2.1 
    - numba 0.60.0 
    - numpy 1.26.3 
    - omegaconf 2.3.0 
    - onnxruntime 1.20.1 
    - opencv_contrib_python 4.9.0.80 
    - opencv_python 4.9.0.80 
    - opencv_python_headless 4.9.0.80 
    - open_clip_torch 2.29.0 
    - packaging 23.2 
    - pandas 2.2.3 
    - piexif 1.1.3 
    - pilgram 1.2.1 
    - pillow 10.2.0 
    - platformdirs 4.1.0 
    - pooch 1.8.2 
    - portalocker 2.8.2 
    - protobuf 3.20.3 
    - psutil 5.9.7 
    - pycollada 0.8 
    - pycparser 2.21 
    - PyGithub 2.5.0 
    - pygments 2.18.0 
    - PyJWT 2.10.1 
    - PyMatting 1.1.13 
    - PyNaCl 1.5.0 
    - pyparsing 3.1.1 
    - pyreadline3 3.5.4 
    - python_dateutil 2.8.2 
    - pytz 2024.2 
    - pywin32 306 
    - PyYAML 6.0.1 
    - py_cpuinfo 9.0.0 
    - qudida 0.0.4 
    - referencing 0.32.1 
    - regex 2023.12.25 
    - rembg 2.0.60 
    - reportlab 4.0.8 
    - requests 2.31.0 
    - rich 13.9.4 
    - rpds_py 0.16.2 
    - Rtree 1.1.0 
    - sacremoses 0.0.53 
    - safetensors 0.4.5 
    - scikit_image 0.22.0 
    - scikit_learn 1.4.1.post1 
    - scipy 1.11.4 
    - seaborn 0.13.2 
    - segment_anything 1.0 
    - sentencepiece 0.2.0 
    - shapely 2.0.2 
    - shellingham 1.5.4 
    - simpleeval 1.0.3 
    - six 1.16.0 
    - smmap 5.0.1 
    - sniffio 1.3.0 
    - sounddevice 0.4.6 
    - soundfile 0.12.1 
    - soupsieve 2.6 
    - spandrel 0.4.0 
    - stanza 1.1.1 
    - svg.path 6.3 
    - svglib 1.5.1 
    - sympy 1.12 
    - tabulate 0.9.0 
    - termcolor 2.4.0 
    - threadpoolctl 3.3.0 
    - tifffile 2023.12.9 
    - timm 1.0.12 
    - tinycss2 1.2.1 
    - tokenizers 0.15.0 
    - tomli 2.0.1 
    - torch 2.0.1+cu118 
    - torchsde 0.2.6 
    - torchvision 0.15.2+cu118 
    - tqdm 4.66.1 
    - trampoline 0.1.2 
    - transformers 4.36.2 
    - trimesh 4.0.8 
    - typer 0.15.1 
    - typing_extensions 4.9.0 
    - tzdata 2024.2 
    - ultralytics 8.3.51 
    - ultralytics_thop 2.0.13 
    - urllib3 1.26.18 
    - wcwidth 0.2.13 
    - webencodings 0.5.1 
    - wheel 0.41.2 
    - wrapt 1.17.0 
    - xformers 0.0.21 
    - xxhash 3.4.1 
    - yacs 0.1.8 
    - yapf 0.40.2 
    - yarl 1.9.4 
    - zipp 3.17.0 
    - pip 23.3.1 
    - setuptools 68.2.2 
Git: D:\Comfyui\.ext\Library\cmd\git.exe
Shell: C:\Windows\system32\cmd.exe
Cache Path: D:\Comfyui\.cache
------------------------
Engine Validator: 
PyTorch: 2.0.1+cu118 C(11080)___
OnnxRuntime: CPU
------------------------
Port Info: 
Exclusion List:
  Non-administered:
    27339..1
  Administered:
    
In Use (v4):
  135 => 1912
  139 => 4
  445 => 4
  1001 => 4
  1024 => 7152
  1039 => 6952
  1042 => 5340
  1043 => 5340
  1070 => 6720
  1071 => 1632
  4709 => 20308
  5040 => 6608
  5283 => 5496
  5354 => 7056
  6601 => 30704
  6602 => 30704
  6881 => 20308
  6881 => 20308
  7680 => 24168
  8188 => 23156
  8680 => 12144
  9012 => 2348
  9013 => 2348
  10000 => 21544
  10808 => 11832
  10809 => 11832
  13010 => 7016
  13013 => 12144
  13016 => 12144
  13030 => 7368
  13031 => 13316
  13032 => 13316
  17532 => 7016
  17945 => 13316
  18006 => 11268
  19531 => 7124
  22112 => 7368
  23130 => 11052
  23132 => 11052
  27015 => 21896
  27036 => 30704
  27060 => 30704
  27339 => 4
  28317 => 7384
  49664 => 1656
  49665 => 1412
  49666 => 1680
  49667 => 2696
  49668 => 5868
  49669 => 5256
  62522 => 5256
In Use (v6):
  135 => 1912
  445 => 4
  1039 => 6952
  1042 => 5340
  1043 => 5340
  1071 => 1632
  6881 => 20308
  6881 => 20308
  7680 => 24168
  9012 => 2348
  9013 => 2348
  23130 => 11052
  23132 => 11052
  49664 => 1656
  49665 => 1412
  49666 => 1680
  49667 => 2696
  49668 => 5868
------------------------
Config: 
Audience Type: 新手
Engine: CUDA GPU 0: NVIDIA GeForce RTX 4090 (24 GB) [0]
VRAM Optimization: Auto [Auto]
Port: 8188 [8188]
XAttn Optimization: Xformers [Xformers]
CPU VAE: False [False]
Upcast Attention: True [True]
Precision: Auto [Auto]
Text Encoder Precision: Auto [Auto]
UNet Precision: Auto [Auto]
VAE Precision: Auto [Auto]
Force Channels Last: False [False]
Preview Method: Auto [Auto]
Smart Memory: True [True]
Deterministic: False [False]
Multi User: False [False]
Fast: False [False]
Listen: False [False]
Server Name:  []
HF Offline Mode: False [False]
Cuda Allocator Backend: CudaMallocAsync [CudaMallocAsync]
Prevent Sysmem Fallback: True
Extra Args: 
------------------------
Network Preferences: 
Proxy Address: http://127.0.0.1:10809
Proxy Git: False
Proxy Pip: False
Proxy Model Download: False
Proxy Env: False
Mirror Pypi: True
Mirror Git: True
Mirror ExtensionList: True
Mirror Huggingface: True
Github Acceleration: False
------------------------
Log: 
Adding extra search path checkpoints D:\Stable Diffusion\sd-webui-aki-v4.5\models/Stable-diffusion
Adding extra search path configs D:\Stable Diffusion\sd-webui-aki-v4.5\models/Stable-diffusion
Adding extra search path vae D:\Stable Diffusion\sd-webui-aki-v4.5\models/VAE
Adding extra search path loras D:\Stable Diffusion\sd-webui-aki-v4.5\models/Lora
Adding extra search path loras D:\Stable Diffusion\sd-webui-aki-v4.5\models/LyCORIS
Adding extra search path upscale_models D:\Stable Diffusion\sd-webui-aki-v4.5\models/ESRGAN
Adding extra search path upscale_models D:\Stable Diffusion\sd-webui-aki-v4.5\models/RealESRGAN
Adding extra search path upscale_models D:\Stable Diffusion\sd-webui-aki-v4.5\models/SwinIR
Adding extra search path embeddings D:\Stable Diffusion\sd-webui-aki-v4.5\embeddings
Adding extra search path hypernetworks D:\Stable Diffusion\sd-webui-aki-v4.5\models/hypernetworks
Adding extra search path controlnet D:\Stable Diffusion\sd-webui-aki-v4.5\extensions\sd-webui-controlnet\models
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-12-25 23:38:48.620434
** Platform:
 
Windows

** Python version:
 
3.11.6 | packaged by conda-forge | (main, Oct  3 2023, 10:29:11) [MSC v.1935 64 bit (AMD64)]

** Python executable: D:\Comfyui\.ext\python.exe

** ComfyUI Path: D:\Comfyui
** Log path:
 
D:\Comfyui\comfyui.log

[manager-core] Failed to restore PyTorch
'torchaudio'

Prestartup times for custom nodes:

   4.6 seconds:
 
D:\Comfyui\custom_nodes\ComfyUI-Manager

Total VRAM 24564 MB, total RAM 32581 MB
pytorch version: 2.0.1+cu118
xformers version: 0.0.21
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using xformers attention
[Prompt Server] web root: D:\Comfyui\web
Traceback (most recent call last):
  File "D:\Comfyui\nodes.py", line 2072, 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:\Comfyui\comfy_extras\nodes_audio.py", line 1, in <module>
    import torchaudio
ModuleNotFoundError: No module named 'torchaudio'

Cannot import D:\Comfyui\comfy_extras\nodes_audio.py module for custom nodes: No module named 'torchaudio'
### Loading: ComfyUI-Impact-Pack (V8.1.6)

[Impact Pack] Wildcards loading done.

Traceback (most recent call last):
  File "D:\Comfyui\nodes.py", line 2072, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 936, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1073, in get_code
  File "<frozen importlib._bootstrap_external>", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Comfyui\\custom_nodes\\ComfyUI-KJNodes\\__init__.py'

Cannot import D:\Comfyui\custom_nodes\ComfyUI-KJNodes module for custom nodes: [Errno 2] No such file or directory: 'D:\\Comfyui\\custom_nodes\\ComfyUI-KJNodes\\__init__.py'
### Loading: ComfyUI-Manager (V2.55.5)
### ComfyUI Version: v0.3.8 | Released on '2024-12-18'
(pysssss:WD14Tagger) [DEBUG] Available ORT providers: AzureExecutionProvider, CPUExecutionProvider
(pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider

�[36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\Comfyui\custom_nodes\comfyui_controlnet_aux\ckpts�[0m
�[36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False�[0m
�[36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']�[0m
Exception in thread 
Thread-12 (<lambda>)
:
Traceback (most recent call last):
  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\connector.py", line 1173, in _create_direct_connection
    
hosts = await asyncio.shield(host_resolved)

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\connector.py", line 884, in _resolve_host
    
addrs = await self._resolver.resolve(host, port, family=self._family)
    
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\resolver.py", line 33, in resolve
    
infos = await self._loop.getaddrinfo(

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\asyncio\base_events.py", line 867, in getaddrinfo
    
return await self.run_in_executor(

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\concurrent\futures\thread.py", line 58, in run
    
result = self.fn(*self.args, **self.kwargs)

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\socket.py", line 962, in getaddrinfo
    
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

socket
.
gaierror
: 
[Errno 11004] getaddrinfo failed

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "D:\Comfyui\.ext\Lib\threading.py", line 1045, in _bootstrap_inner
    
self.run()

  File "<enhanced_experience vendors.sentry_sdk.integrations.threading>", line 99, in run
  File "<enhanced_experience vendors.sentry_sdk.integrations.threading>", line 94, in _run_old_run_func
  File "<enhanced_experience vendors.sentry_sdk.utils>", line 1649, in reraise
  File "<enhanced_experience vendors.sentry_sdk.integrations.threading>", line 92, in _run_old_run_func
  File "D:\Comfyui\.ext\Lib\threading.py", line 982, in run
    
self._target(*self._args, **self._kwargs)

  File "D:\Comfyui\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1373, in <lambda>
    
threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\asyncio\runners.py", line 190, in run
    
return runner.run(main)

^
^
^
^
^
^
^
^
^
^
^
^^
^
^
^

  File "D:\Comfyui\.ext\Lib\asyncio\runners.py", line 118, in run
    
return self._loop.run_until_complete(task)

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\asyncio\base_events.py", line 653, in run_until_complete
    
return future.result()

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1370, in default_cache_update
    
await asyncio.gather(a, b, c, d, e)

  File "D:\Comfyui\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1357, in get_cache
    
json_obj = await core.get_data(uri, True)

     ^^^^^^^^^^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 662, in get_data
    
async with session.get(uri, headers=headers) as resp:

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\client.py", line 1187, in __aenter__
    
self._resp = await self._coro

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\client.py", line 574, in _request
    
conn = await self._connector.connect(

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\connector.py", line 544, in connect
    
proto = await self._create_connection(req, traces, timeout)

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\connector.py", line 911, in _create_connection
    
_, proto = await self._create_direct_connection(req, traces, timeout)

^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^
^

  File "D:\Comfyui\.ext\Lib\site-packages\aiohttp\connector.py", line 1187, in _create_direct_connection
    
raise ClientConnectorError(req.connection_key, exc) from exc

aiohttp.client_exceptions
.
ClientConnectorError
: 
Cannot connect to host raw.githubusercontent.com:443 ssl:default [getaddrinfo failed]

D:\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")
�[1;35m### [START] ComfyUI AlekPet Nodes �[1;34mv1.0.37�[0m�[1;35m ###�[0m

�[92mNode -> ChatGLMNode: �[93mChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode, ChatGLM4InstructNode, ChatGLM4InstructMediaNode�[0m �[92m[Loading] �[0m

�[92mNode -> ArgosTranslateNode: �[93mArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode�[0m �[92m[Loading] �[0m

�[92mNode -> DeepTranslatorNode: �[93mDeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode�[0m �[92m[Loading] �[0m

�[92mNode -> GoogleTranslateNode: �[93mGoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode�[0m �[92m[Loading] �[0m

�[92mNode -> PoseNode: �[93mPoseNode�[0m �[92m[Loading] �[0m

�[92mNode -> ExtrasNode: �[93mPreviewTextNode, HexToHueNode, ColorsCorrectNode�[0m �[92m[Loading] �[0m

�[92mNode -> IDENode: �[93mIDENode�[0m �[92m[Loading] �[0m

�[92mNode -> PainterNode: �[93mPainterNode�[0m �[92m[Loading] �[0m
�[1;35m### [END] ComfyUI AlekPet Nodes ###�[0m

Traceback (most recent call last):
  File "D:\Comfyui\nodes.py", line 2072, 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:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale\__init__.py", line 32, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale\nodes.py", line 6, in <module>
    from usdu_patch import usdu
  File "D:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale\usdu_patch.py", line 2, in <module>
    from repositories import ultimate_upscale as usdu
  File "D:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale\repositories\__init__.py", line 14, in <module>
    spec.loader.exec_module(ultimate_upscale)
  File "<frozen importlib._bootstrap_external>", line 936, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1073, in get_code
  File "<frozen importlib._bootstrap_external>", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Comfyui\\custom_nodes\\ComfyUI_UltimateSDUpscale\\repositories\\ultimate_sd_upscale\\scripts\\ultimate-upscale.py'

Cannot import D:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale module for custom nodes: [Errno 2] No such file or directory: 'D:\\Comfyui\\custom_nodes\\ComfyUI_UltimateSDUpscale\\repositories\\ultimate_sd_upscale\\scripts\\ultimate-upscale.py'

�[36mEfficiency Nodes:�[0m Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...�[92mSuccess!�[0m

�[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m
�[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `D:\Comfyui\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.�[0m
�[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m220�[0m �[32mnodes successfully.�[0m

	�[3m�[93m"Art is the language of the heart and the window to the soul."�[0m�[3m - Unknown�[0m

Import times for custom nodes:
   0.0 seconds: D:\Comfyui\custom_nodes\websocket_image_save.py
   0.0 seconds (IMPORT FAILED): D:\Comfyui\custom_nodes\ComfyUI-KJNodes
   0.0 seconds: D:\Comfyui\custom_nodes\ComfyUI-WD14-Tagger
   0.0 seconds: D:\Comfyui\custom_nodes\ComfyUI-Custom-Scripts
   0.0 seconds (IMPORT FAILED): D:\Comfyui\custom_nodes\ComfyUI_UltimateSDUpscale
   0.0 seconds: D:\Comfyui\custom_nodes\efficiency-nodes-comfyui
   0.1 seconds: D:\Comfyui\custom_nodes\AIGODLIKE-COMFYUI-TRANSLATION
   0.1 seconds: D:\Comfyui\custom_nodes\ComfyUI-Impact-Pack
   0.2 seconds: D:\Comfyui\custom_nodes\comfyui_controlnet_aux
   0.3 seconds: D:\Comfyui\custom_nodes\ComfyUI-Manager
   0.3 seconds: D:\Comfyui\custom_nodes\comfyui_segment_anything
   1.8 seconds: D:\Comfyui\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
   2.4 seconds: D:\Comfyui\custom_nodes\was-node-suite-comfyui

WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.

IMPORT FAILED: nodes_audio.py

This issue might be caused by new missing dependencies added the last time you updated ComfyUI.
Please do a: pip install -r requirements.txt

Starting server

To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: D:\Comfyui\custom_nodes\ComfyUI-Manager\extension-node-map.json
 [DONE]

got prompt
WARNING: PlaySound.IS_CHANGED() missing 1 required positional argument: 'self'
D:\Comfyui\.ext\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:115: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
  warnings.warn(
1girl, solo, long_hair, black_hair, dress, standing, full_body, pantyhose, high_heels, lips, transparent_background
Failed to find D:\Comfyui\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel/Annotators\body_pose_model.pth.
 Downloading from huggingface.co

cacher folder is C:\Users\Admin\AppData\Local\Temp, you can change it by custom_tmp_path in config.yaml

D:\Comfyui\.ext\Lib\site-packages\huggingface_hub\file_download.py:832: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
  warnings.warn(
[WinError 3] 系统找不到指定的路径。: 'C:\\Users\\Admin\\AppData\\Local\\Temp\\ckpts'

model_path is D:\Comfyui\.cache\sdwebuilauncher\hfmirror\refs\lllyasviel\Annotators\main\body_pose_model.pth

Failed to find D:\Comfyui\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel/Annotators\hand_pose_model.pth.
 Downloading from huggingface.co

cacher folder is C:\Users\Admin\AppData\Local\Temp, you can change it by custom_tmp_path in config.yaml

[WinError 3] 系统找不到指定的路径。: 'C:\\Users\\Admin\\AppData\\Local\\Temp\\ckpts'

model_path is D:\Comfyui\.cache\sdwebuilauncher\hfmirror\refs\lllyasviel\Annotators\main\hand_pose_model.pth

Failed to find D:\Comfyui\custom_nodes\comfyui_controlnet_aux\ckpts\lllyasviel/Annotators\facenet.pth.
 Downloading from huggingface.co

cacher folder is C:\Users\Admin\AppData\Local\Temp, you can change it by custom_tmp_path in config.yaml

[WinError 3] 系统找不到指定的路径。: 'C:\\Users\\Admin\\AppData\\Local\\Temp\\ckpts'

model_path is D:\Comfyui\.cache\sdwebuilauncher\hfmirror\refs\lllyasviel\Annotators\main\facenet.pth

final text_encoder_type: bert-base-uncased
using extra model: D:\Comfyui\models\sams\sam_vit_h_4b8939.pth
!!! Exception during processing !!! PytorchStreamReader failed reading zip archive: failed finding central directory
Traceback (most recent call last):
  File "D:\Comfyui\execution.py", line 328, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\execution.py", line 203, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\Comfyui\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\custom_nodes\comfyui_segment_anything\node.py", line 269, in main
    sam_model = load_sam_model(model_name)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\custom_nodes\comfyui_segment_anything\node.py", line 86, in load_sam_model
    sam = sam_model_registry[model_type](checkpoint=sam_checkpoint_path)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\.ext\Lib\site-packages\segment_anything\build_sam.py", line 15, in build_sam_vit_h
    return _build_sam(
           ^^^^^^^^^^^
  File "D:\Comfyui\.ext\Lib\site-packages\segment_anything\build_sam.py", line 105, in _build_sam
    state_dict = torch.load(f)
                 ^^^^^^^^^^^^^
  File "D:\Comfyui\.ext\Lib\site-packages\torch\serialization.py", line 797, in load
    with _open_zipfile_reader(opened_file) as opened_zipfile:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Comfyui\.ext\Lib\site-packages\torch\serialization.py", line 283, in __init__
    super().__init__(torch._C.PyTorchFileReader(name_or_buffer))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

Prompt executed in 36.92 seconds
------------------------
Fault Traceback: 
Not Available

Other

please help me, thanks!!!

@zclxwei zclxwei added the User Support A user needs help with something, probably not a bug. label Dec 26, 2024
@ltdrdata
Copy link
Collaborator

ltdrdata commented Dec 26, 2024

It seems that D:\Comfyui\models\sams\sam_vit_h_4b8939.pth is invalid file.
Please re-download the correct file and replace it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Support A user needs help with something, probably not a bug.
Projects
None yet
Development

No branches or pull requests

2 participants