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

[bug]: When I try to install a model in the model manager I get a long error that seems to have something to do with my file path that Invoke is installed in. #6277

Closed
1 task done
devonghopkins opened this issue Apr 26, 2024 · 1 comment · Fixed by #6292
Labels
bug Something isn't working

Comments

@devonghopkins
Copy link

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

macOS

GPU vendor

Apple Silicon (MPS)

GPU model

Mac M1 Pro 2020

GPU VRAM

16GB

Version number

4.1

Browser

Chrome

Python dependencies

No response

What happened

I have Invoke installed on an external SSD and I think it's causing issues with the pathing when installing models.

What you expected to happen

I would expect when I click the + button in the model manager, for it to install the model properly.

How to reproduce the problem

This is when Invoke is installed on a SSD on macOS.

Additional context

`Generate images with a browser-based interface

patchmatch.patch_match: INFO - Compiling and loading c extensions from "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/patchmatch".
patchmatch.patch_match: ERROR - patchmatch failed to load or compile (Command 'make clean && make' returned non-zero exit status 1.).
patchmatch.patch_match: INFO - Refer to https://invoke-ai.github.io/InvokeAI/installation/060_INSTALL_PATCHMATCH/ for installation instructions.
[2024-04-26 09:02:31,510]::[InvokeAI]::INFO --> Patchmatch not loaded (nonfatal)
[2024-04-26 09:02:32,957]::[InvokeAI]::INFO --> Using torch device: MPS
[2024-04-26 09:02:33,374]::[uvicorn.error]::INFO --> Started server process [59975]
[2024-04-26 09:02:33,374]::[uvicorn.error]::INFO --> Waiting for application startup.
[2024-04-26 09:02:33,375]::[InvokeAI]::INFO --> InvokeAI version 4.1.0
[2024-04-26 09:02:33,375]::[InvokeAI]::INFO --> Root directory = /Volumes/DevonSSD/InvokeAI
[2024-04-26 09:02:33,381]::[InvokeAI]::INFO --> Initializing database at /Volumes/DevonSSD/InvokeAI/databases/invokeai.db
[2024-04-26 09:02:33,449]::[uvicorn.error]::INFO --> Application startup complete.
[2024-04-26 09:02:33,450]::[uvicorn.error]::INFO --> Uvicorn running on http://127.0.0.1:9090 (Press CTRL+C to quit)
[2024-04-26 09:02:47,718]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET / HTTP/1.1" 200
[2024-04-26 09:02:47,744]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET /assets/index-CB6ZmbOE.js HTTP/1.1" 200
[2024-04-26 09:02:48,038]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET /locales/en.json HTTP/1.1" 200
[2024-04-26 09:02:48,040]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /assets/ThemeLocaleProvider-KzMt_S5B.js HTTP/1.1" 200
[2024-04-26 09:02:48,041]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /assets/ThemeLocaleProvider-Bsx7ESc2.css HTTP/1.1" 200
[2024-04-26 09:02:48,142]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET /assets/images/invoke-favicon.svg HTTP/1.1" 200
[2024-04-26 09:02:48,143]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /assets/App-DI6oCUg0.css HTTP/1.1" 200
[2024-04-26 09:02:48,147]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /assets/App-nR2gvd20.js HTTP/1.1" 200
[2024-04-26 09:02:48,330]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /ws/socket.io/?EIO=4&transport=polling&t=OyR9Hs8 HTTP/1.1" 200
[2024-04-26 09:02:48,395]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /api/v1/app/version HTTP/1.1" 200
[2024-04-26 09:02:48,397]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /api/v1/queue/default/status HTTP/1.1" 200
[2024-04-26 09:02:48,398]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET /api/v2/models/ HTTP/1.1" 200
[2024-04-26 09:02:48,400]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /api/v1/images/?board_id=none&categories=general&is_intermediate=false&limit=100&offset=0 HTTP/1.1" 200
[2024-04-26 09:02:48,402]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /api/v1/app/config HTTP/1.1" 200
[2024-04-26 09:02:48,403]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "GET /api/v1/images/intermediates HTTP/1.1" 200
[2024-04-26 09:02:48,405]::[uvicorn.access]::INFO --> 127.0.0.1:64751 - "GET /api/v1/boards/?all=true HTTP/1.1" 200
[2024-04-26 09:02:48,407]::[uvicorn.access]::INFO --> 127.0.0.1:64752 - "GET /api/v1/images/?board_id=none&categories=general&is_intermediate=false&limit=0&offset=0 HTTP/1.1" 200
[2024-04-26 09:02:48,409]::[uvicorn.access]::INFO --> 127.0.0.1:64753 - "GET /api/v1/images/?board_id=none&categories=control&categories=mask&categories=user&categories=other&is_intermediate=false&limit=0&offset=0 HTTP/1.1" 200
[2024-04-26 09:02:48,440]::[uvicorn.access]::INFO --> 127.0.0.1:64747 - "GET /api/v1/app/app_deps HTTP/1.1" 200
[2024-04-26 09:02:48,441]::[uvicorn.access]::INFO --> 127.0.0.1:64743 - "POST /ws/socket.io/?EIO=4&transport=polling&t=OyR9HtK&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:48,442]::[uvicorn.access]::INFO --> 127.0.0.1:64751 - "GET /ws/socket.io/?EIO=4&transport=polling&t=OyR9HtK.0&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:48,443]::[uvicorn.error]::INFO --> ('127.0.0.1', 64755) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=PoqKVFnhFE4vyeFiAAAA" [accepted]
[2024-04-26 09:02:48,443]::[uvicorn.error]::INFO --> connection open
[2024-04-26 09:02:48,446]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /assets/inter-latin-wght-normal-BgVq2Tq4.woff2 HTTP/1.1" 200
[2024-04-26 09:02:48,499]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /ws/socket.io/?EIO=4&transport=polling&t=OyR9Huk&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:48,504]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "POST /ws/socket.io/?EIO=4&transport=polling&t=OyR9Huq&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:48,517]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /ws/socket.io/?EIO=4&transport=polling&t=OyR9Hv3&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:48,518]::[uvicorn.access]::INFO --> 127.0.0.1:64751 - "POST /ws/socket.io/?EIO=4&transport=polling&t=OyR9Hv3.0&sid=PoqKVFnhFE4vyeFiAAAA HTTP/1.1" 200
[2024-04-26 09:02:51,615]::[uvicorn.access]::INFO --> 127.0.0.1:64751 - "GET /api/v2/models/starter_models HTTP/1.1" 200
[2024-04-26 09:02:51,616]::[uvicorn.access]::INFO --> 127.0.0.1:64745 - "GET /api/v2/models/install HTTP/1.1" 200
[2024-04-26 09:03:05,800]::[ModelInstallService]::INFO --> No HuggingFace access token present; some models may not be downloadable.
[2024-04-26 09:03:06,188]::[ModelInstallService]::INFO --> Queuing model install: RunDiffusion/Juggernaut-XL-v9 (18 file)
[2024-04-26 09:03:06,205]::[InvokeAI]::INFO --> Started installation of RunDiffusion/Juggernaut-XL-v9
[2024-04-26 09:03:06,210]::[uvicorn.access]::INFO --> 127.0.0.1:64760 - "POST /api/v2/models/install?source=RunDiffusion%2FJuggernaut-XL-v9&inplace=true HTTP/1.1" 201
[2024-04-26 09:03:06,216]::[ModelInstallService]::INFO --> No HuggingFace access token present; some models may not be downloadable.
[2024-04-26 09:03:06,381]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/tokenizer_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,382]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/tokenizer_config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,407]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/vae/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,409]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/vae/config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,429]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder_2/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,430]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder_2/config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,432]::[ModelInstallService]::INFO --> Queuing model install: madebyollin/sdxl-vae-fp16-fix (2 file)
[2024-04-26 09:03:06,434]::[InvokeAI]::INFO --> Started installation of madebyollin/sdxl-vae-fp16-fix
[2024-04-26 09:03:06,434]::[uvicorn.access]::INFO --> 127.0.0.1:64762 - "POST /api/v2/models/install?source=madebyollin%2Fsdxl-vae-fp16-fix&inplace=true HTTP/1.1" 201
[2024-04-26 09:03:06,439]::[uvicorn.access]::INFO --> 127.0.0.1:64762 - "GET /api/v2/models/install HTTP/1.1" 200
[2024-04-26 09:03:06,443]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,444]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder/config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,584]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/merges.txt: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,586]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/merges.txt: [Errno 22] Invalid argument
[2024-04-26 09:03:06,623]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/special_tokens_map.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,628]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/special_tokens_map.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,630]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/special_tokens_map.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,633]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/special_tokens_map.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,746]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/unet/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,748]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/unet/config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,800]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/vocab.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,802]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/vocab.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,852]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/model_index.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,854]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/model_index.json: [Errno 22] Invalid argument
[2024-04-26 09:03:06,917]::[DownloadQueueService]::ERROR --> https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/diffusion_pytorch_model.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,917]::[ModelInstallService]::ERROR --> Cancelling madebyollin/sdxl-vae-fp16-fix due to an error while downloading https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/diffusion_pytorch_model.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:03:06,944]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/vae/diffusion_pytorch_model.fp16.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,946]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/vae/diffusion_pytorch_model.fp16.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:03:06,990]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/scheduler/scheduler_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:06,992]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/scheduler/scheduler_config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:07,020]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder_2/model.fp16.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,022]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder_2/model.fp16.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:03:07,044]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/vocab.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,045]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer_2/vocab.json: [Errno 22] Invalid argument
[2024-04-26 09:03:07,120]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/merges.txt: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,123]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/merges.txt: [Errno 22] Invalid argument
[2024-04-26 09:03:07,202]::[DownloadQueueService]::ERROR --> https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,207]::[ModelInstallService]::ERROR --> Cancelling madebyollin/sdxl-vae-fp16-fix due to an error while downloading https://huggingface.co/madebyollin/sdxl-vae-fp16-fix/resolve/main/config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:07,209]::[ModelInstallService]::ERROR --> Model install error: madebyollin/sdxl-vae-fp16-fix
OSError: [Errno 22] Invalid argument
[2024-04-26 09:03:07,369]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/unet/diffusion_pytorch_model.fp16.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,371]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/unet/diffusion_pytorch_model.fp16.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:03:07,446]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder/model.fp16.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:07,448]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/text_encoder/model.fp16.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:03:08,199]::[DownloadQueueService]::ERROR --> https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/tokenizer_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:03:08,202]::[ModelInstallService]::ERROR --> Cancelling RunDiffusion/Juggernaut-XL-v9 due to an error while downloading https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/tokenizer/tokenizer_config.json: [Errno 22] Invalid argument
[2024-04-26 09:03:08,202]::[ModelInstallService]::ERROR --> Model install error: RunDiffusion/Juggernaut-XL-v9
OSError: [Errno 22] Invalid argument
[2024-04-26 09:04:57,062]::[ModelInstallService]::INFO --> No HuggingFace access token present; some models may not be downloadable.
[2024-04-26 09:04:57,371]::[ModelInstallService]::INFO --> Queuing model install: Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya (15 file)
[2024-04-26 09:04:57,395]::[InvokeAI]::INFO --> Started installation of Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya
[2024-04-26 09:04:57,398]::[uvicorn.access]::INFO --> 127.0.0.1:64796 - "POST /api/v2/models/install?source=Hipsterusername%2FInvokeAI_Fantasy_and_Art_by_Zovya&inplace=true HTTP/1.1" 201
[2024-04-26 09:04:57,408]::[uvicorn.access]::INFO --> 127.0.0.1:64796 - "GET /api/v2/models/install HTTP/1.1" 200
[2024-04-26 09:04:57,505]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/tokenizer_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,506]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/tokenizer_config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,511]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/scheduler/scheduler_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,514]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/scheduler/scheduler_config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,577]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/text_encoder/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,577]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/merges.txt: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,579]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/text_encoder/config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,582]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/merges.txt: [Errno 22] Invalid argument
[2024-04-26 09:04:57,599]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/vocab.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,602]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/vocab.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,758]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/special_tokens_map.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,761]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/tokenizer/special_tokens_map.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,811]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/vae/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,813]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/vae/config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:57,921]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/feature_extractor/preprocessor_config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:57,923]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/feature_extractor/preprocessor_config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:58,037]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/unet/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,039]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/unet/config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:58,152]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/model_index.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,155]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/model_index.json: [Errno 22] Invalid argument
[2024-04-26 09:04:58,250]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/unet/diffusion_pytorch_model.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,252]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/unet/diffusion_pytorch_model.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:04:58,273]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/safety_checker/model.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,276]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/safety_checker/model.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:04:58,344]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/safety_checker/config.json: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,347]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/safety_checker/config.json: [Errno 22] Invalid argument
[2024-04-26 09:04:58,387]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/text_encoder/model.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,389]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/text_encoder/model.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:04:58,410]::[DownloadQueueService]::ERROR --> https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/vae/diffusion_pytorch_model.safetensors: ['Traceback (most recent call last):\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 227, in _download_next_item\n self._do_download(job)\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 264, in _do_download\n if self._validate_filename(job.dest.as_posix(), remote_name):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/Volumes/DevonSSD/InvokeAI/.venv/lib/python3.11/site-packages/invokeai/app/services/download/download_default.py", line 323, in _validate_filename\n os.pathconf(directory, "PC_PATH_MAX") if hasattr(os, "pathconf") else 32767\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'OSError: [Errno 22] Invalid argument\n']
[2024-04-26 09:04:58,413]::[ModelInstallService]::ERROR --> Cancelling Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya due to an error while downloading https://huggingface.co/Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya/resolve/main/vae/diffusion_pytorch_model.safetensors: [Errno 22] Invalid argument
[2024-04-26 09:04:58,414]::[ModelInstallService]::ERROR --> Model install error: Hipsterusername/InvokeAI_Fantasy_and_Art_by_Zovya
OSError: [Errno 22] Invalid argument`

Discord username

Glimmer

@devonghopkins devonghopkins added the bug Something isn't working label Apr 26, 2024
psychedelicious added a commit that referenced this issue Apr 30, 2024
`PC_PATH_MAX` doesn't exist for (some?) external drives on macOS. We need error handling when retrieving this value.

Also added error handling for `PC_NAME_MAX` just in case. This does work for me for external drives on macOS, though.

Closes #6277
@psychedelicious
Copy link
Collaborator

It looks like the syscall to get the path max length don't work on external drives on macOS:

>>> os.pathconf("/Volumes/WIN11/", "PC_PATH_MAX")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument

(/Volumes/WIN11/ is a USB drive with a windows image on it)

I added a workaround in #6292.

hipsterusername pushed a commit that referenced this issue Apr 30, 2024
`PC_PATH_MAX` doesn't exist for (some?) external drives on macOS. We need error handling when retrieving this value.

Also added error handling for `PC_NAME_MAX` just in case. This does work for me for external drives on macOS, though.

Closes #6277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants