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

Error running LSP server: Failed to convert path #7333

Open
yordy66 opened this issue Jan 11, 2025 · 2 comments
Open

Error running LSP server: Failed to convert path #7333

yordy66 opened this issue Jan 11, 2025 · 2 comments
Labels
a:lsp slint-lsp and formating (mO,bT) bug Something isn't working needs info Further information from the reporter is requested

Comments

@yordy66
Copy link

yordy66 commented Jan 11, 2025

Bug Description

Error running LSP server: Failed to convert path
[Info - 7:10:06 AM] Connection to server got closed. Server will restart.
true

Reproducible Code (if applicable)

No response

Environment Details

  • Slint Version:1.9.1
  • Platform/OS:Linux
  • Programming Language:Python in VS code - Remote Explorer
  • Backend/Renderer:

Product Impact

The Slint server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

@yordy66 yordy66 added bug Something isn't working need triaging Issue that the owner of the area still need to triage labels Jan 11, 2025
@ogoffart ogoffart added needs info Further information from the reporter is requested a:lsp slint-lsp and formating (mO,bT) and removed need triaging Issue that the owner of the area still need to triage labels Jan 11, 2025
@ogoffart
Copy link
Member

Thanks for filing an issue,

This error is emitted by when the path of a file cannot be converted in

let path = uri_to_file(url).ok_or("Failed to convert path")?;

Remote Explorer

Could you extend on what that is exactly. It is likely that this "Remote Explorer" gives the Slint LSP a path that it doesn't understand.
I'm not familiar with the Remote Explorer or what kind of path they give to the LSP

@ogoffart ogoffart changed the title Slint Language Server Crashed Error running LSP server: Failed to convert path Jan 11, 2025
@yordy66
Copy link
Author

yordy66 commented Jan 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:lsp slint-lsp and formating (mO,bT) bug Something isn't working needs info Further information from the reporter is requested
Projects
None yet
Development

No branches or pull requests

2 participants