Bug 498065

Summary: Okular (snap package) can't print documents to PDF
Product: [KDE Neon] neon Reporter: w7lrom2ku
Component: SnapsAssignee: Scarlett Moore <sgmoore>
Status: RESOLVED FIXED    
Severity: normal CC: sgmoore
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description w7lrom2ku 2024-12-30 20:55:12 UTC
SUMMARY
Can't print a document to pdf. Okular fails silently without any error dialog but prints this message in terminal:
"GPL Ghostscript 9.55.0: Can't find initialization file gs_init.ps."


STEPS TO REPRODUCE
1. Open any pdf file using okular.
2. Ctrl + P
3. Save somewhere (I saved on desktop)
4. PDF won't be created.

OBSERVED RESULT
PDF won't be created.

EXPECTED RESULT
"Print to PDF" should create the desired PDF file as expected.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Scarlett Moore 2025-01-01 13:55:06 UTC
Looking into this
Comment 2 Scarlett Moore 2025-01-01 14:32:19 UTC
please test --edge
Comment 3 w7lrom2ku 2025-01-01 20:36:17 UTC
Works fine in --edge
Thanks
Comment 4 Scarlett Moore 2025-01-03 13:40:33 UTC
Released to stable. Thanks