Bug 485446 - Krita snap crash on opening or creating a new file
Summary: Krita snap crash on opening or creating a new file
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.2.2
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 16:55 UTC by jose.mico
Modified: 2024-04-13 08:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jose.mico 2024-04-12 16:55:41 UTC
SUMMARY

Snap of Krita 5.2.2 version 104 (latest/stable) crashes when opening a file or creating a new one.

STEPS TO REPRODUCE
1. Open Krita.
2. Create a new file

OBSERVED RESULT

Krita window closes.

EXPECTED RESULT

SOFTWARE/OS VERSIONS

Krita 5.2.2 snap version 104 (latest/stable)
Ubuntu 24.04

ADDITIONAL INFORMATION

System log:

Apr 12 11:54:35 krita[8830]: Qt: Session management error: Could not open network socket
Apr 12 11:54:35 krita[8830]: Qt: Session management error: Could not open network socket
Apr 12 11:54:35 krita[8830]: Qt: Session management error: Could not open network socket
Apr 12 11:54:36 krita[8830]: Qt: Session management error: Could not open network socket
Apr 12 11:54:36 krita[8830]: Invalid profile :  "/snap/krita/104/usr/share/color/icc/colord/Crayons.icc"
Apr 12 11:54:36 krita[8830]: Invalid profile :  "/snap/krita/104/usr/share/color/icc/colord/x11-colors.icc"
Apr 12 11:54:37 krita[8830]: propsReply "An AppArmor policy prevents this sender from sending this message>
Apr 12 11:54:37 krita[8830]: nmReply "An AppArmor policy prevents this sender from sending this message to>
Apr 12 11:54:37 krita[8830]: "Object path cannot be empty"
Apr 12 11:54:37 krita[8830]: QObject::startTimer: Timers cannot have negative intervals
Apr 12 11:54:38 krita[8830]: krita.scripting: "Traceback (most recent call last):"
Apr 12 11:54:38 krita[8830]: krita.scripting: "  File \"/snap/krita/104/usr/lib/x86_64-linux-gnu/krita-pyt>
Apr 12 11:54:38 krita[8830]: krita.scripting: "    from .api import *"
Apr 12 11:54:38 krita[8830]: krita.scripting: "  File \"/snap/krita/104/usr/lib/x86_64-linux-gnu/krita-pyt>
Apr 12 11:54:38 krita[8830]: krita.scripting: "    from PyKrita.krita import *"
Apr 12 11:54:38 krita[8830]: krita.scripting: "ModuleNotFoundError: No module named 'PyQt5'"
Apr 12 11:54:38 krita[8830]: krita.scripting: "Could not import krita"

The actual error is "ModuleNotFoundError: No module named 'PyQt5'"
Comment 1 Tiar 2024-04-12 20:58:05 UTC
Hi, we don't build Krita's snap package, please make a report to the maintainers of the snap package. Seems like they don't include the PyQt package, maybe.