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]: Use local HTML file for model info doesn't appear to do anything. #355

Open
jackminghaoxu opened this issue Oct 27, 2024 · 1 comment
Labels
bug Something isn't working WIP Being worked on

Comments

@jackminghaoxu
Copy link

Describe the bug.

When Use local HTML File for model info is checked, pressing the CivitAI button on model cards in txt2img attempts to bring up the online web page instead of the downloaded HTML file.

Steps to reproduce the problem.

  1. Check Use local HTML File for model info
  2. Check Use local images in the HTML
  3. Check Save model description to json
  4. Set Custom save images location to sd-civitai-browser-plus\localdata
  5. Check Use sub folders inside custom images location
  6. Check Store the HTML and api_info in the custom images location
  7. Check Download models using Aria2
  8. Check Automatically unpack .zip files after downloading
  9. Check Save API info of model when saving model info
  10. Check Automatically save all images
  11. Apply settings and Reload UI
  12. Download realisticVisionV60B1_v51VAE_94298.safetensors to SD1.5\r\
  13. Ensure realisticVisionV60B1_v51VAE_94298.html and images exists at F:\stable-diffusion-webui-1.10.0\sd-civitai-browser-plus\localdata\Stable-diffusion\SD1.5\r\
  14. Disconnect ethernet cable and turn on Airplane mode.
  15. Press the CivitAI button on the checkpoint realisticVisionV60B1_v51VAE_94298 in the txt2img tab
  16. Error message: "The CivitAI-API failed to respond due to an error. Check the logs for more details."
  17. Console message: "CivitAI Browser+: Error: HTTPSConnectionPool(host='civitai.com', port=443): Max retries exceeded with url: /api/v1/models?ids=4201&nsfw=true (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000017854281750>: Failed to resolve 'civitai.com' ([Errno 11001] getaddrinfo failed)"))"

Expected behavior

Pressing the CivitAI button on model cards should bring up the already downloaded HTML file instead of attempting to open the online web page.

System info

  • Extension version: 807a21c
  • OS: Windows 10 22H2
  • SD-WebUI version: 1.10.0
  • Python: 3.10.6

Console logs

CivitAI Browser+: Error: HTTPSConnectionPool(host='civitai.com', port=443): Max retries exceeded with url: /api/v1/models?ids=4201&nsfw=true (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x0000017854281750>: Failed to resolve 'civitai.com' ([Errno 11001] getaddrinfo failed)"))

Additional information

Error first encountered on reForge on 2024-10-20. Due to the existence of other extensions and possible incompatibility with reForge, a new install of Automatic1111's webui was installed from a zip archive downloaded in August. Error still occurred.

@jackminghaoxu jackminghaoxu added the bug Something isn't working label Oct 27, 2024
@BlafKing
Copy link
Owner

Thanks for reporting!

Added to the to-do list :)

@BlafKing BlafKing added the WIP Being worked on label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WIP Being worked on
Projects
None yet
Development

No branches or pull requests

2 participants