Skip to content

Error while linting: TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file #1370

@alexdelorenzo

Description

@alexdelorenzo

Code editor

Kate

Platform

Linux

Version

5.2.0

What steps will reproduce the bug?

The WebDAV kio plugin on KDE Plasma mounts shares using this scheme:

/run/user/1000/kio-fuse-SDvfs/webdavs/user%40example.com@webdavserver.com/dav/file/user@example.com/files

It's ugly, but it's automatic and the user doesn't control it.

When I open a Bash script mounted in WebDAV and then go to save it, I get this error:

ERROR ⛔️ Error while linting: TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file

Which triggers a script checking loop with that message over and over again while the file is re-saved in a loop.

How often does it reproduce? Is there a required condition?

Every time upon saving

What is the expected behavior?

I should be able to open and save files with paths that exist on my system without an error

What do you see instead?

An error loop. The error itself comes from the LSP server, but the loop might be an editor/kio/FUSE/etc thing.

Additional information

Thanks for your work on this LSP, I use it often :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions