Bug 503285 - Snap Kate 25.04.0 does not launch, missing library
Summary: Snap Kate 25.04.0 does not launch, missing library
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (other bugs)
Version First Reported In: unspecified
Platform: Snap Linux
: NOR crash
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 12:20 UTC by Mickou06
Modified: 2025-04-29 12:01 UTC (History)
2 users (show)

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 Mickou06 2025-04-24 12:20:03 UTC
SUMMARY
Kate does not launch anymore on Ubuntu 22.04.5 LTS after 25.04.0 update.

STEPS TO REPRODUCE
1. On Ubuntu 22.04.5 LTS, install kate snap using sudo snap install kate --classic
2. launch kate

OBSERVED RESULT
Systematic error:

$> kate
/snap/kate/201/usr/bin/kate: error while loading shared libraries: libpxbackend-1.0.so: cannot open shared object file: No such file or directory

EXPECTED RESULT
it works.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04.5 LTS
Comment 1 Mickou06 2025-04-25 06:24:15 UTC
Further information regarding my last findings:

This library not found error is thrown on my Ubuntu 22.04.5 LTS, with XDG_SESSION_TYPE=x11

This morning, I tested the same Kate on my home workstation Ubuntu and it's working:

$> lsb_release --all
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy

$> env| grep -i session
SESSION_MANAGER=local/vUbuntu2204:@/tmp/.ICE-unix/2099,unix/vUbuntu2204:/tmp/.ICE-unix/2099
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
DESKTOP_SESSION=ubuntu
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
XDG_SESSION_CLASS=user
GDMSESSION=ubuntu

$> snap info kate
name:      kate
summary:   KDE Advanced Text Editor
publisher: KDE✓
store-url: https://snapcraft.io/kate
contact:   https://bugs.kde.org/enter_bug.cgi?product=neon&component=Snaps
license:   GPL-2.0+
description: |
  Kate is a multi-document, multi-view text editor by KDE. It features stuff like codefolding,
  syntaxhighlighting, dynamic word wrap, an embedded console, an extensive plugin interface and some
  preliminary scripting support.
  
  Features:
  
  - MDI, window splitting, window tabbing
  - Spell checking
  - CR, CRLF, LF newline support
  - Encoding support (utf-8, utf-16, ascii etc.)
  - Encoding conversion
  - Regular expression based find & replace
  - Powerful syntax highlighting and bracket matching
  - Code and text folding
  - Infinite undo/redo support
  - Block selection mode
  - Auto indentation
  - Auto completion support
  - Shell integration
  - Wide protocol support (http, ftp, ssh, webdav etc.) using kioslaves
  - Plugin architecture for the application and editor component
  - Customizable shortcuts
  - Integrated command line
  - Scriptable using JavaScript
snap-id: AhMXNopXhzZ7XDMS9mZ2H2G40U3h3SkR
channels:
  latest/stable:    25.04.0 2025-04-17 (201) 687MB classic
  latest/candidate: 25.04.0 2025-04-13 (201) 687MB classic
  latest/beta:      ↑                              
  latest/edge:      24.08.1 2024-09-27 (188)   2GB classic
Comment 2 Bug Janitor Service 2025-04-28 12:20:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1773
Comment 3 Scarlett Moore 2025-04-28 12:23:08 UTC
https://invent.kde.org/utilities/kate/-/merge_requests/1773 fixes this
Comment 4 Scarlett Moore 2025-04-28 14:39:40 UTC
Git commit 6e234c97481b7bdc2cc70f2c28bc0f9533ad18bd by Scarlett Moore, on behalf of Scarlett Moore.
Committed on 28/04/2025 at 12:20.
Pushed by cullmann into branch 'release/25.04'.

snapcraft: Add libproxy to ld-library-path

NO_CHANGELOG

M  +1    -1    snapcraft.yaml

https://invent.kde.org/utilities/kate/-/commit/6e234c97481b7bdc2cc70f2c28bc0f9533ad18bd
Comment 5 Scarlett Moore 2025-04-29 10:33:32 UTC
Fix uploaded to --stable
Comment 6 Mickou06 2025-04-29 11:58:07 UTC
Latest kate still down:
$> sudo snap list
Name                       Version           Rev    Tracking         Publisher   Notes
bare                       1.0               5      latest/stable    canonical✓  base
core20                     20250213          2501   latest/stable    canonical✓  base
core22                     20250315          1908   latest/stable    canonical✓  base
core24                     20250318          888    latest/stable    canonical✓  base
firefox                    137.0.2-1         6042   latest/stable/…  mozilla✓    -
gnome-42-2204              0+git.38ea591     202    latest/stable/…  canonical✓  -
gtk-common-themes          0.1-81-g442e511   1535   latest/stable/…  canonical✓  -
kate                       25.04.0           202    latest/stable    kde✓        classic
snap-store                 41.3-72-g80e7130  1216   latest/stable/…  canonical✓  -
snapd                      2.67.1            23771  latest/stable    canonical✓  snapd
snapd-desktop-integration  0.9               253    latest/stable/…  canonical✓  -

$> kate
/snap/kate/202/usr/bin/kate: error while loading shared libraries: libduktape.so.207: cannot open shared object file: No such file or directory
Comment 7 Mickou06 2025-04-29 12:01:01 UTC
While kate on wayland was working, and kate on x11 wasn't, I just update my kate snap, and now on Wayland it's not working anymore.
Not able to test on x11, my workstation isn't yet accessible...