stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: error code 128

Open emai24volts opened this issue 5 months ago • 1 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [ ] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [ ] The issue exists in the current version of the webui
  • [ ] The issue has not been reported before recently
  • [x] The issue has been reported before but has not been fixed yet

What happened?

new to install, when running webui-user.bat, this happened..

Steps to reproduce the problem

open webui-user.bat

What should have happened?

run ui

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

is this necessary to this problem? tell me if it is i'll re-edit that

Console logs

venv "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\venv\Scripts\Python.exe"
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.10.1
Commit hash: <none>
Couldn't determine assets's hash: 6f7db241d2f8ba7457bac5ca9753331f0c266917, attempting autofix...
Fetching all contents for assets
fatal: detected dubious ownership in repository at 'D:/sdui/stable-diffusion-webui-master/stable-diffusion-webui-master/repositories/stable-diffusion-webui-assets'
'D:/sdui/stable-diffusion-webui-master/stable-diffusion-webui-master/repositories/stable-diffusion-webui-assets' is on a file system that does not record ownership
To add an exception for this directory, call:

        git config --global --add safe.directory D:/sdui/stable-diffusion-webui-master/stable-diffusion-webui-master/repositories/stable-diffusion-webui-assets
Traceback (most recent call last):
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 48, in <module>
    main()
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\launch.py", line 39, in main
    prepare_environment()
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 411, in prepare_environment
    git_clone(assets_repo, repo_dir('stable-diffusion-webui-assets'), "assets", assets_commit_hash)
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 178, in git_clone
    current_hash = run_git(dir, name, 'rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 166, in run_git
    git_fix_workspace(dir, name)
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 153, in git_fix_workspace
    run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True)
  File "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\modules\launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch assets.
Command: "git" -C "D:\sdui\stable-diffusion-webui-master\stable-diffusion-webui-master\repositories\stable-diffusion-webui-assets" fetch --refetch --no-auto-gc
Error code: 128
请按任意键继续. . .

Additional information

i don't actually know what's going on, i have seen others reported about error code 128 and still not fixed yet...

emai24volts avatar Jun 27 '25 22:06 emai24volts

to reinstall using windows-method-1 on teh wiki https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs#windows-method-1

w-e-w avatar Jun 27 '25 23:06 w-e-w