https://bugs.kde.org/show_bug.cgi?id=410807

Rebecca Breu <rebe...@rbreu.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Rebecca Breu <rebe...@rbreu.de> ---
I can confirm this on Windows 10 with the Krita 4.2.5 download from the Krita
website.

I also belatedly noticed that the debugger doesn't work on Linux either (4.2.5.
appimage)—it just dies with a different error in a less noticeable way. I get a
traceback in the Linux terminal: 

qt.svg: Cannot open file ':/icons/debug_arrow.svg', because: No such file or
directory
Error in sys.excepthook:
Traceback (most recent call last):
  File
"/tmp/.mount_krita-kLnui4/usr/lib/krita-python-libs/krita/excepthook.py", line
23, in on_error
    dlg = ExceptHookDialog(exc_type, exc_obj, exc_tb)
  File
"/tmp/.mount_krita-kLnui4/usr/lib/krita-python-libs/krita/excepthook.py", line
60, in __init__
    html = cgitb.text((exc_type, exc_obj, exc_tb))
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/cgitb.py", line 212, in text
    formatvalue=lambda value: '=' + pydoc.text.repr(value))
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/inspect.py", line 1231, in
formatargvalues
    specs.append(convert(args[i]))
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/inspect.py", line 1228, in
convert
    return formatarg(name) + formatvalue(locals[name])
KeyError: 'exc'

Original exception was:
Traceback (most recent call last):
  File
"/tmp/.mount_krita-kLnui4/usr/share/krita/pykrita/scripter/ui_scripter/actions/debugaction/debugaction.py",
line 45, in debug
   
self.scripter.debugcontroller.start(self.scripter.documentcontroller.activeDocument)
  File
"/tmp/.mount_krita-kLnui4/usr/share/krita/pykrita/scripter/debugcontroller.py",
line 39, in start
    loop.run_until_complete(self._debugger.start())
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/asyncio/base_events.py",
line 387, in run_until_complete
    return future.result()
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/asyncio/futures.py", line
274, in result
    raise self._exception
  File "/tmp/.mount_krita-kLnui4/usr/lib/python3.5/asyncio/tasks.py", line 241,
in _step
    result = coro.throw(exc)
  File
"/tmp/.mount_krita-kLnui4/usr/share/krita/pykrita/scripter/debugger_scripter/debugger.py",
line 115, in start
    yield self.display()
RuntimeError: yield was used instead of yield from for generator in task <Task
pending coro=<Debugger.start() running at
/tmp/.mount_krita-kLnui4/usr/share/krita/pykrita/scripter/debugger_scripter/debugger.py:115>
cb=[_run_until_complete_cb() at
/tmp/.mount_krita-kLnui4/usr/lib/python3.5/asyncio/base_events.py:164]> with
<generator object Debugger.display at 0x7ff4fc0c4728>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to