Comments (9)
Fail gracefully with a placeholder so the scan can continue?
Sorry, you are correct. Sometimes my head is so in the weeds that I miss the forest for the trees
from stable-diffusion-webui-civitai-helper.
The work done yesterday is unrelated to this issue and only affects the model downloader. I have not been on my PC today to so I haven't been able to work on resolving this yet
from stable-diffusion-webui-civitai-helper.
Can you include the URL of an archived model?
https://civitai.com/models/283867/dva-dlc
CHv1.8.3: Creating model info for: D.VA DLC .safetensors
CHv1.8.3: model action sha256: 00b48ef4d6a2610441208dc2e66868aad59a411ed186752957643879c98fd88f
CHv1.8.3: Request model info from civitai
CHv1.8.3: Fetching Parent Model Information
CHv1.8.3: Request model info from civitai: 283867
CHv1.8.3: GET Request failed with error code:
404: Not Found
from stable-diffusion-webui-civitai-helper.
similar issue with https://civitai.com/models/375252
from stable-diffusion-webui-civitai-helper.
Fail gracefully with a placeholder so the scan can continue?
from stable-diffusion-webui-civitai-helper.
The 25a0dac fix works very well for me ! Thanks a lot @zixaphir for your quick intervention - you provide better customer support than many big corporations charging us monthly fees to use their tools !
from stable-diffusion-webui-civitai-helper.
Can you include the URL of an archived model?
from stable-diffusion-webui-civitai-helper.
Unfortunately it appears that the API does not allow accessing archived models, so there's nothing I can really do about this. You can try asking the devs of Civitai to expose metadata for archived models.
from stable-diffusion-webui-civitai-helper.
EDIT: I tried the latest DEV branch and the problem remains. I thought there was a chance it would work because of this fix posted yesterday, but it's not covering the specific case of archived models:
05c00ff
Just to provide one more example, here is my own log for this error (that was prior to testing the DEV branch) :
CHv1.8.3: Creating model info for: 0299 New York City Police Department_v1.safetensors
CHv1.8.3: model action sha256: 002262e1d30e6d3622769f8ed0332d38a0898029dc04cd3954c21a94435c7357
CHv1.8.3: Request model info from civitai
CHv1.8.3: Fetching Parent Model Information
CHv1.8.3: Request model info from civitai: 333806
CHv1.8.3: GET Request failed with error code:
404: Not Found
Traceback (most recent call last):
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\blocks.py", line 1117, in call_function
prediction = await utils.async_iteration(iterator)
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\utils.py", line 350, in async_iteration
return await iterator.__anext__()
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\utils.py", line 343, in __anext__
return await anyio.to_thread.run_sync(
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\anyio\_backends\_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\anyio\_backends\_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\utils.py", line 326, in run_sync_iterator_async
return next(iterator)
File "C:\stable-diffusion-webui\venvopt\lib\site-packages\gradio\utils.py", line 695, in gen_wrapper
yield from f(*args, **kwargs)
File "C:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\ch_lib\model_action_civitai.py", line 162, in scan_model
for result in scan_single_model(filepath, model_type, refetch_old, delay):
File "C:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\ch_lib\model_action_civitai.py", line 90, in scan_single_model
model_info = civitai.get_model_info_by_hash(sha256_hash)
File "C:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\ch_lib\civitai.py", line 126, in get_model_info_by_hash
content = append_parent_model_metadata(content)
File "C:\stable-diffusion-webui\extensions\Stable-Diffusion-Webui-Civitai-Helper\ch_lib\civitai.py", line 95, in append_parent_model_metadata
content["creator"] = parent_model.get("creator", "{}")
AttributeError: 'NoneType' object has no attribute 'get'
from stable-diffusion-webui-civitai-helper.
Related Issues (20)
- missing generation info
- Why wrap the already-sanitized model HTML in HTML comments? HOT 3
- Buttons don't show up on lllyasviel's fork HOT 1
- [Bug] Webui forge support / Lobe theme infinite loading issue HOT 5
- Unable to install lycoris in the lycoris folder HOT 1
- Buttons does not show on model cards (A1111 v1.8)
- [Bug] - Buttons shows on only 14 model cards while others don't, and when click on buttons, they do nothing HOT 4
- [Bug] - Buttons actions not working HOT 3
- 无法输入代理信息 HOT 1
- Error 416: range not satisfiable HOT 2
- [Bug] Civitai API NSFW Changes HOT 6
- Only the latest version of a model can be selected. HOT 3
- download function niot working HOT 3
- bug Cant download models or get info HOT 1
- Checkpoint update fails with majicMix and others HOT 3
- Potential enhancement: collect downloaded model info before checking for updates HOT 1
- [BUG] The problem with the "Scan Models for Civitai" module for models that are not in Civitai HOT 1
- Save previews as jpeg instead of as png? HOT 3
- Specific model returning 404 Not Found (but model exists) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui-civitai-helper.