question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Helix editor causes Marksman to get stuck

See original GitHub issue

as Title , lsp take error when change file .

2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "Unhandled exception: System.AggregateException: One or more errors occurred. (MailboxProcessor.PostAndAsyncReply timeout。)\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- " ---> System.TimeoutException: MailboxProcessor.PostAndAsyncReply timeout。\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at <StartupCode$FSharp-Core>.$Mailbox.PostAndAsyncReply@471-1.Invoke(FSharpOption`1 res) in D:\\a\\_work\\1\\s\\src\\FSharp.Core\\mailbox.fs:line 472\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\\a\\_work\\1\\s\\src\\FSharp.Core\\async.fs:line 525\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\\a\\_work\\1\\s\\src\\FSharp.Core\\async.fs:line 112\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   --- End of inner exception stack trace ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at Ionide.LanguageServerProtocol.Server.startWithSetup[client](FSharpFunc`2 setupRequestHandlings, Stream input, Stream output, FSharpFunc`2 clientCreator) in /Users/runner/work/marksman/marksman/LanguageServerProtocol/LanguageServerProtocol.fs:line 170\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at Marksman.Program.startLSP(Int32 verbosity, Boolean waitForDebugger) in /Users/runner/work/marksman/marksman/Marksman/Program.fs:line 58\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at Marksman.Program.lspCommand@82.Invoke(Tuple`2 tupledArg)\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at FSharp.SystemCommandLine.CommandBuilders.SetHandlerInt@207-2.Invoke(InvocationContext ctx)\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext )\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "--- End of stack trace from previous location ---\n"
2022-08-18T19:34:09.381 helix_lsp::transport [ERROR] err <- "   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()\n"
2022-08-18T19:34:09.394 helix_lsp::transport [ERROR] err: <- StreamClosed
2022-08-18T19:34:09.394 helix_lsp::transport [ERROR] err: <- StreamClosed
2022-08-18T19:34:11.320 helix_lsp::transport [ERROR] err: <- IO(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })
2022-08-18T19:34:11.320 helix_lsp::transport [ERROR] err: <- IO(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })
2022-08-18T19:34:11.882 helix_lsp::transport [ERROR] err <- "[19:34:11 INF] <LSP Entry> Starting Marksman LSP server: {}\n"

os: macos 12.5
termial: alacritty
editor: helix
marksman: 1.0.0

lsp config: ~/.config/helix/languages.toml

[[language]]
name = "markdown"
indent = { tab-width = 4, unit = "    " }
file-types = ["md", "markdown"]
roots = [".git"]
language-server = { command = "marksman", args=["server"], language-id = "markdown" }

hx -vvv take log ~/.cache/helix/helix.log

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
erasincommented, Aug 20, 2022

thanks ,It’s work.

0reactions
artempyanykhcommented, Aug 19, 2022

@erasin please try this release https://github.com/artempyanykh/marksman/releases/tag/2022-08-19 and let me know if it fixes things for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Menu can get stuck on screen #5962 - helix-editor/helix
I noticed this while editing, and may have run into a race condition that caused me to notice it. These are the steps,...
Read more >
Cursor not moving : r/HelixEditor
I had recently installed helix text editor and cursor does not moving at insert mode.
Read more >
Helix & marksman! (why I don't use Obsidian) - YouTube
0:00 marksman 2:57 notetaking system I forgot a critical element of the note taking system, this function I added to my .zshrc.
Read more >
HX Edit Freezes during firmware update to 3.01 - Helix
HX Edit is stuck on the Update Device screen and is stuck with the phrase at the bottom saying "initializing firmware installation...".
Read more >
Helix: Post-Modern Text Editor
I've switched to helix, from neovim and I can say that I like the commands much more. It feels like they took vim...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found