Skip to content

[WINDOWS] failed to initialize LSP server: server did not provide SemanticTokensProvider #136

@skarone

Description

@skarone

I installed on windows 11 with python 3.14.

I provide the steps:

Install scoop

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Install mingw

scoop install mingw

Install abcoder

go env -w CGO_ENABLED=1
go install github.com/cloudwego/abcoder@latest

After installing I run it:

abcoder parse python ../rojo -o rojo_abcoder.json -verbose
[ERROR]14:46:39 lib.go:70: Installing pylsp... Now running git clone -b abc https://github.com/Hoblovski/python-lsp-server.git pylsp
[ERROR]14:46:39 lib.go:72: git clone failed: exit status 128
[INFO]14:46:40 parse.go:138: open file '' and wait for 5 seconds for initialize workspace
[INFO]14:46:40 parse.go:81: start initialize LSP server pylsp...
[ERROR]14:46:40 parse.go:91: failed to initialize LSP server: Failed to start LSP server: exec: "pylsp": executable file not found in %PATH%
[ERROR]14:46:40 main.go:142: Failed to parse: Failed to start LSP server: exec: "pylsp": executable file not found in %PATH%

Install pylsp by hand

 pip install python-lsp-server[all]

Second Run:

abcoder parse python ../rojo -o rojo_abcoder.json -verbose
[ERROR]14:36:18 parse.go:91: failed to initialize LSP server: server did not provide SemanticTokensProvider
[ERROR]14:36:18 main.go:142: Failed to parse: server did not provide SemanticTokensProvider

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions