cloudwego / cloudwego/abcoder

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

Open
#136 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
390
Forks
57
Avg merge
2d 21h
Merged PRs (30d)
1

Description

I installed on windows 11 with python 3.14.

I provide the steps:

## Install scoop
```Powershell
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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.