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]: When I started the ControlNet extension, the stable diffusion startup error occurred #3072

Open
1 task done
taoleilinux opened this issue Dec 7, 2024 · 0 comments

Comments

@taoleilinux
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

What happened?

When I started the ControlNet extension, the stable diffusion startup error occurred.
image
As shown in the picture, and I have tried several different versions with the same error.

Steps to reproduce the problem

  1. Clone the ControlNet code and place it in the extensions folder of the stable diffusion
  2. Enable the ControlNet extension
  3. Start stable diffusion

What should have happened?

NO

Commit where the problem happens

No

What browsers do you use to access the UI ?

No response

Command Line Arguments

NO

List of enabled extensions

a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete | main | 6ffeeafc | 2024-11-09 22:35:59 | 未知
adetailer | https://github.com/Bing-su/adetailer | main | c48bdbd8 | 2024-12-07 19:10:25 | 未知
multidiffusion-upscaler-for-automatic1111 | https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git | main | 22798f68 | 2024-08-07 17:32:25 | 未知
sd-dynamic-prompts |   | 无 |   |   | 未知
sd-dynamic-thresholding | https://github.com/mcmonkeyprojects/sd-dynamic-thresholding | master | 5d63447a | 2024-08-10 20:59:56 | 未知
sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet | main | 97c8598 | 2024-05-27 23:26:28 | 未知
sd-webui-faceswaplab |   | 无 |   |   | 未知
sd-webui-infinite-image-browsing | https://github.com/zanllp/sd-webui-infinite-image-browsing | main | 1a0f0712 | 2024-11-24 23:07:18 | 未知
sd-webui-inpaint-anything |   | 无 |   |   | 未知
sd-webui-lora-block-weight | https://github.com/hako-mikan/sd-webui-lora-block-weight | main | 2322d641 | 2024-10-14 18:37:40 | 未知
sd-webui-model-converter | https://github.com/Akegarasu/sd-webui-model-converter | main | a7ea23b5 | 2024-11-20 18:39:32 | 未知
sd-webui-openpose-editor | https://github.com/huchenlei/sd-webui-openpose-editor | main | 0026f453 | 2024-06-21 06:18:05 | 未知
sd-webui-photopea-embed |   | 无 |   |   | 未知
sd-webui-prompt-all-in-one | https://github.com/Physton/sd-webui-prompt-all-in-one | main | d69645e6 | 2024-06-10 14:32:44 | 未知
sd-webui-qrcode-toolkit |   | 无 |   |   | 未知
sd-webui-segment-anything | https://github.com/continue-revolution/sd-webui-segment-anything.git | master | 982138cf | 2024-02-24 04:25:02 | 未知
sd-webui-stablesr |   | 无 |   |   | 未知
sd-webui-supermerger | https://github.com/hako-mikan/sd-webui-supermerger.git | main | aa82ea54 | 2024-10-15 17:29:25 | 未知
stable-diffusion-webui-localization-zh_Hans | https://github.com/hanamizuki-ai/stable-diffusion-webui-localization-zh_Hans | master | 51051b43 | 2024-09-16 12:00:04 | 未知
stable-diffusion-webui-model-toolkit | https://github.com/arenasys/stable-diffusion-webui-model-toolkit.git | master | e19dd46e | 2024-05-12 12:20:22 | 未知
stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger | master | 99bf7d81 | 2023-07-18 01:44:24 | 未知
ultimate-upscale-for-automatic1111 | https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git | master | 2322caa4 | 2024-03-09 00:55:37 | 未知

Console logs

Traceback (most recent call last):
  File "E:\soft\sd-webui-aki-v4.7\launch.py", line 48, in <module>
    main()
  File "E:\soft\sd-webui-aki-v4.7\launch.py", line 44, in main
    start()
  File "E:\soft\sd-webui-aki-v4.7\modules\launch_utils.py", line 469, in start
    webui.webui()
  File "E:\soft\sd-webui-aki-v4.7\webui.py", line 112, in webui
    create_api(app)
  File "E:\soft\sd-webui-aki-v4.7\webui.py", line 22, in create_api
    api = Api(app, queue_lock)
  File "E:\soft\sd-webui-aki-v4.7\modules\api\api.py", line 264, in __init__
    self.default_script_arg_txt2img = self.init_default_script_args(txt2img_script_runner)
  File "E:\soft\sd-webui-aki-v4.7\modules\api\api.py", line 318, in init_default_script_args
    if last_arg_index < script.args_to:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant