sd-webui-controlnet icon indicating copy to clipboard operation
sd-webui-controlnet copied to clipboard

[Bug]: Error running the process

Open 4lt3r3go opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

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

What happened?

image

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...

What should have happened?

Error running process: F:\SD\extensions\sd-webui-controlnet\scripts\controlnet.py Traceback (most recent call last): File "F:\SD\modules\scripts.py", line 418, in process script.process(p, *script_args) File "F:\SD\extensions\sd-webui-controlnet\scripts\controlnet.py", line 984, in process self.enabled_units = self.get_enabled_units(p) File "F:\SD\extensions\sd-webui-controlnet\scripts\controlnet.py", line 943, in get_enabled_units unit = self.parse_remote_call(p, unit, idx) File "F:\SD\extensions\sd-webui-controlnet\scripts\controlnet.py", line 795, in parse_remote_call unit.enabled = selector(p, "control_net_enabled", unit.enabled, idx, strict=True) AttributeError: 'list' object has no attribute 'enabled'

Commit where the problem happens

webui: controlnet:

What browsers do you use to access the UI ?

No response

Command Line Arguments

no

Console logs

no

Additional information

No response

4lt3r3go avatar May 15 '23 16:05 4lt3r3go

i've been using controlNET daily after last Auto1111 pull i'm having this problem i tryed reinstall everything, is still there

4lt3r3go avatar May 15 '23 16:05 4lt3r3go

I'm having the same issue, same error message, control net is not working anymore

Jetbleu avatar May 16 '23 01:05 Jetbleu

i've been using controlNET daily after last Auto1111 pull i'm having this problem i tryed reinstall everything, is still there

Did you fix the problem, now my controlnet is not working

519571754 avatar May 16 '23 02:05 519571754

Yeah, I also experienced this when using ControlNet version 1.1.170 and trying to use it via API. Here's an example of the payload:

payload = { "sampler_name": "DPM++ 2M Karras", "prompt": _prompt, "negative_prompt": _negatice, "enable_hr": True, "denoising_strength": 0.7, "hr_scale": 1, "hr_upscaler": "4x-UltraSharp", "restore_faces": True, "seed": -1, "batch_size": 1, "n_iter": 1, "steps": 20, "cfg_scale": 8, "width": 512, "height": 768, "alwayson_scripts": { "controlnet": { "args": [ { "input_image": base64_string, "module": "openpose_full", "model": "control_v11p_sd15_openpose [cab727d4]" } ] } } }

vianseto avatar May 16 '23 06:05 vianseto

the [SD-CN-Animation] extension is causing this error. Remove it until it is updated.

ApathyJones avatar May 16 '23 11:05 ApathyJones

i remvoed sd-webui-segment-anything, as i read somewere else.. it works

4lt3r3go avatar May 16 '23 15:05 4lt3r3go

the [SD-CN-Animation] extension is causing this error. Remove it until it is updated.

Thanks, disabling SD-CN-Animation did work for me

Jetbleu avatar May 16 '23 18:05 Jetbleu

I don't have SD-CN-Animation extension, but I still encounter the error.

vianseto avatar May 17 '23 07:05 vianseto

I don't have SD-CN-Animation extension, but I still encounter the error.

My bad, I had to disable sd-webui-segment-anything too,

Disabling SD-CN-Animation seems to fix the error for txt2img without controlnet

Disabling sd-webui-segment-anything seems to fix the error when using controlnet

Jetbleu avatar May 17 '23 21:05 Jetbleu

I had same problem today, ControlNet 1.1.174 removing [sd-webui-segment-anything], solved!

sfkeeper avatar May 18 '23 07:05 sfkeeper

I don't have SD-CN-Animation extension, but I still encounter the error.

My bad, I had to disable sd-webui-segment-anything too,

Disabling SD-CN-Animation seems to fix the error for txt2img without controlnet

Disabling sd-webui-segment-anything seems to fix the error when using controlnet

sorry, my condition is a fresh install of automatic1111 and I immediately installed controlnet without any additional extensions... do you have any suggestions? besides disabling some extensions as mentioned above :(

vianseto avatar May 18 '23 15:05 vianseto