Bug 514279 - Kate LSP support sends "None" document variable to pylsp
Summary: Kate LSP support sends "None" document variable to pylsp
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.12.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-07 14:43 UTC by Tanguy Fardet
Modified: 2026-01-07 14:43 UTC (History)
0 users

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


Attachments
Error log from the LSP (5.06 KB, text/x-log)
2026-01-07 14:43 UTC, Tanguy Fardet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanguy Fardet 2026-01-07 14:43:04 UTC
Created attachment 188292 [details]
Error log from the LSP

Since the 25.12 update (I think), the LSP for python is broken as Kate does not provide the document.

Kate LSP config and versions:
* jedi 0.46.0
* python-lsp-server 1.14.0

```json
{
  "servers": {
      "python": {
      "command": ["pylsp", "--check-parent-process"],
      "highlightingModeRegex": "^Python$",
      "settings": {
        "pylsp": {
          "plugins": {
            "autopep8": {
                "enabled": false
            },
            "flake8": {
                "enabled": false
            },
            "mccabe": {
                "enabled": false
            },
            "pycodestyle": {
                "enabled": false
            },
            "pydocstyle": {
                "enabled": false
            },
            "pylint": {
                "enabled": false
            },
            "mypy": {
                "enabled": false
            }
          }
        }
      }
    }
  }
}
```

Error message attached.