From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: 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/)] Date: Thu, 12 Nov 2015 14:09:48 -0500 Message-ID: <87io57f30j.fsf@kyleam.com> References: <87si4bt9kc.fsf@turing.flintfam.org> <87mvujf7bg.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxFv-0007FC-DU for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:10:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwxFq-0006uP-Sy for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:09:59 -0500 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:35389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxFq-0006uL-Ly for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:09:54 -0500 Received: by qgec40 with SMTP id c40so53816158qge.2 for ; Thu, 12 Nov 2015 11:09:54 -0800 (PST) In-Reply-To: (Samuel W. Flint's message of "Thu, 12 Nov 2015 12:41:43 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Samuel W. Flint" Cc: emacs-orgmode@gnu.org "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