[ESS-bugs] ess-mode 16.04 [git: ef7decb901710026a1dbce6c038c53eff7fd5b45]; error on entering R-mode
Sam Steingold
sds at gnu.org
Mon May 16 15:59:00 CEST 2016
when entering R-mode (and, more disturbingly, python mode too), I get
this error:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
directory-file-name(nil)
ess-r-package--find-package-path()
ess-r-package--local-package-info()
ess-r-package-get-info()
ess-r-package-set-namespaced-evaluation()
run-hooks(R-mode-hook)
R-mode()
set-auto-mode-0(R-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer scratch.R> "~/src/magnetic/research/conversion/scratch.R" nil nil "~/src/magnetic/research/conversion/scratch.R" (8915810 2050))
find-file-noselect("~/src/magnetic/research/conversion/scratch.R" nil nil t)
find-file("~/src/magnetic/research/conversion/scratch.R" t)
funcall-interactively(find-file "~/src/magnetic/research/conversion/scratch.R" t)
call-interactively(find-file nil nil)
command-execute(find-file)
my .emacs says:
(when (load (eval-when-compile
(expand-file-name "ESS/lisp/ess-site" site-lisp-dir)) t)
(custom-set-variables
'(ess-default-style 'DEFAULT)
'(ess-eldoc-show-on-symbol t)
'(ess-eval-visibly-p 'nowait)
'(ess-use-auto-complete t)
'(ess-use-tracebug t)
'(ess-ask-for-ess-directory nil)
'(ess-show-buffer-action
'((display-buffer-use-some-window display-buffer-pop-up-window)))
'(ess-offset-arguments 'prev-line)
'(ess-offset-arguments-newline 'prev-line)
'(inferior-R-args "--no-save"))
(setq-default ess-local-customize-alist ess-r-customize-alist)
(add-hook 'ess-post-run-hook 'ess-execute-screen-options))
-------------------------------------------------------
This bug report will be sent to the ESS bugs email list
Press C-c C-c when you are ready to send your message.
-------------------------------------------------------
[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
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=dpkwuse.R
(ess-mode-1.5): alist=((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-eldoc-function function ess-R-eldoc-function) (ess-dialect . R) (ess-suffix . R) (ess-ac-sources quote (ac-source-R)) (ess-company-backends quote ((company-R-args company-R-objects :sorted))) (ess-build-tags-command . rtags('%s', recursive = TRUE, pattern = '\\.[RrSs](rw)?$',ofile = '%s')) (ess-traceback-command . local({cat(geterrmessage(), "----------------------------------
", fill=TRUE);try(traceback(), silent=TRUE)})
) (ess-call-stack-command . traceback(1)
) (ess-build-eval-message-function function ess-r-build-eval-message) (ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix ess-dump-filename-template-proto) (ess-build-help-command-function function ess-r-build-help-command) (ess-help-web-search-command quote ess-R-sos) (ess-mode-syntax-table . R-syntax-table) (ess-mode-editing-alist . R-editing-alist) (ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex . ess-help-R-sec-regex) (ess-help-sec-keys-alist . ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout) (ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern . ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el) (ess-smart-operators . ess-R-smart-operators) (inferior-ess-program . inferior-R-program-name) (inferior-ess-objects-command . inferior-R-objects-command) (inferior-ess-font-lock-keywords quote inferior-R-font-lock-keywords) (inferior-ess-search-list-command . search()
) (inferior-ess-help-command . inferior-ess-r-help-command) (inferior-ess-help-filetype) (inferior-ess-exit-command . q()) (inferior-ess-exit-prompt . Save workspace image? [y/n/c]: ) (inferior-ess-start-file) (inferior-ess-start-args . ) (ess-error-regexp-alist . ess-R-error-regexp-alist) (ess-describe-object-at-point-commands quote ess-R-describe-object-at-point-commands) (ess-STERM . iESS) (ess-editor . R-editor) (ess-pager . R-pager) (prettify-symbols-alist quote ((<- . 8592) (<<- . 8606) (-> . 8594) (->> . 8608))) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start) (comint-use-prompt-regexp . t) (comint-process-echoes . t) (inferior-ess-primary-prompt . > ) (inferior-ess-secondary-prompt . + ) (comment-start . #) (ess-imenu-generic-expression . ess-imenu-S-generic-expression) (comment-add . 1) (comment-start-skip . #+ *) (comment-use-syntax . t) (comment-column . 40) (ess-no-skip-regexp concat ^ *@\| (default-value (quote ess-no-skip-regexp))) (inferior-ess-prompt . inferior-S-prompt) (ess-get-help-topics-function function ess-s-get-help-topics-function) (ess-getwd-command . getwd()
) (ess-setwd-command . setwd('%s')
) (ess-funargs-command . .ess_funargs("%s")
) (fill-nobreak-predicate quote ess-inside-string-p) (normal-auto-fill-function quote ess-do-auto-fill) (ess-execute-screen-options-command . options(width=%d, length=99999)
))
(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 . mode-require-final-newline) (indent-line-function quote ess-indent-line) (parse-sexp-ignore-comments . t) (ess-style . ess-default-style) (ess-mode-syntax-table . S-syntax-table) (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function) (ess-font-lock-keywords quote ess-R-font-lock-keywords) (ess-font-lock-defaults ess--extract-default-fl-keywords ess-R-font-lock-keywords) (font-lock-defaults quote (ess-font-lock-defaults nil nil ((46 . w) (95 . w)))))
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
Finished setting up ESS-mode.
ess-request-a-process: {beginning}
... request-a-process:
major mode ess-mode; current buff: dpkwuse.R; ess-language: S, ess-dialect: R
..start-process-specific: lang:dialect= S:R, current-buf=dpkwuse.R
(R): ess-dialect=R, buf=dpkwuse.R, start-arg=nil
current-prefix-arg=nil
(inf-ess 1): lang=S, dialect=R, tmp-dialect=R, buf=dpkwuse.R
(inf-ess 1.1): procname=R temp-dialect=R, buf-name=*R*
(inf-ess 2.0) Method #3 start=/home/sds/src/magnetic/research/dpqr/ buf=*R*
(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=*R*
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=inferior-ess-input-sender
(i-ess 1): buf=*R*, lang=S, comint..echo=nil, comint..sender=inferior-ess-input-sender,
(i-ess end): buf=*R*, lang=S, comint..echo=nil, comint..sender=inferior-ess-input-sender,
(inf-ess 3.0): prog=R, start-args=--no-readline --no-save , echoes=nil
Making Process...Buf *R*, :Proc R, :Prog R
:Args= --no-readline --no-save
Start File=nil
(inferior-ess: waiting for process to start (before hook)
(inferior-ess 3): waiting for process after hookload-ESSR cmd:
local({
source('/home/sds/src/sitelisp/ESS/etc/ESSR/R/.load.R', local=TRUE) #define load.ESSR
load.ESSR('/home/sds/src/sitelisp/ESS/etc/ESSR/R')
})
(R): inferior-ess-language-start=options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
... request-a-process: buf=dpkwuse.R
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
(ess-mode-1): ess-language=S, ess-dialect=R buf=scratch.R
(ess-mode-1.5): alist=((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-eldoc-function function ess-R-eldoc-function) (ess-dialect . R) (ess-suffix . R) (ess-ac-sources quote (ac-source-R)) (ess-company-backends quote ((company-R-args company-R-objects :sorted))) (ess-build-tags-command . rtags('%s', recursive = TRUE, pattern = '\\.[RrSs](rw)?$',ofile = '%s')) (ess-traceback-command . local({cat(geterrmessage(), "----------------------------------
", fill=TRUE);try(traceback(), silent=TRUE)})
) (ess-call-stack-command . traceback(1)
) (ess-build-eval-message-function function ess-r-build-eval-message) (ess-dump-filename-template ess-replace-regexp-in-string S$ ess-suffix ess-dump-filename-template-proto) (ess-build-help-command-function function ess-r-build-help-command) (ess-help-web-search-command quote ess-R-sos) (ess-mode-syntax-table . R-syntax-table) (ess-mode-editing-alist . R-editing-alist) (ess-change-sp-regexp . ess-R-change-sp-regexp) (ess-help-sec-regex . ess-help-R-sec-regex) (ess-help-sec-keys-alist . ess-help-R-sec-keys-alist) (ess-loop-timeout . ess-S-loop-timeout) (ess-cmd-delay . ess-R-cmd-delay) (ess-function-pattern . ess-R-function-pattern) (ess-object-name-db-file . ess-r-namedb.el) (ess-smart-operators . ess-R-smart-operators) (inferior-ess-program . inferior-R-program-name) (inferior-ess-objects-command . inferior-R-objects-command) (inferior-ess-font-lock-keywords quote inferior-R-font-lock-keywords) (inferior-ess-search-list-command . search()
) (inferior-ess-help-command . inferior-ess-r-help-command) (inferior-ess-help-filetype) (inferior-ess-exit-command . q()) (inferior-ess-exit-prompt . Save workspace image? [y/n/c]: ) (inferior-ess-start-file) (inferior-ess-start-args . ) (ess-error-regexp-alist . ess-R-error-regexp-alist) (ess-describe-object-at-point-commands quote ess-R-describe-object-at-point-commands) (ess-STERM . iESS) (ess-editor . R-editor) (ess-pager . R-pager) (prettify-symbols-alist quote ((<- . 8592) (<<- . 8606) (-> . 8594) (->> . 8608))) (ess-language . S) (inferior-ess-exit-command . q()
) (inferior-ess-language-start eval inferior-S-language-start) (comint-use-prompt-regexp . t) (comint-process-echoes . t) (inferior-ess-primary-prompt . > ) (inferior-ess-secondary-prompt . + ) (comment-start . #) (ess-imenu-generic-expression . ess-imenu-S-generic-expression) (comment-add . 1) (comment-start-skip . #+ *) (comment-use-syntax . t) (comment-column . 40) (ess-no-skip-regexp concat ^ *@\| (default-value (quote ess-no-skip-regexp))) (inferior-ess-prompt . inferior-S-prompt) (ess-get-help-topics-function function ess-s-get-help-topics-function) (ess-getwd-command . getwd()
) (ess-setwd-command . setwd('%s')
) (ess-funargs-command . .ess_funargs("%s")
) (fill-nobreak-predicate quote ess-inside-string-p) (normal-auto-fill-function quote ess-do-auto-fill) (ess-execute-screen-options-command . options(width=%d, length=99999)
))
(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 . mode-require-final-newline) (indent-line-function quote ess-indent-line) (parse-sexp-ignore-comments . t) (ess-style . ess-default-style) (ess-mode-syntax-table . S-syntax-table) (add-log-current-defun-header-regexp . ^\(.+\)\s-+<-[
]*function) (ess-font-lock-keywords quote ess-R-font-lock-keywords) (ess-font-lock-defaults ess--extract-default-fl-keywords ess-R-font-lock-keywords) (font-lock-defaults quote (ess-font-lock-defaults nil nil ((46 . w) (95 . w)))))
(ess-setq-vars-LOCAL): language=S, dialect=R, buf=nil, comint..echoes=t, comint..sender=comint-simple-send
Finished setting up ESS-mode.
Emacs : GNU Emacs 25.1.50.6 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2016-05-14
Package: ess-mode 16.04 [git: ef7decb901710026a1dbce6c038c53eff7fd5b45]
current state:
==============
(setq
ess-language nil
ess-dialect nil
ess-ask-for-ess-directory nil
ess-ask-about-transfile nil
ess-directory nil
ess-keep-dump-files "always"
ess-source-directory "/tmp"
ess-use-ido t
ess-use-eldoc t
ess-use-tracebug t
ess-use-auto-complete t
ess-use-company t
ess-eval-visibly-p 'nowait
ess-can-eval-in-background nil
ess-local-process-name nil
)
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 16.04 (xenial) X 11.0.11803000
http://www.childpsy.net/ http://openvotingconsortium.org http://jihadwatch.org
http://palestinefacts.org http://islamexposedonline.com http://camera.org
Don't be afraid of happiness. It does not exist.
More information about the ESS-bugs
mailing list