[ESS-bugs] ess-mode 5.2.1 - (executable-find "acroread") is void

john.gavin at ubs.com john.gavin at ubs.com
Tue Jun 29 10:23:28 CEST 2004


Hi,

I just tried to upgrade from 5.2.0 to 5.2.1 but encountered a bug
at startup which I hope is straightforward to correct.

Using the option '-debug-init' at startup
and manually editing my .init.el file, 
I have isolated the problem to the line (in init.el)

(load "C:/Program Files/XEmacs/xemacs-packages/lisp/ess/lisp/ess-site.el")

With just this line on its own in my init.el file I 
get the following error message:

Signaling: (void-function executable-find)
  (executable-find "acroread")
  (setq ess-tmp-file (executable-find "acroread"))
  (let ((ess-tmp-alist nil) (ess-tmp-file nil)) (setq ess-tmp-file (executable-find "acroread")) (if ess-tmp-file (setq ess-tmp-alist ...)) (setq ess-tmp-file (executable-find "gv")) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if ess-tmp-file (if ess-tmp-alist ... ...)))
  eval((let ((ess-tmp-alist nil) (ess-tmp-file nil)) (setq ess-tmp-file (executable-find "acroread")) (if ess-tmp-file (setq ess-tmp-alist ...)) (setq ess-tmp-file (executable-find "gv")) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if ess-tmp-file (if ess-tmp-alist ... ...))))
  custom-initialize-reset(ess-sas-graph-view-viewer-alist (let ((ess-tmp-alist nil) (ess-tmp-file nil)) (setq ess-tmp-file (executable-find "acroread")) (if ess-tmp-file (setq ess-tmp-alist ...)) (setq ess-tmp-file (executable-find "gv")) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if ess-tmp-file (if ess-tmp-alist ... ...))))
  custom-declare-variable(ess-sas-graph-view-viewer-alist (let ((ess-tmp-alist nil) (ess-tmp-file nil)) (setq ess-tmp-file (executable-find "acroread")) (if ess-tmp-file (setq ess-tmp-alist ...)) (setq ess-tmp-file (executable-find "gv")) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if (not ess-tmp-file) (setq ess-tmp-file ...)) (if ess-tmp-file (if ess-tmp-alist ... ...))) "*Associate file name extensions with graphics image file viewers." :group ess-sas :type string)
  (defcustom ess-sas-graph-view-viewer-alist (let (... ...) (setq ess-tmp-file ...) (if ess-tmp-file ...) (setq ess-tmp-file ...) (if ... ...) (if ... ...) (if ess-tmp-file ...)) "*Associate file name extensions with graphics image file viewers." :group (quote ess-sas) :type (quote string))
  load-internal("essa-sas" nil t nil undecided)
  load("essa-sas" nil t nil)
  require(essa-sas)
  load-internal("essl-sas" nil t nil undecided)
  load("essl-sas" nil t nil)
  require(essl-sas)
  load-internal("essd-sas" nil t nil undecided)
  load("essd-sas" nil t nil)
  require(essd-sas)
  load-internal("C:/Program Files/XEmacs/xemacs-packages/lisp/ess/lisp/ess-site.el" nil nil nil undecided)
  load("C:/Program Files/XEmacs/xemacs-packages/lisp/ess/lisp/ess-site.el")
  load-internal("p:\\.xemacs\\init.el" t t t undecided)
  load("p:\\.xemacs\\init.el" t t t)
  load-user-init-file()
  load-init-file()
  command-line()
  normal-top-level()

This error appears to be linked to SAS, which I dont use 
(I use SPlus 6.2 and R 1.9.1).

The error also suggests that XEmacs is looking for 'acroread', 
which I dont have.
(Assuming that 'acroread' is referring to Acrobat Reader)
I have Acrobat 5.0, which includes acrobat.exe, acroRd32.exe,
acrodist.exe and acrotray.exe, if that helps.

Details about my setup are included below,
apart from being on Windows XP.

Regards,

John.

John Gavin <john.gavin at ubs.com>,
Quantitative Risk Models and Statistics,
UBS Investment Bank, 6th floor, 
100 Liverpool St., London EC2M 2RH, UK.
Phone +44 (0) 207 567 4289
Fax   +44 (0) 207 568 5352


Emacs  : XEmacs 21.4 (patch 6) "Common Lisp (Windows)" [Lucid] (i586-pc-win32) of Mon Dec 17 2001 on TSUNAMI
Package: ess-mode 5.2.1

current state:
==============
(setq
 ess-language "S"
 ess-dialect "R"
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 ess-directory nil
 ess-keep-dump-files 'ask
 ess-source-directory "/tmp/"
 )
(n-i-m-l: 1)(n-i-m-l: 1)(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=5FitSev040629.Rnw 
(ess-mode-1.5): alist=((ess-local-customize-alist quote R-customize-alist) (ess-language . S) (ess-dialect . R) (ess-suffix . R) (ess-dump-filename-template replace-regexp-in-string S$ ess-suffix ess-dump-filename-template-proto) (ess-mode-editing-alist . S-editing-alist) (ess-mode-syntax-table . R-syntax-table) (ess-help-sec-regex . ess-help-R-sec-regex) (ess-help-sec-keys-alist . R-help-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout) (ess-object-name-db-file . ess-r-namedb.el) (ess-retr-lastvalue-command . assign(".Last.value", .ess.lvsave, envir=NULL)
) (ess-save-lastvalue-command . assign(".ess.lvsave",.Last.value,inherits=TRUE)
) (ess-imenu-mode-function quote ess-imenu-R) (inferior-ess-program . inferior-R-program-name) (inferior-ess-objects-command . objects(pos = %d)
) (inferior-ess-search-list-command . search()
) (inferior-ess-help-command . help("%s", htmlhelp=FALSE)
) (inferior-ess-exit-command . q()) (inferior-ess-exit-prompt . Save workspace image? [y/n/c]: ) (inferior-ess-primary-prompt . \([A-Z][][A-Za-z0-9.]*\)*> ) (inferior-ess-secondary-prompt . + ?) (comint-use-prompt-regexp-instead-of-fields . t) (inferior-ess-start-file) (inferior-ess-start-args . ) (ess-STERM . iESS) (ess-editor . R-editor) (ess-pager . R-pager) (inferior-ess-language-start eval inferior-S-language-start)) 
(ess-mode-1.6): editing-alist=((paragraph-start concat \s-*$\| page-delimiter) (paragraph-separate concat \s-*$\| page-delimiter) (paragraph-ignore-fill-prefix . t) (require-final-newline . t) (comment-start . #) (comment-start-skip . #+ *) (comment-column . 40) (indent-line-function quote S-indent-line) (parse-sexp-ignore-comments . t) (ess-set-style . ess-default-style) (ess-local-process-name) (ess-mode-syntax-table . S-syntax-table) (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[ 	
]*function) (font-lock-defaults quote (ess-mode-font-lock-keywords nil nil ((?\. . w))))) 
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=nil, comint..sender=comint-simple-send

Finished setting up ESS-mode.

Visit our website at http://www.ubs.com

This message contains confidential information and is intend...{{dropped}}




More information about the ESS-bugs mailing list