Bug 481275

Summary: Can't open remote files in kate.
Product: [KDE Neon] neon Reporter: xraphael75
Component: SnapsAssignee: Scarlett Moore <sgmoore>
Status: REPORTED ---    
Severity: normal CC: christoph, neon-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description xraphael75 2024-02-12 18:08:01 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Can't open remote files in kate.

STEPS TO REPRODUCE
1. Attempt to open file in kate from dolphin that is using sftp://user.name@server/path/to/file.txt

OBSERVED RESULT
Receive 2 errors in kate: 
"Unable to create KIO worker. Can not find a KIO worker for protocol "tags"."
"Unable to create KIO worker. Can not find a KIO worker for protocol "sftp"."

EXPECTED RESULT
The file to open in kate for editing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
I never had an issue with opening remote files through sftp in kate like this until today. I'm not sure what has changed.
Comment 1 xraphael75 2024-02-12 18:53:10 UTC
UPDATE 

I discovered that I had 2 instances of Kate installed, one through apt, and one through snap. The snap one apparently is the one that was opening when I tried to open these files from dolphin. I uninstalled the snap one and reinstalled the apt one to make sure I had the latest version, and the error went away.

Is there a known bug with the snap version and sftp, or is it possible something wasn't configured correctly with the snap one, or maybe the 2 versions were conflicting with each other somehow?
Comment 2 Christoph Cullmann 2024-02-13 21:11:45 UTC
I think the snap package has issues.