[ESS] trouble starting ESS
Main, Regan
rmain at rand.org
Fri Jul 30 21:56:45 CEST 2010
ps - I have ess-5.11 installed.
-----Original Message-----
From: Main, Regan
Sent: Friday, July 30, 2010 2:51 PM
To: 'Rodney Sparapani'; ess-help at stat.math.ethz.ch
Subject: RE: [ESS] trouble starting ESS
Thanks much for the prompt response, Rodney!
I am pasting the contents of the M-x ess-submit-bug-report command as
well as the contents of the *Backtrace* buffer after having submitting
'M-x SAS'.
I am working off of:
Linux 2.6.18-194.8.1.el5
SAS v9
Emacs 21.4
************************************************************************
********************;
M-x ess-submit-bug-report buffer
contents:***************************************************************
*****************************;
[ess-site.el]: ess-customize-alist=nil
[ess-site.el _2_]: ess-customize-alist=nil
(S): ess-s-versions-create making M-x defuns for
(R): ess-r-versions-create making M-x defuns for
(SAS): ess-dial=nil, temp-dial=SAS
(ess-SAS-pre-run-hook 1): ess-lang=Initial, ess-dialect=nil,
temp-dialect=SAS, buf=*scratch* (inferior-ess 0): ess-start-args=nil
ess-setq-vars-default 0: ess-language=Initial, -dialect=nil, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send
ess-setq-vars-default 1: ess-language=SAS, -dialect=SAS, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send (inf-ess 1):
lang=SAS, dialect=SAS, tmp-dialect=SAS, buf=*SAS.log* (inf-ess 1.1):
procname=SAS temp-dialect=SAS, buf-name=*SAS*
(inferior-ess) Method #3 start=/force/b/rmain/armyutil/pgms/ buf=*SAS*
(ess-setq-vars-LOCAL): language=SAS, dialect=SAS, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send (inf-ess 2.1):
ess-language=SAS, ess-dialect=SAS buf=*SAS* (inf-ess 2.2): start args =
nil, inf-ess-start-args= /dev/pts/8 /dev/pts/10 -stdio -linesize 80
-noovp -nosyntaxcheck (inf-ess finish [SAS(SAS),
/usr/share/emacs/site-lisp/ess-5.11/etc/ess-sas-sh-command(nil,nil)]
(ess-multi 0): inf-ess-start-args= /dev/pts/8 /dev/pts/10 -stdio
-linesize 80 -noovp -nosyntaxcheck, comint-..echoes=nil (i-ess 1):
buf=*SAS*, lang=SAS, comint..echo=nil,
comint..sender=comint-simple-send,
(i-ess 2): buf=*SAS*, lang=SAS, comint..echo=nil,
comint..sender=comint-simple-send,
(ess-setq-vars-LOCAL): language=SAS, dialect=SAS, buf=nil,
comint..echoes=nil, comint..sender=comint-simple-send (i-ess 3):
curr-buf=*SAS*, comint..echo=nil, comint..sender=comint-simple-send,
(ess-multi post inf-ess: start-args= /dev/pts/8 /dev/pts/10 -stdio
-linesize 80 -noovp -nosyntaxcheck, comint-echoes=nil (ess-multi 1):
start-args= /dev/pts/8 /dev/pts/10 -stdio -linesize 80 -noovp
-nosyntaxcheck Making Process...Buf *SAS*, Proc SAS, Prog
/usr/share/emacs/site-lisp/ess-5.11/etc/ess-sas-sh-command
Start File=nil, Args= /dev/pts/8 /dev/pts/10 -stdio -linesize 80
-noovp -nosyntaxcheck.
get-ess-process: process 'SAS' not running .. restart proc SAS for
language SAS (buf *SAS*)
..start-process-specific: lang:dialect= SAS:SAS, current-buf=*SAS*
Emacs : GNU Emacs 21.4.1 (x86_64-redhat-linux-gnu, X toolkit, Xaw3d
scroll bars) of 2007-12-10 on hs20-bc1-5.build.redhat.com
Package: ess-mode 5.11
current state:
==============
(setq
ess-language "SAS"
ess-dialect "SAS"
ess-ask-for-ess-directory t
ess-ask-about-transfile nil
ess-directory nil
ess-keep-dump-files "always"
ess-source-directory "/tmp/"
)
*********************************************;
************************************************************************
********************;
Backtrace buffer contents (after submitting 'M-x SAS':
************************************************************************
********************;
Debugger entered--Lisp error: (error "No ESS processes running; not yet
implemented to start (SAS,SAS)")
signal(error ("No ESS processes running; not yet implemented to start
(SAS,SAS)"))
error("No ESS processes running; not yet implemented to start (%s,%s)"
"SAS" "SAS")
(cond ((string= language "S") (if ... ... ... ...) (switch-to-buffer
cur-buf)) (t (error "No ESS processes running; not yet implemented to
start (%s,%s)" language dialect)))
(let ((cur-buf ...)) (ess-write-to-dribble-buffer (format "
..start-process-specific: lang:dialect= %s:%s, current-buf=%s\n"
language dialect cur-buf)) (cond (... ... ...) (t ...)))
ess-start-process-specific("SAS" "SAS")
(save-current-buffer (ess-write-to-dribble-buffer (format " .. restart
proc %s for language %s (buf %s)\n" name ess-language ...)) (message
"trying to (re)start process %s for language %s ..." name ess-language)
(ess-start-process-specific ess-language ess-dialect) (get-ess-process
name))
(if (= 0 (length ess-process-name-list)) (save-current-buffer
(ess-write-to-dribble-buffer ...) (message "trying to (re)start process
%s for language %s ..." name ess-language) (ess-start-process-specific
ess-language ess-dialect) (get-ess-process name)) (if try-another (let
... ... ...) (ding) (if ... ... ...)))
(if (assoc name ess-process-name-list) (get-process name)
(ess-write-to-dribble-buffer (format "get-ess-process: process '%s' not
running" name)) (if (= 0 ...) (save-current-buffer ... ... ... ...) (if
try-another ... ... ...)))
get-ess-process("SAS")
(let* ((cbuffer ...) (sprocess ...) (sbuffer ...) (r nil) (timeout 0))
(set-buffer sbuffer) (while (progn ...)) (goto-char (point-max))
(set-buffer cbuffer) (symbol-value r))
inferior-ess-wait-for-prompt()
(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) (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)
(set-process-filter (get-process proc-name) (quote
inferior-ess-output-filter)) (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) (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) (set-process-filter ...
...) (run-hooks ...)) (if (and 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 ... ... ...)))
ess-multi("SAS" #<buffer *SAS*> " -stdio -linesize 80 -noovp
-nosyntaxcheck")
(let ((ess-directory ...)) (ess-multi procname buf
inferior-ess-start-args))
(let* ((process-environment process-environment) (defdir ...)
(temp-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-local-variable ...)
(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()
(let* ((temp-dialect "SAS")) (ess-write-to-dribble-buffer (format
"(SAS): ess-dial=%s, temp-dial=%s\n" ess-dialect temp-dialect))
(ess-SAS-pre-run-hook temp-dialect) (inferior-ess) (save-excursion
(set-buffer "*SAS*") (use-local-map sas-mode-local-map)))
SAS()
call-interactively(SAS)
execute-extended-command(nil)
call-interactively(execute-extended-command)
*********************************************;
-----Original Message-----
From: ess-help-bounces at stat.math.ethz.ch
[mailto:ess-help-bounces at stat.math.ethz.ch] On Behalf Of Rodney
Sparapani
Sent: Friday, July 30, 2010 2:23 PM
To: ess-help at stat.math.ethz.ch
Subject: Re: [ESS] trouble starting ESS
On 07/30/10 02:09 PM, Main, Regan wrote:
> Hi--
>
> I am having difficulty getting ESS to run. When I start up Emacs,
> everything looks and works fine. Emacs recognizes the command 'M-x
> SAS', and ESS appears to start up correctly. It splits my screens and
> asks for my starting data directory. After I hit enter to accept the
> starting data directory, I get a warning in the command line which
> says--"No ESS processes running; not yet implemented to start
> (SAS,SAS)".
>
> It does go ahead and start up the *SAS* buffers as well as doing the
> syntax highlighting for SAS. Everything looks ok except the "No ESS
> processes running" message.
>
> Can anyone help me troubleshoot this?
>
> Thank you,
> -Regan Main
Hi Regan:
Can you send a bug report as described at
http://ess.r-project.org/Manual/ess.html#Reporting-Bugs
Please mention OS, emacs version, SAS version, etc.
Rodney
______________________________________________
ESS-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
__________________________________________________________________________
This email message is for the sole use of the intended r...{{dropped:6}}
More information about the ESS-help
mailing list