syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.57k stars 4.9k forks source link

ESS repl does not work. #9015

Closed vv111y closed 6 years ago

vv111y commented 7 years ago

Description :octocat:

ESS REPL will not work.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: error in process filter: inferior-ess-output-filter: Wrong type argument: markerp, nil error in process filter: Wrong type argument: markerp, nil

Also,

ess-process-put: Wrong type argument: stringp, nil

Expected behaviour: :heart: :smile: Running REPL

System Info :computer:

Backtrace :paw_prints:

Debugger entered--Lisp error: (wrong-type-argument markerp nil)
  comint-output-filter(#<process R:3> "\nR version 3.3.1 (2016-06-21) -- \"Bug in Your Hair\"\nCopyright (C) 2016 The R Foundation for Statistical Computing\nPlatform: x86_64-apple-darwin13.4.0 (64-bit)\n\n")
  inferior-ess-output-filter(#<process R:3> "\nR version 3.3.1 (2016-06-21) -- \"Bug in Your Hair\"\nCopyright (C) 2016 The R Foundation for Statistical Computing\nPlatform: x86_64-apple-darwin13.4.0 (64-bit)\n\n")
  accept-process-output(#<process R:3> 0.01)
  ess-wait-for-process(#<process R:3> nil 0.01)
  inferior-ess("--no-readline  " ((inferior-ess-reload-function quote inferior-ess-reload:R) (ess-quit-function quote ess-quit:R) (ess-send-region-function quote ess-send-region:R) (ess-load-file-function quote ess-load-file:R) (ess-build-load-command-function quote ess-build-load-command:R) (ess-build-eval-command-function quote ess-build-eval-command:R) (ess-local-customize-alist quote ess-r-customize-alist) (ess
vv111y commented 7 years ago

Referring to my previous #8866 . The hack solution that did work is no longer working.

vv111y commented 7 years ago

From ESS buffer

(R): ess-dialect=nil, buf=.spacemacs, start-arg=nil
 current-prefix-arg=nil
(inf-ess 1): lang=nil, dialect=nil, tmp-dialect=R, buf=.spacemacs
(inf-ess 1.1): procname=R:5 temp-dialect=R, buf-name=*R:5* 
(inf-ess 2.0) Method #3 start=/Users/Will/ buf=~<2>
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
(inf-ess 2.1): ess-language=S, ess-dialect=R buf=~<2> 
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=inferior-ess-input-sender
(i-ess 1): buf=~<2>, lang=S, comint..echo=t, comint..sender=inferior-ess-input-sender,
(i-ess end): buf=~<2>, lang=S, comint..echo=t, comint..sender=inferior-ess-input-sender,
(inf-ess 3.0): prog=R, start-args=--no-readline  , echoes=t
Making Process...Buf *R:5*, :Proc R:5, :Prog R
 :Args= --no-readline  
Start File=nil
(inferior-ess: waiting for process to start (before hook)
vv111y commented 7 years ago

ess-request-a-process works, starts a new process

(R): inferior-ess-language-start=options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
  ... request-a-process: buf=jun5-17
vv111y commented 6 years ago

setting ess-ask-about-transfile nil fixes problem. I want that option available, but this looks like I should report upstream.

jia-j-chen commented 1 year ago

This issue happens to me today.