Interpause / auto-sd-paint-ext

Extension for AUTOMATIC1111 to add custom backend API for Krita Plugin & more
MIT License
473 stars 43 forks source link

QCheckBox(parent: QWidget = None): argument 1 has unexpected type 'list' #163

Open wensenz opened 11 months ago

wensenz commented 11 months ago

Krita

Version: 5.2.0 (git 31272fb) Installation type: installer / portable package Hidpi: true

Qt

Version (compiled): 5.15.7 Version (loaded): 5.15.7

image

image

when i start Krita i got: \krita\pykrita\krita_diff\widgets\checkbox.py", line 63, in init checkbox = _QCheckBox(opt) TypeError: arguments did not match any overloaded call: QCheckBox(parent: QWidget = None): argument 1 has unexpected type 'list' QCheckBox(str, parent: QWidget = None): argument 1 has unexpected type 'list'

dangerweenie commented 11 months ago

i'm having the same issue image

pseudokris commented 10 months ago

Has anyone found a solution? I have just installed this plugin and am having the same problem. I'm using Krita 5.2.1 but I also tried it with Krita 5.1.4 and had the same problem.

pseudokris commented 10 months ago

Has anyone found a solution? I have just installed this plugin and am having the same problem. I'm using Krita 5.2.1 but I also tried it with Krita 5.1.4 and had the same problem.

SOLVED I had to checkout the correct that the plugin was related to. Then everything worked great.

TilmitderBrill commented 10 months ago

Has anyone found a solution? I have just installed this plugin and am having the same problem. I'm using Krita 5.2.1 but I also tried it with Krita 5.1.4 and had the same problem.

SOLVED I had to checkout the correct that the plugin was related to. Then everything worked great.

Im having the same issue. What do you mean by "checkout the corect that the plugin was related to"?

j2l commented 10 months ago

@TilmitderBrill I think what @pseudokris meant was "I checked out the plugin ..." Indeed if you remove the plugin, the issue is solved ... but you don't have the plugin anymore.

In my case, I couldn't even run Krita to uncheck it. Dumping Krita config (~/.config/krita*) resets, and unchecks the plugin. But it was working yesterday before I updated sd-webui to 1.6.1, so I guess the update has broken something.

EDIT: Actually, the issue comes back as soon as webui.sh is up and running. So the sd-webui update sends something new (a list format) to the plugin and Krita doesn't like it.

EDIT2 : Looks like someone found and fixed the issue! https://github.com/poipoi300/auto-sd-krita-ext-xl