Bug 481275 - Can't open remote files in kate.
Summary: Can't open remote files in kate.
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-12 18:08 UTC by xraphael75
Modified: 2024-02-13 21:12 UTC (History)
2 users (show)

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


Attachments

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