Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP support #29

Closed
KhazAkar opened this issue Apr 3, 2023 · 6 comments
Closed

LSP support #29

KhazAkar opened this issue Apr 3, 2023 · 6 comments

Comments

@KhazAkar
Copy link

KhazAkar commented Apr 3, 2023

Hi!
Currently, LSP is not working properly/at all when using Kate from flatpak version. Is it possible to get it somehow running?

@travier
Copy link
Member

travier commented Apr 4, 2023

We'll need more info, console logs, error messages, etc. to be able to debug that.

@KhazAkar
Copy link
Author

KhazAkar commented Apr 4, 2023

% flatpak run org.kde.kate                                                  23-04-04 - 9:39:59
Gtk-Message: 09:40:09.609: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:40:09.609: Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket
PluginXmlCheck()
Icon theme "elementary" not found.
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected" 
 "Not connected to D-Bus server"
Gtk-Message: 09:40:11.256: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:40:11.256: Failed to load module "canberra-gtk-module"
Qt: Session management error: networkIdsList argument is NULL
Traceback (most recent call last):
  File "/home/aaa/.local/bin/pylsp", line 5, in <module>
    from pylsp.__main__ import main
ModuleNotFoundError: No module named 'pylsp'
Traceback (most recent call last):
  File "/home/aaa/.local/bin/pylsp", line 5, in <module>
    from pylsp.__main__ import main
ModuleNotFoundError: No module named 'pylsp'

Should I enable something?
Additionally, Kate version put onto flatpak is quite stale - 20.12.3. Is there somewhere newer Kate flatpak version available?

@KhazAkar
Copy link
Author

KhazAkar commented Apr 4, 2023

I just seen that newer version is in this repo - but I have no idea how to install it... :/

@KhazAkar
Copy link
Author

KhazAkar commented Apr 4, 2023

Okay, I've managed to get it working after manually instaling kate from json in repo, and LSP is working. What else can be tested to have it promoted to official or be even published to beta.flathub.org?

@travier
Copy link
Member

travier commented Apr 4, 2023

You need to use the version of Kate from the Flathub Beta remote: https://discourse.flathub.org/t/how-to-use-flathub-beta/2111

@travier travier closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2023
@travier
Copy link
Member

travier commented Apr 4, 2023

I've created #31 to track that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants