Closed cpunion closed 10 months ago
Shoud create the parent directory of the downloading model path.
Downloading file: pecorine_v2.safetensors...
Error handling request
Traceback (most recent call last):
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/Users/xxx/source/ComfyUI/server.py", line 46, in cache_control
response: web.Response = await handler(request)
File "/Users/xxx/source/ComfyUI/custom_nodes/ComfyUI-ComfyRun/__init__.py", line 274, in api_comfyworkflows_import_from_url
with open(dest_file_path, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/xxx/source/ComfyUI/models/loras/character/pecorine_v2.safetensors'
Create /Users/xxx/source/ComfyUI/models/loras/character folder then success.
pecorine_v2.safetensorsImporting workflow from URL: https://comfyrun.com/w/d97fbc83-3add-4628-9c40-0fdc949abc0e
Transformed URL: https://comfyrun.com/api/import_from_url/d97fbc83-3add-4628-9c40-0fdc949abc0e
Skipping file custom_nodes/ComfyUI-AnimateDiff-Evolved/models/v3_sd15_mm.ckpt because it already exists locally.
Skipping file models/controlnet/v3_sd15_sparsectrl_scribble.ckpt because it already exists locally.
Skipping file models/checkpoints/etherRealMix_etherRealMix31.safetensors because it already exists locally.
Skipping file models/loras/animatediff/v3_sd15_adapter.ckpt because it already exists locally.
Downloading file: pecorine_v2.safetensors...
Downloading file: vae-ft-mse-840000-ema-pruned.ckpt...
Error handling request
Traceback (most recent call last):
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/Users/xxx/miniforge3/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/Users/xxx/source/ComfyUI/server.py", line 46, in cache_control
response: web.Response = await handler(request)
File "/Users/xxx/source/ComfyUI/custom_nodes/ComfyUI-ComfyRun/__init__.py", line 319, in api_comfyworkflows_import_from_url
shutil.copy(snapshot_path, restore_snapshot_filepath)
File "/Users/xxx/miniforge3/lib/python3.10/shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users/xxx/miniforge3/lib/python3.10/shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/xxx/source/ComfyUI/custom_nodes/ComfyUI-Manager/startup-scripts/restore-snapshot.json'
Another error.
@cpunion sorry this is a bug, will fix the parent directory issue!
Re: the second error, do you have the ComfyUI-Manager plugin installed?
Just pushed a commit to fix the parent directories bug.
Re: the second error, do you have the ComfyUI-Manager plugin installed?
Yes, I have the ComfyUI-Manager plugin installed, but it didn't have the startup-scripts
folder. I created this folder myself, and that resolved the issue. This same error occurred on both Linux and macOS.
Import workflow:
https://comfyrun.com/w/d97fbc83-3add-4628-9c40-0fdc949abc0e
Error: