[ESS] wrong type argument: processp nil

Wiener, Matthew matthew_wiener at merck.com
Fri May 20 18:23:16 CEST 2005


Can't get a shell, either.  Here's the backtrace:

Signaling: (wrong-type-argument processp nil)
  process-command(nil)
  shell-mode()
  shell()
  call-interactively(shell)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

-----Original Message-----
From: A.J. Rossini [mailto:blindglobe at gmail.com] 
Sent: Friday, May 20, 2005 12:18 PM
To: Wiener, Matthew
Cc: ESS-help at stat.math.ethz.ch
Subject: Re: [ESS] wrong type argument: processp nil


This is weird.  I'm almost guessing that something on your system has
changed, for example, shell settings or paths (LD_LIBRARY_PATH?) or
something.

Could you try:

M-x shell

and see if R runs in the inferior shell?  

best,
-tony

On 5/20/05, Wiener, Matthew <matthew_wiener at merck.com> wrote:
> Stephen & Tony -- thanks for the instructions.  (By the way, I'm not
> assuming this is a bug in ESS -- I think it's more likely something got
> moved or changed on my system.  I'm just not sure what!)
> 
> Here's the backtrace.
> 
> Signaling: (wrong-type-argument processp nil)
>   set-process-sentinel(nil ess-process-sentinel)
>   (let* ((symbol-string ...) (switches-symbol ...) (switches ...)
> (buf-name-str ...)) (ess-write-to-dribble-buffer (format "(ess-multi 0):
> inf-ess-start-args=%s, comint-..echoes=%s\n" inf-ess-start-args
> comint-process-echoes)) (set-buffer buffer) (setq-default
> inferior-ess-prompt (concat "\\(" inferior-ess-primary-prompt "\\|"
> inferior-ess-secondary-prompt "\\)")) (inferior-ess-mode)
> (ess-write-to-dribble-buffer (format "(ess-multi post inf-ess:
> start-args=%s, comint-echoes=%s\n" inf-ess-start-args
> comint-process-echoes)) (setq ess-local-process-name proc-name) (goto-char
> (point-max)) (setq comint-input-ring-file-name (expand-file-name
> ess-history-file ess-directory)) (comint-read-input-ring)
> (ess-write-to-dribble-buffer (format "(ess-multi 1):  start-args=%s \n"
> inf-ess-start-args)) (set-buffer (if switches ... ...))
> (set-process-sentinel (get-process proc-name) (quote
ess-process-sentinel))
> (let (...) (if conselt nil ...)) (ess-make-buffer-current)
> (inferior-ess-wait-for-prompt) (goto-char (point-max)) (setq
> ess-sl-modtime-alist nil) (setq ess-sp-change t) (run-hooks (quote
> ess-post-run-hook)))
>   (if (and proc (comint-check-proc ...)) (pop-to-buffer (process-buffer
> proc)) (let* (... ... ... ...) (ess-write-to-dribble-buffer ...)
(set-buffer
> buffer) (setq-default inferior-ess-prompt ...) (inferior-ess-mode)
> (ess-write-to-dribble-buffer ...) (setq ess-local-process-name proc-name)
> (goto-char ...) (setq comint-input-ring-file-name ...)
> (comint-read-input-ring) (ess-write-to-dribble-buffer ...) (set-buffer
...)
> (set-process-sentinel ... ...) (let ... ...) (ess-make-buffer-current)
> (inferior-ess-wait-for-prompt) (goto-char ...) (setq ess-sl-modtime-alist
> nil) (setq ess-sp-change t) (run-hooks ...)) (if inferior-ess-same-window
> (switch-to-buffer ...) (pop-to-buffer ...)))
>   (let* ((proc-name name) (special-display-regexps nil)
> (special-display-frame-alist inferior-ess-frame-alist) (proc ...)) (if
> inferior-ess-own-frame (setq special-display-regexps ...)) (if (and proc
> ...) (pop-to-buffer ...) (let* ... ... ... ... ... ... ... ... ... ... ...
> ... ... ... ... ... ... ... ... ...) (if inferior-ess-same-window ...
...)))
>   ess-multi("R" #<buffer *R*> "--no-readline ")
>   (let ((ess-directory ...)) (ess-multi procname buf
> inferior-ess-start-args))
>   (let* ((process-environment process-environment) (defdir ...)
> (temp-dialect temp-ess-dialect) (temp-lang temp-ess-lang) (procname ...)
> (startdir nil) (buf nil) (buf-name-str ...)) (ess-write-to-dribble-buffer
> (format "(inf-ess 1.1): procname=%s temp-dialect=%s, buf-name=%s \n"
> procname temp-dialect buf-name-str)) (cond (... ... ... ...) (... ... ...)
> (... ... ... ...)) (set-buffer buf) (ess-setq-vars-local
> ess-customize-alist) (if ess-start-args (setq inferior-ess-start-args
> ess-start-args)) (ess-write-to-dribble-buffer (format "(inf-ess 2.1):
> ess-language=%s, ess-dialect=%s buf=%s \n" ess-language ess-dialect ...))
> (ess-write-to-dribble-buffer (format "(inf-ess 2.2): start args = %s,
> inf-ess-start-args=%s \n" ess-start-args inferior-ess-start-args))
> (ess-write-to-dribble-buffer (format "(inf-ess finish [%s(%s),
%s(%s,%s)]\n"
> ess-language ess-dialect inferior-ess-program ess-current-process-name
> ess-local-process-name)) (if startdir (setq default-directory startdir))
> (setq-default ess-history-file (concat "." ess-dialect "history")) (let
> (...) (ess-multi procname buf inferior-ess-start-args)))
>   (let ((temp-ess-dialect ...) (temp-ess-lang ...)) (save-excursion
> (set-buffer ess-dribble-buffer) (make-variable-buffer-local ...)
> (ess-setq-vars-default ess-customize-alist) (setq-default
> comint-use-prompt-regexp-instead-of-fields nil)) (run-hooks (quote
> ess-pre-run-hook)) (ess-write-to-dribble-buffer (format "(inf-ess 1):
> lang=%s, dialect=%s, tmp-dialect=%s, buf=%s\n" ess-language ess-dialect
> temp-ess-dialect ...)) (let* (... ... ... ... ... ... ... ...)
> (ess-write-to-dribble-buffer ...) (cond ... ... ...) (set-buffer buf)
> (ess-setq-vars-local ess-customize-alist) (if ess-start-args ...)
> (ess-write-to-dribble-buffer ...) (ess-write-to-dribble-buffer ...)
> (ess-write-to-dribble-buffer ...) (if startdir ...) (setq-default
> ess-history-file ...) (let ... ...)))
>   inferior-ess("--no-readline ")
>   (let* ((r-always-arg ...) (r-start-args ...)
> default-process-coding-system) (if ess-microsoft-p (setq
> default-process-coding-system ...)) (inferior-ess r-start-args)
> (ess-write-to-dribble-buffer (format "(R):
inferior-ess-language-start=%s\n"
> inferior-ess-language-start)) (if inferior-ess-language-start
> (ess-eval-linewise inferior-ess-language-start)))
>   R(nil)
>   call-interactively(R)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)
> 
> 
> 
> -----Original Message-----
> From: Stephen Eglen [mailto:S.J.Eglen at damtp.cam.ac.uk]
> Sent: Friday, May 20, 2005 6:04 AM
> To: Wiener, Matthew
> Cc: 'A.J. Rossini'; ESS-help at stat.math.ethz.ch
> Subject: RE: [ESS] wrong type argument: processp nil
> 
> 
> 
>  > It's emacs 20.7.1, which I'm pretty sure is the same version as before.
>  >
>  > I don't get a backtrace buffer with either the single or double hyphen
>  > version of debug-init.
>  >
>  > I did forget to mention that either way I do get to specify a starting
> data
>  > directory.
> 
> hi Matthew,
> 
> first off, 20.7 may be getting a little old, but since our
> "requirements" page lists 20.7, we should try to fix this if we can,
> but not at the expense of newer versions.
> 
> Can you follow the advice in the help manual (below).  esp the bit
> about setting debug-on-error to t
> 
> 
> 
> Thanks, Stephen.
> 
> ----------------------------------------------------------------------
> Reporting Bugs
> ==============
> 
>    Please send bug reports, suggestions etc. to
> 
>    <ESS-bugs at stat.math.ethz.ch>
> 
>    The easiest way to do this is within Emacs by typing
> 
>    `M-x ess-submit-bug-report'
> 
>    This also gives the maintainers valuable information about your
> installation which may help us to identify or even fix the bug.
> 
>    If Emacs reports an error, backtraces can help us debug the problem.
> Type "M-x set-variable RET debug-on-error RET t RET".  Then run the
> command that causes the error and you should see a *Backtrace* buffer
> containing debug information; send us that buffer.
> 
>    Note that comments, suggestions, words of praise and large cash
> donations are also more than welcome.
> 
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
> 


-- 
best,
-tony

"Commit early,commit often, and commit in a repository from which we can
easily
roll-back your mistakes" (AJR, 4Jan05).

A.J. Rossini
blindglobe at gmail.com




More information about the ESS-help mailing list