[ESS] Process SAS is not running
rsparapa at mcw.edu
Tue Nov 8 17:03:05 CET 2005
Cameron Hooper wrote:
>Today when I attempted to start up an interactive SAS session using ESS
>(M-SAS) I received a "Process SAS is not running error". I've been
>using ESS and SAS daily for months without trouble so something must
>have changed at my site to break things. I need some help to find out
>what is going wrong.
>Poking around I noticed the location of the SAS executable has moved. I
>updated the soft link in ~/bin (rehash) and tried to start SAS at the
>command line. This failed as it is trying to open the DMS. This isn't
>the way SAS normally behaves, is it? I called the exectutable directly
>not via a shell script. Typing:
>Produces the "nonsense" output that indicates the file is a executable.
>The only way I could get SAS to run (without starting X) was to add the
>I tried replacing the soft link with a simple shell script in ~/bin:
># Simple script
>I'm at a loss.
Ok, I'm trying to debug this. One thing that I do to see if it's a SAS
or an ESS problem is run M-x ess-sas-interactive
This is a minimal environment that should always work; if it doesn't,
most likely a SAS problem. So, that works here for both v. 8 and 9.
I'm getting the following from M-x SAS:
Signaling: (wrong-type-argument markerp nil)
comint-output-filter(#<process "shell<2>" pid 9843 state:run> "$ ")
raw-append-progress-feedback("Fontifying *shell*..." 0 #<x-frame
append-progress-feedback(font-lock "Fontifying *shell*..." 0 nil)
display-progress-feedback(font-lock "Fontifying *shell*..." 0)
progress-feedback-with-label(font-lock "Fontifying %s..." 0 "*shell*")
font-lock-default-unfontify-region(1 19 t)
font-lock-unfontify-region(1 19 t)
ess-mode(((ess-local-customize-alist quote SAS-customize-alist)
(ess-language . "SAS") (ess-dialect . "SAS") (ess-mode-editing-alist .
SAS-editing-alist) (ess-mode-syntax-table . SAS-syntax-table)
(inferior-ess-program . inferior-SAS-program-name) (ess-help-sec-regex .
"^[A-Z. ---]+:$") (ess-help-sec-keys-alist . " ")
(ess-object-name-db-file . "ess-sas-namedb.el")
(inferior-ess-objects-command . "objects(%d)")
(inferior-ess-help-command . "help(\"%s\",pager=\"cat\",window=F)\n")
(inferior-ess-exit-command . "endsas;\n") (ess-loop-timeout . 500000)
(inferior-ess-primary-prompt . "^") (inferior-ess-secondary-prompt .
"^") (comint-use-prompt-regexp-instead-of-fields . t)
(inferior-ess-start-file) (inferior-ess-start-args .
inferior-SAS-args-temp) (ess-local-process-name)) nil)
#<compiled-function nil "...(31)" [sas-mode-local-map ess-dialect
SAS-customize-alist temp-dialect set-default ess-customize-alist "SAS"
ess-write-to-dribble-buffer format "(SAS): ess-dial=%s, temp-dial=%s\n"
ess-SAS-pre-run-hook inferior-ess "*SAS*" use-local-map] 5
("/usr/local/lib/xemacs/xemacs-packages/lisp/ess/essd-sas.elc" . 4548)
More information about the ESS-help