ssitu / ComfyUI_roop

ComfyUI nodes for the roop extension originally for a1111 stable-diffusion-webui
GNU Affero General Public License v3.0
66 stars 6 forks source link

Error during installation process #5

Open m00nk opened 9 months ago

m00nk commented 9 months ago

When I tried to install node via Manager I have got the error in the console. After restart ComfyUI I can add the Roop node, but it does not see any swap model. I have downloaded files inswapper_128.onnx and inswapper_128_fp16.onnx into models/insightface and models/roop folders - nothing helped.

The part of console log with the error message:

## ComfyUI-Manager: EXECUTE => ['/home/user/bin/gfx/ComfyUI/ComfyUI/venv/bin/python3', 'install.py']
[!] Traceback (most recent call last):
[!]   File "/home/user/bin/gfx/ComfyUI/ComfyUI/custom_nodes/ComfyUI_roop/install.py", line 26, in <module>
[!]     download(model_url, model_path)
[!]   File "/home/user/bin/gfx/ComfyUI/ComfyUI/custom_nodes/ComfyUI_roop/install.py", line 17, in download
[!]     request = urllib.request.urlopen(url)
[!]   File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
[!]     return opener.open(url, data, timeout)
[!]   File "/usr/lib/python3.10/urllib/request.py", line 525, in open
[!]     response = meth(req, response)
[!]   File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
[!]     response = self.parent.error(
[!]   File "/usr/lib/python3.10/urllib/request.py", line 563, in error
[!]     return self._call_chain(*args)
[!]   File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
[!]     result = func(*args)
[!]   File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
[!]     raise HTTPError(req.full_url, code, msg, hdrs, fp)
[!] urllib.error.HTTPError: HTTP Error 401: Unauthorized
install script failed: https://github.com/ssitu/ComfyUI_roop

I use Linux Mint 21.2

hanruishiren commented 8 months ago

https://github.com/ssitu/ComfyUI_roop/issues/2#issuecomment-1807536392

hanruishiren commented 8 months ago

#2 (comment)

find it here