REditorSupport / REditorSupport/languageserver

languageserver::run() results in Error: stdin connection close on Windoes 10

Open
#325 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

languageserver::run() results in Error: stdin connection close on my Windows 10 machine

  • Rtools has been installed
  • The path to R (.../bin/x64) has been added as an environment variable
  • Rtools has also been added to the environment variables

Any idea whatelse I could try?

The background is that I want to use the rlang server with LSP on Sublimetext.

Thank you for the help,
kind regards
Jana

The full error message in R reads:

[2020-08-22 13:27:30.597] Error: stdin connection close                                  
Call: stdin_read_line()                                                                  
Stack trace:                                                                             
1: stdin_read_line()                                                                     
2: self$read_line()                                                                      
3: self$read_header()                                                                    
4: self$fetch(blocking = FALSE)                                                          
[2020-08-22 13:27:30.618] exiting

Session Info
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=German_Switzerland.1252 LC_CTYPE=German_Switzerland.1252
[3] LC_MONETARY=German_Switzerland.1252 LC_NUMERIC=C
[5] LC_TIME=German_Switzerland.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.6.3 R6_2.4.1 parallel_3.6.3
[4] tools_3.6.3 collections_0.3.5 xml2_1.3.2
[7] languageserver_0.3.6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing languageserver::run() on Windows 10 with R 3.6.3 and languageserver 0.3.6, then trace the stdin_read_line(), self$read_line(), and self$read_header() calls shown in the stack trace. Done means identifying the cause of the stdin connection close and documenting or fixing the Windows setup or server behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.