Repository: stable-diffusion-webui
Issue: 致命错误：在引用列表之后应该有一个 flush 包  Error code: 128[Bug]: 
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

我的Mac是2003年的10年老机，性能还比较强劲，但系统只能升级到ios11.7.10。我对输入语言真的是很蒙，看着4份指引胡乱的尝试，真的感觉走到最后一步了，但是报错走不下去了。需要大家帮助。

### Steps to reproduce the problem

1. 安装[Python 3.10.6]，安装过程没有出现“Add Python to PATH”选项。
2. 安装[git]，我的机器版本低无法安装Homebrew，所以选择安装MacPorts，
3. 安装「Xcode」
4. 下载 stable-diffusion-webui-master
5. cd ~/stable-diffusion-webuicd ~/stable-diffusion-webui
6. ./webui.sh
7. 报错


### What should have happened?

正常应该出现 http://127.0.0.1:7860
但是我的是报错：
Installing open_clip
Cloning Stable Diffusion into /Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
正克隆到 '/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
错误：RPC 失败。curl 28 Recv failure: Operation timed out
致命错误：在引用列表之后应该有一个 flush 包
Traceback (most recent call last):
  File "/Users/a1/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/a1/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 380, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 186, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128


### Sysinfo

Installing open_clip
Cloning Stable Diffusion into /Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
正克隆到 '/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
错误：RPC 失败。curl 28 Recv failure: Operation timed out
致命错误：在引用列表之后应该有一个 flush 包
Traceback (most recent call last):
  File "/Users/a1/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/a1/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 380, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 186, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128


### What browsers do you use to access the UI ?

_No response_

### Console logs

```Shell
Last login: Wed Oct  4 15:38:17 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Green-MacBook-Pro:~ Green$ cd ~
Green-MacBook-Pro:~ Green$ pwd
/Users/a1
Green-MacBook-Pro:~ Green$ git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
致命错误：目标路径 'stable-diffusion-webui' 已经存在，并且不是一个空目录。
Green-MacBook-Pro:~ Green$ stable-diffusion-webui > models > Stable-diffusion
-bash: stable-diffusion-webui: command not found
Green-MacBook-Pro:~ Green$ cd ~/stable-diffusion-webui
Green-MacBook-Pro:stable-diffusion-webui Green$ ./webui.sh

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye)
################################################################

################################################################
Running on Green user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
Python 3.10.6 (v3.10.6:9c7b4bd164, Aug  1 2022, 17:13:48) [Clang 13.0.0 (clang-1300.0.29.30)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing torch and torchvision
Collecting torch==2.0.1
  Downloading torch-2.0.1-cp310-none-macosx_10_9_x86_64.whl (143.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.4/143.4 MB 5.1 MB/s eta 0:00:00
Collecting torchvision==0.15.2
  Downloading torchvision-0.15.2-cp310-cp310-macosx_10_9_x86_64.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 7.0 MB/s eta 0:00:00
Collecting jinja2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 7.1 MB/s eta 0:00:00
Collecting networkx
  Downloading networkx-3.1-py3-none-any.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.6 MB/s eta 0:00:00
Collecting sympy
  Downloading sympy-1.12-py3-none-any.whl (5.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 7.4 MB/s eta 0:00:00
Collecting typing-extensions
  Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting filelock
  Downloading filelock-3.12.4-py3-none-any.whl (11 kB)
Collecting requests
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 4.8 MB/s eta 0:00:00
Collecting pillow!=8.3.*,>=5.3.0
  Downloading Pillow-10.0.1-cp310-cp310-macosx_10_10_x86_64.whl (3.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 7.6 MB/s eta 0:00:00
Collecting numpy
  Downloading numpy-1.26.0-cp310-cp310-macosx_10_9_x86_64.whl (20.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.6/20.6 MB 8.0 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl (13 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 9.1 MB/s eta 0:00:00
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.0-cp310-cp310-macosx_10_9_x86_64.whl (119 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.8/119.8 kB 8.8 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1
  Downloading urllib3-2.0.6-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 kB 7.8 MB/s eta 0:00:00
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 5.3 MB/s eta 0:00:00
Collecting mpmath>=0.19
  Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 kB 7.6 MB/s eta 0:00:00
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision
Successfully installed MarkupSafe-2.1.3 certifi-2023.7.22 charset-normalizer-3.3.0 filelock-3.12.4 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.1 numpy-1.26.0 pillow-10.0.1 requests-2.31.0 sympy-1.12 torch-2.0.1 torchvision-0.15.2 typing-extensions-4.8.0 urllib3-2.0.6

[notice] A new release of pip available: 22.2.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
Installing clip
Installing open_clip
Cloning Stable Diffusion into /Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai...
正克隆到 '/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'...
错误：RPC 失败。curl 28 Recv failure: Operation timed out
致命错误：在引用列表之后应该有一个 flush 包
Traceback (most recent call last):
  File "/Users/a1/stable-diffusion-webui/launch.py", line 48, in <module>
    main()
  File "/Users/a1/stable-diffusion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 380, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 186, in git_clone
    run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
  File "/Users/a1/stable-diffusion-webui/modules/launch_utils.py", line 115, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone Stable Diffusion.
Command: "git" clone "https://github.com/Stability-AI/stablediffusion.git" "/Users/a1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai"
Error code: 128
Green-MacBook-Pro:stable-diffusion-webui Green$
```


### Additional information

_No response_