ionide / ionide/FsAutoComplete

Mac m1 Sonoma - FSautocomplete not working

Open
#1,185 7 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

### Version

0.66.1+b13b6e75bdf47112b55bebf6153ef1b618746cbf

### Dotnet Info

.NET SDK:
Version: 7.0.403
Commit: 142776d834

Runtime Environment:
OS Name: Mac OS X
OS Version: 14.0
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.403/

Host:
Version: 7.0.13
Architecture: arm64
Commit: 3f73a2f186

.NET SDKs installed:
7.0.403 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

### Steps to reproduce

dotnet tools install -g fsautocomplete
dotnet fsautocomplete --adaptive-lsp-server-enabled ( or dotnet fsautocomplete)

### Details

not working

### Logs

[15:50:21.166 ERR] [Startup] Start - LSP mode crashed
System.AggregateException: One or more errors occurred. (Header does not end with expected
character sequence: q)
---> StreamJsonRpc.BadRpcHeaderException: Header does not end with expected
character sequence: q
at StreamJsonRpc.HeaderDelimitedMessageHandler.ReadHeadersAsync(CancellationToken cancellationToken)
at StreamJsonRpc.HeaderDelimitedMessageHandler.ReadCoreAsync(CancellationToken cancellationToken)
at StreamJsonRpc.MessageHandlerBase.ReadAsync(CancellationToken cancellationToken)
at StreamJsonRpc.JsonRpc.ReadAndHandleRequestsAsync()
--- End of inner exception stack trace ---
at Ionide.LanguageServerProtocol.Server.startWithSetup[client](FSharpFunc`2 setupRequestHandlings, Stream input, Stream output, FSharpFunc`2 clientCreator, FSharpFunc`2 customizeRpc) in /_//src/LanguageServerProtocol.fs:line 183
at Ionide.LanguageServerProtocol.Server.start@286-2.Invoke(FSharpFunc`2 customizeRpc) in /_//src/LanguageServerProtocol.fs:line 286
at FsAutoComplete.Lsp.AdaptiveFSharpLspServerModule.startCore[a,a](a toolsPath, FSharpFunc`2 workspaceLoaderFactory, ISourceTextFactory sourceTextFactory) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 5093
at FsAutoComplete.Parser.lspFactory@154.Invoke(Unit unitVar0) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/Parser.fs:line 154
at FsAutoComplete.Lsp.AdaptiveFSharpLspServerModule.start(FSharpFunc`2 startCore) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs:line 5132

### Checklist

- [X] I have looked through existing issues to make sure that this bug has not been reported before
- [X] I have provided a descriptive title for this issue
- [X] I have made sure that that this bug is reproducible on the latest version of the package
- [X] I have provided all the information needed to reproduce this bug as efficiently as possible
- [ ] I or my company would be willing to contribute this fix

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.