Bug 497937

Summary: The "Extras / Scripts" submenu is not populated anymore (latest Python update)
Product: [Applications] krita Reporter: me
Component: ScriptingAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 5.2.6   
Target Milestone: ---   
Platform: Arch Linux   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description me 2024-12-27 10:38:40 UTC
SUMMARY

After upgrading Python on Arch Linux the Scripting submenu is missing alongside the installed plugins (like Krita Diffusion). This cannot be fixed by installing the usual missing packages anymore (poppler-qt5, ffmpeg, python-pyqt5 and libheif).

STEPS TO REPRODUCE
1. Update Python
2. Start Krita
3. Hover over "Extras / Scripts"
4. Nothing pops up

OBSERVED RESULT

No menu entries. No plugins available (for use).

EXPECTED RESULT

Menu items visible. Plugins working.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux / KDE Plasma 6.2.4
KDE Plasma Version: 6.2.4
Qt Version: QT 6

ADDITIONAL INFORMATION

The issue is a use of a deprecated package (cgitb) inside Krita.
See: https://docs.python.org/3/library/cgitb.html

Untested:

A fork of the module on PyPI can now be used instead: legacy-cgi. This is a copy of the cgi module, no longer maintained or supported by the core Python team.
Comment 1 Antonio Rojas 2024-12-27 10:56:55 UTC

*** This bug has been marked as a duplicate of bug 497859 ***