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

auto download model failed #31

Open
zhoudan111 opened this issue Mar 11, 2023 · 0 comments · May be fixed by #109
Open

auto download model failed #31

zhoudan111 opened this issue Mar 11, 2023 · 0 comments · May be fixed by #109

Comments

@zhoudan111
Copy link

Error executing callback infotext_pasted for /Users/zhoudan/work/stable-diffusion-webui/extensions/sd_civitai_extension/scripts/pasted.py
Traceback (most recent call last):
File "/Users/zhoudan/work/stable-diffusion-webui/modules/script_callbacks.py", line 201, in infotext_pasted_callback
c.callback(infotext, params)
File "/Users/zhoudan/work/stable-diffusion-webui/extensions/sd_civitai_extension/scripts/pasted.py", line 14, in on_infotext_pasted
civitai.fetch_model_by_hash(model_hash)
File "/Users/zhoudan/work/stable-diffusion-webui/extensions/sd_civitai_extension/civitai/lib.py", line 299, in fetch_model_by_hash
load_resource(resource)
File "/Users/zhoudan/work/stable-diffusion-webui/extensions/sd_civitai_extension/civitai/lib.py", line 269, in load_resource
resource['hash'] = resource['hash'].lower()
TypeError: 'ResourceRequest' object is not subscriptable

#######################################################################################################
Initializing Civitai Link
If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.10 (main, Feb 16 2023, 02:49:39) [Clang 14.0.0 (clang-1400.0.29.202)]
Civitai Link revision: 04a8f49
SD-WebUI revision: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8

Checking Civitai Link requirements...
[+] python-socketio[client] version 5.7.2 installed.

#######################################################################################################

soudasuwa added a commit to soudasuwa/sd_civitai_extension that referenced this issue Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant