Interpause / Interpause/auto-sd-paint-ext

AssertionError: disabled

Open
#164 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
482
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/Interpause/auto-sd-paint-ext/assets/10190672/4736bc7c-4d25-4f3f-95d3-2f1d1cbb81d3)

```
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 ()
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 =
script.action_sd_upscale = >

C:\Users\wen\AppData\Roaming\krita\pykrita\krita_diff\script.py in action_sd_upscale(self=)
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__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('disabled',)
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\wen\AppData\Roaming\krita\pykrita\krita_diff\extension.py", line 55, in
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.