Skip to content

AssertionError: disabled #164

@wensenz

Description

@wensenz

when i startup, i got this error

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

OS Information

Build ABI: x86_64-little_endian-llp64
Build CPU: x86_64
CPU: x86_64
Kernel Type: winnt
Kernel Version: 10.0.22635
Pretty Productname: Windows 10 Version 2009
Product Type: windows
Product Version: 10

image

AssertionError
Python 3.10.7: C:\Program Files\Krita (x64)\bin\krita.exe
Fri Oct 13 18:35:26 2023

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\wen\AppData\Roaming\krita\pykrita\krita_diff\extension.py in <lambda>()
   53             "img2img_upscale", "Apply img2img upscale", "tools/scripts"
   54         )
   55         upscale_x_action.triggered.connect(lambda: script.action_sd_upscale())
   56         upscale_x_action = window.createAction(
   57             "img2img_inpaint", "Apply img2img inpaint", "tools/scripts"
upscale_x_action undefined
global script = <krita_diff.script.Script object>
script.action_sd_upscale = <bound method Script.action_sd_upscale of <krita_diff.script.Script object>>

 C:\Users\wen\AppData\Roaming\krita\pykrita\krita_diff\script.py in action_sd_upscale(self=<krita_diff.script.Script object>)
  422 
  423     def action_sd_upscale(self):
  424         assert False, "disabled"
  425         self.status_changed.emit(STATE_WAIT)
  426         self.update_selection()

AssertionError: disabled
    __cause__ = None
    __class__ = <class 'AssertionError'>
    __context__ = None
    __delattr__ = <method-wrapper '__delattr__' of AssertionError object>
    __dict__ = {}
    __dir__ = <built-in method __dir__ of AssertionError object>
    __doc__ = 'Assertion failed.'
    __eq__ = <method-wrapper '__eq__' of AssertionError object>
    __format__ = <built-in method __format__ of AssertionError object>
    __ge__ = <method-wrapper '__ge__' of AssertionError object>
    __getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
    __gt__ = <method-wrapper '__gt__' of AssertionError object>
    __hash__ = <method-wrapper '__hash__' of AssertionError object>
    __init__ = <method-wrapper '__init__' of AssertionError object>
    __init_subclass__ = <built-in method __init_subclass__ of type object>
    __le__ = <method-wrapper '__le__' of AssertionError object>
    __lt__ = <method-wrapper '__lt__' of AssertionError object>
    __ne__ = <method-wrapper '__ne__' of AssertionError object>
    __new__ = <built-in method __new__ of type object>
    __reduce__ = <built-in method __reduce__ of AssertionError object>
    __reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
    __repr__ = <method-wrapper '__repr__' of AssertionError object>
    __setattr__ = <method-wrapper '__setattr__' of AssertionError object>
    __setstate__ = <built-in method __setstate__ of AssertionError object>
    __sizeof__ = <built-in method __sizeof__ of AssertionError object>
    __str__ = <method-wrapper '__str__' of AssertionError object>
    __subclasshook__ = <built-in method __subclasshook__ of type object>
    __suppress_context__ = False
    __traceback__ = <traceback object>
    args = ('disabled',)
    with_traceback = <built-in method with_traceback of AssertionError object>

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\wen\AppData\Roaming\krita\pykrita\krita_diff\extension.py", line 55, in <lambda>
    upscale_x_action.triggered.connect(lambda: script.action_sd_upscale())
  File "C:\Users\wen\AppData\Roaming\krita\pykrita\krita_diff\script.py", line 424, in action_sd_upscale
    assert False, "disabled"
AssertionError: disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions