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

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

Open
wensenz opened this issue Oct 13, 2023 · 5 comments
Open

Comments

@wensenz
Copy link

wensenz commented Oct 13, 2023

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
Copy link

i'm having the same issue
image

@pseudokris
Copy link

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
Copy link

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
Copy link

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
Copy link

j2l commented Nov 23, 2023

@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

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

5 participants