Re: [O] Bug: org-babel-tangle error. org-babel-get-header undefined [8.3.2 (release_8.3.2-317-gbd921f @ /home/swflint/.emacs.d/org-mode/lisp/)]
"Samuel W. Flint"writes: [...] >> In your org-babel-do-load-languages call, try to changing >> >> (sh . t) >> >> to >> >> (shell . t) >> >> -- >> Kyle >> >> > > I went ahead and tried that. I still get that error. Hmm, and that was after Emacs was restarted? Here is why I suggested that. As of Org 8.2, ob-sh was renamed to ob-shell. The NEWS file contained this: *** =ob-sh.el= renamed to =ob-shell= This may require two changes in user config. 1. In =org-babel-do-load-languages=, change =(sh . t)= to =(shell . t)=. 2. Edit =local.mk= files to change the value of =BTEST_OB_LANGUAGES= to remove "sh" and include "shell". If you didn't do this (as I didn't), you wouldn't necessarily notice, because org-babel-do-load-languages ends up loading the old ob-sh.el that ships with Emacs. As the builtin ob-sh.el and babel diverged, there were very likely subtle and perhaps not-so-subtle bugs, but the blocks would execute until recently. Execution now fails because org-babel-get-header was removed in 0d000f5 (babel: small change in API., 2015-10-29), but the old ob-sh.el is still trying to call it. Based on the configuration you included, you do need to change (sh . t) to (shell . t), but perhaps there is still some other issue going on. If a restart with the previous suggestion doesn't fix it, please try to put together a minimal Org file and configuration that will reproduce the issue with emacs -Q. -- Kyle
Re: [O] Bug: org-babel-tangle error. org-babel-get-header undefined [8.3.2 (release_8.3.2-317-gbd921f @ /home/swflint/.emacs.d/org-mode/lisp/)]
"Samuel W. Flint"writes: > On Thu, November 12, 2015 11:36 am, Kyle Meyer wrote: >> Hello, >> >> swfl...@flintfam.org (Samuel W. Flint) writes: >> >>> Hey all! >>> >>> In an attempt to keep my config file organized, I've been using org. As >>> of a fairly recent update, when I tangle the document (C-c C-v C-t), I >>> get the following error "Symbol's function definition is void: >>> org-babel-get-header". I have no idea why this is happening. I've >>> attached a backtrace. >>> >>> TIA, >>> >>> Sam >> >> In your org-babel-do-load-languages call, try to changing >> >> (sh . t) >> >> to >> >> (shell . t) >> >> -- >> Kyle >> >> > > I went ahead and tried that. I still get that error. > I don't know what the underlying cause might be, but you might be able to cure the symptom by doing M-x load-library RET ob-core RET which is where org-babel-get-header is defined. If that works, then it's likely that a (require 'ob-core) is missing somewhere. -- Nick
Re: [O] Bug: org-babel-tangle error. org-babel-get-header undefined [8.3.2 (release_8.3.2-317-gbd921f @ /home/swflint/.emacs.d/org-mode/lisp/)]
Hello, swfl...@flintfam.org (Samuel W. Flint) writes: > Hey all! > > In an attempt to keep my config file organized, I've been using org. As > of a fairly recent update, when I tangle the document (C-c C-v C-t), I > get the following error "Symbol's function definition is void: > org-babel-get-header". I have no idea why this is happening. I've > attached a backtrace. > > TIA, > > Sam In your org-babel-do-load-languages call, try to changing (sh . t) to (shell . t) -- Kyle
Re: [O] Bug: org-babel-tangle error. org-babel-get-header undefined [8.3.2 (release_8.3.2-317-gbd921f @ /home/swflint/.emacs.d/org-mode/lisp/)]
On Thu, November 12, 2015 11:36 am, Kyle Meyer wrote: > Hello, > > swfl...@flintfam.org (Samuel W. Flint) writes: > >> Hey all! >> >> In an attempt to keep my config file organized, I've been using org. As >> of a fairly recent update, when I tangle the document (C-c C-v C-t), I >> get the following error "Symbol's function definition is void: >> org-babel-get-header". I have no idea why this is happening. I've >> attached a backtrace. >> >> TIA, >> >> Sam > > In your org-babel-do-load-languages call, try to changing > > (sh . t) > > to > > (shell . t) > > -- > Kyle > > I went ahead and tried that. I still get that error. Thanks, Sam