gregsexton / gregsexton/ob-ipython

failure in ob-ipython--configure-kernel - symbol names and values

Open
#154 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
742
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Using the ipython layer from spacemacs, I'm getting errors since last update (today). One concerns ob-ipython, with this stacktrace:
```Debugger entered--Lisp error: (wrong-type-argument stringp sh)
intern(sh)
ob-ipython--configure-kernel(("bash" . "bash"))
mapcar(ob-ipython--configure-kernel (("javascript" . "javascript") ("bash" . "bash") ("sagemath" . "") ("python2" . "python") ("ir" . "R") ("clojure" . "clojure") ("octave" . "octave") ("julia-0.5" . "julia") ("python3" . "python") ("python2-sys" . "python")))
-map(ob-ipython--configure-kernel (("javascript" . "javascript") ("bash" . "bash") ("sagemath" . "") ("python2" . "python") ("ir" . "R") ("clojure" . "clojure") ("octave" . "octave") ("julia-0.5" . "julia") ("python3" . "python") ("python2-sys" . "python")))
ob-ipython-auto-configure-kernels()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(# "~/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org" nil nil "~/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org" (27870367 2058))
find-file-noselect(#("/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org" 0 90 (match-part "/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org")))
mapcar(find-file-noselect (#("/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org" 0 90 (match-part "/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org"))))
(let* ((files (helm-marked-candidates)) (buffers (mapcar (quote find-file-noselect) files))) (spacemacs//helm-open-buffers-in-windows buffers))
(lambda (candidate) (let* ((files (helm-marked-candidates)) (buffers (mapcar (quote find-file-noselect) files))) (spacemacs//helm-open-buffers-in-windows buffers)))(#("/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org" 0 90 (match-part "/home/mich/Devlp/emacs/spacemacs/my-spacemacs-issues-and-solutions/my-spacemacs-issues.org")))
helm-execute-selection-action-1()
helm-execute-selection-action()
helm-internal(helm-source-recentf nil nil nil nil "*helm recentf*" nil nil nil)
apply(helm-internal (helm-source-recentf nil nil nil nil "*helm recentf*" nil nil nil))
helm(helm-source-recentf nil nil nil nil "*helm recentf*" nil nil nil)
apply(helm (helm-source-recentf nil nil nil nil "*helm recentf*" nil nil nil))
helm(:sources helm-source-recentf :ff-transformer-show-only-basename nil :buffer "*helm recentf*")
helm-recentf()
funcall-interactively(helm-recentf)
call-interactively(helm-recentf nil nil)
command-execute(helm-recentf)
```
the error emits the message:
`debugger-eval-expression: Symbol’s value as variable is void: sh`

Actually when trying to initialize `'mode` variable, `#'intern` is called with a symbol name, whereas it expects a string. At this stage, all /cdr/ of the alist `org-src-lang-modes` are symbols.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.