jupyter icon indicating copy to clipboard operation
jupyter copied to clipboard

error in process sentinel: JSON readtable error: 27

Open JonatanSahar opened this issue 1 year ago • 0 comments

Hi, I'm on doom emacs, with (org +jupyter) flag on, and the following jupyter configuration:

;; jupyter
(use-package jupyter
  :demand t
  :after (:all org python ob-jupyter ob-python)
  :config

  (org-babel-jupyter-override-src-block 'python)

  (map! :map jupyter-repl-mode-map
        :i "<up>" #'jupyter-repl-history-previous
        :i "<down>" #'jupyter-repl-history-next
        )

  (defun my/jupyter-refresh-kernelspecs ()
    "Refresh Jupyter kernelspecs"
    (interactive)
    (jupyter-available-kernelspecs t)))

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t) ;; Other languages
   (shell . t)
   ;; Python & Jupyter
   (jupyter . t)
   (python . t)
   (ipython . t)
   ))

and the following header in an org file:

#+PROPERTY: header-args:jupyter-python :session foo :kernel jupyter-emacs
#+PROPERTY: header-args:jupyter-python+ :async yes

When executing a jupyter-emacs source block, I get:

Executing Jupyter-Python code block at position 141... Code block evaluation complete (took 1.0s). error in process sentinel: cons: JSON readtable error: 27 error in process sentinel: JSON readtable error: 27

Can you help please?

JonatanSahar avatar Feb 29 '24 14:02 JonatanSahar