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

            Bug ID: 522196
           Summary: help() in Scripter Crashes Krita
    Classification: Applications
           Product: krita
      Version First nightly build (please specify the git hash!)
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 193710
  --> https://bugs.kde.org/attachment.cgi?id=193710&action=edit
Backtrace at Hang

you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports



DESCRIPTION
When help() is run in krita's scripter (under Tools>Scripts>Scripter), the
process hangs and becomes unresponsive. I included a backtrace
But when it is debugged, an error message pops up indicating failure to execute
the script with the error message text being simply 'pydoc' (with the quotes).
Also, only when the script is run in debug mode, the python help menu is
printed to stdout (!?). I included a screeshot

STEPS TO REPRODUCE
1. Run krita
2. Open scripter
3. Write "help()"
4. Press the "run script" button

OBSERVED RESULT
Krita hangs, its windows become unresponsive, and if minimized, they won't
rerender once they are reopened.

EXPECTED RESULT
A help menu should be printed or do nothing.

SOFTWARE/OS VERSIONS
Operating System: "Debian GNU/Linux 13 (trixie)"
krita: "krita 6.1.0-prealpha (git 2bd9710)"
ADDITIONAL INFORMATION
My Desktop environment is XFCE4
I spotted the same bug in the Debian 13 version of krita (krita 5.2.9).

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

Reply via email to