https://bugs.kde.org/show_bug.cgi?id=511382
Bug ID: 511382
Summary: Kate LSP client causes LSP server timeouts, needs
skip_token_initialization=True
Classification: Applications
Product: kate
Version First 25.08.2
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Please remove this comment after reading and before submitting - thanks!
***
SUMMARY
Since the upgrade to Plasma 6.5, My python LSP server complains about Kate LSP
client not using skip_token_initialization=True.
The bug results in Kate showing LSP errors in my code that aren't errors.
STEPS TO REPRODUCE
1. Upgrade Plasma to 6.5
2. Configure Kate to use LSP server for python:
Default server settings:
"python": {
"command": ["pylsp", "--check-parent-process"],
"url": "https://github.com/python-lsp/python-lsp-server",
"highlightingModeRegex": "^Python$"
},
3. Write python code
OBSERVED RESULT
Output tab:
[15:29:40  LSP Server Log] python@/home/martin
2025-10-30 15:29:40,423 CET - WARNING - pylsp.workspace - There was an error
while trying to initialize progress reporting.Likely progress reporting was
used in a synchronous LSP handler, which is not supported by progress reporting
yet. To prevent waiting for the timeout you can set
`skip_token_initialization=True`. Not every editor will show progress then, but
many will.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pylsp/workspace.py", line 261, in
_progress_begin
).result(timeout=1.0)
~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3.13/concurrent/futures/_base.py", line 458, in result
raise TimeoutError()
TimeoutError
[15:29:40  LSP Server Info] lint: mccabe
EXPECTED RESULT
A working LSP client that correctly checks my code for errors
SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.2
Kernel Version: 6.17.6-mve (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor: Intel® UHD Graphics
Manufacturer: Notebook
Product Name: N141CU
--
You are receiving this mail because:
You are watching all bug changes.