Bug 497937 - The "Extras / Scripts" submenu is not populated anymore (latest Python update)
Summary: The "Extras / Scripts" submenu is not populated anymore (latest Python update)
Status: RESOLVED DUPLICATE of bug 497859
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: 5.2.6
Platform: Arch Linux Other
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 10:38 UTC by me
Modified: 2024-12-27 10:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***