org-auto-tangle
org-auto-tangle copied to clipboard
No Execute function for python found
With the following test file
#+PROPERTY: header-args:mkdirp yes
#+auto_tangle: t
* Test org
#+NAME: test
#+begin_src python
return "test "
#+end_src
#+RESULTS: test
: test
#+begin_src shell :noweb yes :tangle test.sh
echo <<test()>>
#+end_src
I get the following Error when the python Code executes fine with C-c C-c and with the regular tangle command
Wrote /home/rampedindent/tmp/test.org
Tangling /home/rampedindent/tmp/test.org...
error in process sentinel: async-handle-result: No org-babel-execute function for python!
error in process sentinel: No org-babel-execute function for python!
configuration
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(python . t)
(shell . t)))
(setq org-confirm-babel-evaluate nil)
(setq org-babel-python-command "python3")
(push '("conf-unix" . conf-unix) org-src-lang-modes)
(use-package org-auto-tangle
;; :load-path "site-lisp/org-auto-tangle/" ;; this line is necessary only if you cloned the repo in your site-lisp directory
:defer t
:hook (org-mode . org-auto-tangle-mode))
(setq org-auto-tangle-babel-safelist '(
"/home/rampedindent/.dotfiles/system.org"
"/home/rampedindent/tmp/test.org"
))
It seems to work correctly with a emacs lisp beginning block
That might be an issue with how org manages these blocks I'll look into it.
@RampedIndent does the commit by @rdparker help you solve the issue by passing in variables?
i can't replicate the issue anymore, so it either means that the commit fixed it. Or my os reinstall.