-
-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Description
Hi, I'm not sure this belongs here, but here it goes. Starting emacs (28.1, nativecomp) with emacs -q -l async-debug.el foo.org where async-debug.el:
(setq comp-deferred-compilation-deny-list '("jupyter-channel"
))
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")))
(package-initialize)
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(use-package jupyter)
(use-package ob
:config (progn
;; load more languages for org-babel
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t)
(shell . t)
(jupyter . t))) ; must be last
(setq org-babel-default-header-args:sh '((:results . "output replace"))
org-babel-default-header-args:bash '((:results . "output replace"))
org-babel-default-header-args:shell '((:results . "output replace"))
org-babel-default-header-args:jupyter-python '((:async . "yes")
(:session . "py")
(:kernel . "sagemath")))))
(use-package ob-async
:config (setq ob-async-no-async-languages-alist '("jupyter-python" "jupyter-julia")))and foo.org:
#+begin_src jupyter-python :kernel sagemath
sqrt(1.2)
#+end_src
#+RESULTS:
: 1.09544511501033
#+begin_src shell :async
echo foo
#+end_src
#+RESULTS:
: 51f1e558264b519a207d219f5921b308
I'm getting
error in process sentinel: async-when-done: Invalid read syntax: "#"
error in process sentinel: Invalid read syntax: "#"
when I evaluate the second block. But after killing the jupyter repl buffer evaluating that second block succeeds.
Metadata
Metadata
Assignees
Labels
No labels