SignalFlagZ / sd-webui-civbrowser

Extension to search and download Civitai models in multiple tabs. Save model information. Send sample infotext to txt2img.
GNU Affero General Public License v3.0
62 stars 11 forks source link

【Forge】Forge branch displays error on startup and CivBrowser tab is not displayed #56

Closed SignalFlagZ closed 1 month ago

SignalFlagZ commented 2 months ago

Describe the bug Forge branch displays error on startup. ModuleNotFoundError: No module named 'scripts.civsfz_filemanage' And the CivBrowser tab doesn't appear.

To Reproduce Steps to reproduce the behavior:

  1. Start Forge
  2. Many errors are displayed in the console
  3. When I open the browser, there is no CivBrowser tab

Expected behavior No errors are displayed and the CivBrowser tab appears.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

      File "D:\StableDiffusion\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-civbrowser\scripts\civsfz_api.py", line 12, in <module>
        from scripts.civsfz_filemanage import generate_model_save_path2, extensionFolder
    ModuleNotFoundError: No module named 'scripts.civsfz_filemanage'
...
      File "D:\StableDiffusion\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-civbrowser\scripts\civsfz_downloader.py", line 15, in <module>
        from scripts.civsfz_filemanage import makedirs, removeFile, extensionFolder, open_folder
    ModuleNotFoundError: No module named 'scripts.civsfz_filemanage'
...
      File "D:\StableDiffusion\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-civbrowser\scripts\civsfz_ui.py", line 19, in <module>
        from scripts.civsfz_api import CivitaiModels
    ModuleNotFoundError: No module named 'scripts.civsfz_api'
...
      File "D:\StableDiffusion\Data\Packages\Stable Diffusion WebUI Forge\extensions\sd-webui-civbrowser\scripts\settings.py", line 5, in <module>
        from scripts.civsfz_api import APIInformation
    ModuleNotFoundError: No module named 'scripts.civsfz_api'
SignalFlagZ commented 2 months ago

If the gguf package is installed, it will cause a conflict and the extension will not load. https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1134#issuecomment-2290925628 Uninstall gguf from Python virtual environment. Enter the virtual environment and pip uninstall gguf Or install a new Forge.

taka-0770 commented 2 months ago

最新版のForgeでは pip uninstall gguf しなくても少し重いですが動くようです

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days.