You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\control.py in remove(self=<ai_diffusion.control.ControlLayerList object>, control=<ai_diffusion.control.ControlLayer object>)
207
208 def remove(self, control: ControlLayer):
209 self._layers.remove(control)
210 self.removed.emit(control)
211
self = <ai_diffusion.control.ControlLayerList object>
self._layers = []
self._layers.remove =
control = <ai_diffusion.control.ControlLayer object>
ValueError: list.remove(x): x not in list cause = None class = <class 'ValueError'> context = None delattr = <method-wrapper 'delattr' of ValueError object> dict = {} dir = doc = 'Inappropriate argument value (of correct type).' eq = <method-wrapper 'eq' of ValueError object> format = ge = <method-wrapper 'ge' of ValueError object> getattribute = <method-wrapper 'getattribute' of ValueError object> gt = <method-wrapper 'gt' of ValueError object> hash = <method-wrapper 'hash' of ValueError object> init = <method-wrapper 'init' of ValueError object> init_subclass = le = <method-wrapper 'le' of ValueError object> lt = <method-wrapper 'lt' of ValueError object> ne = <method-wrapper 'ne' of ValueError object> new = reduce = reduce_ex = repr = <method-wrapper 'repr' of ValueError object> setattr = <method-wrapper 'setattr' of ValueError object> setstate = sizeof = str = <method-wrapper 'str' of ValueError object> subclasshook = suppress_context = False traceback =
args = ('list.remove(x): x not in list',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\ui\control.py", line 207, in remove
self._control_list.remove(self._control)
File "C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\control.py", line 209, in remove
self._layers.remove(control)
ValueError: list.remove(x): x not in list`
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I press X button to cancel control layer i get this error. Also sometimes I see 2 same control nets added when I add one. Then I get this error.
`ValueError
Python 3.10.7: C:\AI\krita-x64-5.2.6\bin\krita.exe
Thu Dec 19 18:28:53 2024
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\ui\control.py in remove(self=<ai_diffusion.ui.control.ControlWidget object>)
205 def remove(self):
206 assert self._control_list is not None
207 self._control_list.remove(self._control)
208
209 def resizeEvent(self, a0: QResizeEvent | None):
self = <ai_diffusion.ui.control.ControlWidget object>
self._control_list = <ai_diffusion.control.ControlLayerList object>
self._control_list.remove = <bound method ControlLayerList.remove of <ai_diffusion.control.ControlLayerList object>>
self._control = <ai_diffusion.control.ControlLayer object>
C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\control.py in remove(self=<ai_diffusion.control.ControlLayerList object>, control=<ai_diffusion.control.ControlLayer object>)
207
208 def remove(self, control: ControlLayer):
209 self._layers.remove(control)
210 self.removed.emit(control)
211
self = <ai_diffusion.control.ControlLayerList object>
self._layers = []
self._layers.remove =
control = <ai_diffusion.control.ControlLayer object>
ValueError: list.remove(x): x not in list
cause = None
class = <class 'ValueError'>
context = None
delattr = <method-wrapper 'delattr' of ValueError object>
dict = {}
dir =
doc = 'Inappropriate argument value (of correct type).'
eq = <method-wrapper 'eq' of ValueError object>
format =
ge = <method-wrapper 'ge' of ValueError object>
getattribute = <method-wrapper 'getattribute' of ValueError object>
gt = <method-wrapper 'gt' of ValueError object>
hash = <method-wrapper 'hash' of ValueError object>
init = <method-wrapper 'init' of ValueError object>
init_subclass =
le = <method-wrapper 'le' of ValueError object>
lt = <method-wrapper 'lt' of ValueError object>
ne = <method-wrapper 'ne' of ValueError object>
new =
reduce =
reduce_ex =
repr = <method-wrapper 'repr' of ValueError object>
setattr = <method-wrapper 'setattr' of ValueError object>
setstate =
sizeof =
str = <method-wrapper 'str' of ValueError object>
subclasshook =
suppress_context = False
traceback =
args = ('list.remove(x): x not in list',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\ui\control.py", line 207, in remove
self._control_list.remove(self._control)
File "C:\Users\user\AppData\Roaming\krita\pykrita\ai_diffusion\control.py", line 209, in remove
self._layers.remove(control)
ValueError: list.remove(x): x not in list`
Beta Was this translation helpful? Give feedback.
All reactions