astahlman / ob-async

Asynchronous src_block execution for org-babel
343 stars 32 forks source link

async can't work #61

Closed lialzm closed 4 years ago

lialzm commented 4 years ago

when i use C-c C-c have a error in spacemacs

error in process sentinel: async-handle-result: Symbol’s function definition is void: org-babel-execute:sh
error in process sentinel: Symbol’s function definition is void: org-babel-execute:sh

my code

#+begin_src sh :async
sleep 3s && echo 'done'
#+end_src

#+RESULTS:
: bab27cb22081f0f5e2b6f9d4c58dce2d
ober commented 4 years ago

Hitting the same issue on 27.0.91.

lialzm commented 4 years ago

when I change the emacs version to emacs-plus,this problem is slove

ober commented 4 years ago

The fix for me was (org-babel-do-load-languages 'org-babel-load-languages '((shell . t)))