stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>).

Open NiuDaVinci opened this issue 1 year ago • 35 comments

2023-06-23 13:04:26,147 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>). 2023-06-23 13:04:26,152 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7F1D2C80>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9A980>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BBB0>). 100%|██████████████████████████████████████████████████████████████████████████████████| 15/15 [00:05<00:00, 2.90it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 15/15 [00:02<00:00, 5.83it/s] 2023-06-23 13:09:03,823 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD98C70>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BD00>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD99630>). 2023-06-23 13:09:03,824 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD98C70>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD9BD00>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000001BE7BD99630>).

NiuDaVinci avatar Jun 23 '23 13:06 NiuDaVinci

Having the same issue. Full error below:

2023-06-23 14:29:27,115 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8B1DBDA20>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B79D662230>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8ADF8B430>). 2023-06-23 14:29:27,118 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8B1DBDA20>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B79D662230>, <scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x000002B8ADF8B430>).

crankdawg47 avatar Jun 23 '23 18:06 crankdawg47

same. Was doing tiles with ultimate upscaler.

2023-06-23 15:06:55,255 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x0000019AC0D3B160>,). 2023-06-23 15:06:55,257 - ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args passed to ControlNet: (<scripts.controlnet_ui.controlnet_ui_group.UiControlNetUnit object at 0x0000019AC0D3B160>,).

kazuninishiki avatar Jun 23 '23 19:06 kazuninishiki

looks like it was an issue with the latest update. there's been a patch to the controlnet extension. updating it seems to have corrected error. Open pose isn't generating wireframe previews after img generation though. so not sure it's entirely fixed

crankdawg47 avatar Jun 23 '23 19:06 crankdawg47

Can confirm. An update fixed it.

kazuninishiki avatar Jun 23 '23 19:06 kazuninishiki

how did you update it, when i go to my available extension everything seems to be updated

hoodady avatar Jun 25 '23 01:06 hoodady

I have the same problem here and I have updated everything

alexmihaic avatar Jun 27 '23 08:06 alexmihaic

I have same issue with slightly different output in CLI: error

I have disabled all Extensions (Ext&Int) then restarted UI to see if it help, no luck either.

syousip avatar Jun 27 '23 13:06 syousip

Any fix for this?

enterv0id avatar Jun 27 '23 21:06 enterv0id

Same problem here as @syousip

Ainaemaet avatar Jun 28 '23 01:06 Ainaemaet

same issue for img2img. no problem with txt2img. i am not using any controlnet with img2img but warning generated. any update? (updated) fixed. disabled all extensions except controlnet and adetailer. it works fine. probably, one of extensions is causing problem.

93041025 avatar Jun 28 '23 03:06 93041025

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one with conflict

kitamo1981 avatar Jun 28 '23 08:06 kitamo1981

Same problem, cant solve ;(( I reinstalled VENV Folder and deinstalled my last installed extensions. Controlnet stopped working

anx22 avatar Jun 28 '23 11:06 anx22

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

fastjhone avatar Jun 28 '23 12:06 fastjhone

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

That worked, thanks! but why has this conflict with mov2mov??

Flickarus avatar Jun 28 '23 20:06 Flickarus

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

yeah that works for me i hope mov2mov2 works again soon

futurediffusion avatar Jun 28 '23 22:06 futurediffusion

I

I got that same - try to turn off move2move extension if U use it or other extensions and try to find that one witch conflict

its actually worked

That worked, thanks! but why has this conflict with mov2mov??

its strange but i think that it have something to do with new version of Controlnet. WIth older controlnet it works fine. I think we need to wait for new version of controlnet or mov2mov.

kitamo1981 avatar Jun 29 '23 07:06 kitamo1981

I turned off SD-CN-Animation ext and it fixed it.

Whippetz avatar Jun 30 '23 06:06 Whippetz

I turned off SD-CN-Animation ext and it fixed it.

its worked for me thanks

Ho3einWave avatar Jun 30 '23 14:06 Ho3einWave

i turn off sd-dynamic-prompts and then it started working with no errors

thedoger82 avatar Jul 14 '23 03:07 thedoger82

I also got it working by disabling other plugins, but I don't think it's a wise thing to do because I had to disable 7 plugins to get it to work. However, in many cases many plugins are required to work together. In addition, after I rolled back the stable diffusion for several versions, it can also be used normally

aftermath0703 avatar Aug 08 '23 06:08 aftermath0703

having the same issue even after disabling almost every extension

plaeground avatar Aug 15 '23 18:08 plaeground

having the same issue even after disabling almost every extension

you can also try reinstall these plugins, it also works for me

aftermath0703 avatar Aug 15 '23 21:08 aftermath0703

Same proble here but I have no extension and it says "Here are args received by ControlNet: ()"... I have no window to put my image in img2img too, don't know if it's the same problem.

Has anyone found a solution other than disabling extensions (I don't have any)?

JeanCrux avatar Aug 29 '23 20:08 JeanCrux

Same problem, I disabled all the extensions, didn't work

rodfdez avatar Aug 29 '23 22:08 rodfdez

Same here. On text2img and Img2img it's ok but on deforum, isn't working. Is there any solution?

ybekocak avatar Sep 03 '23 06:09 ybekocak

Mine was doing this exact same thing but at some point (either during load or during run press maybe?) was throwing an error from the preset.py module.

Error calling: H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py/ui
Traceback (most recent call last):
  File "H:\wusd\stable-diffusion-webui\modules\scripts.py", line 243, in wrap_call
    res = func(*args, **kwargs)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 283, in ui
    group, state = self.uigroup(f"ControlNet", is_img2img, elem_id_tabname)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet.py", line 258, in uigroup
    group.register_callbacks(is_img2img)
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\controlnet_ui_group.py", line 825, in register_callbacks
    self.preset_panel.register_callbacks(
  File "H:\wusd\stable-diffusion-webui\extensions\sd-webui-controlnet\scripts\controlnet_ui\preset.py", line 177, in register_callbacks
    ).then(
AttributeError: 'dict' object has no attribute 'then'

as I have no need for presets and they seemed to have been implemented poorly, I just went and removed any reference to the preset stuff. I can share what I did but it'll have to be later if someone is interested.

profinger avatar Sep 03 '23 22:09 profinger

@Whippetz thank you. I had the same problem. ControlNet - WARNING - No ControlNetUnit detected in args fails when the SD-CN-Animation extension enabled. (comment left for the internets to find)

rchennau avatar Sep 06 '23 15:09 rchennau

I have the same problem.

APZmedia avatar Sep 19 '23 13:09 APZmedia

Same problem, but the error message do not contain anything. No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: ().

night2021-2021 avatar Oct 04 '23 10:10 night2021-2021

In my case, the SD-CN-Animation extension https://github.com/volotat/SD-CN-Animation.git. It causes the conflict ( ControlNet - WARNING - No ControlNetUnit detected in args. It is very likely that you are having an extension conflict.Here are args received by ControlNet: ().)

kino47 avatar Oct 14 '23 13:10 kino47