gregsexton / ob-ipython

org-babel integration with Jupyter for evaluation of (Python by default) code blocks
737 stars 108 forks source link

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

Open RockyRoad29 opened 6 years ago

RockyRoad29 commented 6 years ago

Using the ipython layer from spacemacs, I'm getting errors since last update (today). One concerns ob-ipython, with this stacktrace:

  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(#<buffer my-spacemacs-issues.org> "~/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.

lujianmei commented 6 years ago

I got the same error. Pls help

archcst commented 6 years ago

Same error.. Will be fixed?