From mboxrd@z Thu Jan 1 00:00:00 1970 From: swflint@flintfam.org (Samuel W. Flint) 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:18:32 -0500 Message-ID: <87egfvt4af.fsf@turing.flintfam.org> References: <87si4bt9kc.fsf@turing.flintfam.org> <87mvujf7bg.fsf@kyleam.com> <87io57f30j.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxOR-0004Sj-0O for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:18:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwxOM-00012k-Ro for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:18:46 -0500 Received: from [2600:3c00::f03c:91ff:fe70:9de9] (port=59741 helo=mail.flintfam.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwxOM-00012g-Mr for emacs-orgmode@gnu.org; Thu, 12 Nov 2015 14:18:42 -0500 In-Reply-To: <87io57f30j.fsf@kyleam.com> (Kyle Meyer's message of "Thu, 12 Nov 2015 14:09:48 -0500") 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: Kyle Meyer Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> Kyle Meyer writes: KM> "Samuel W. Flint" writes: [...] >>> In your org-babel-do-load-languages call, try to changing >>>=20 >>> (sh . t) >>>=20 >>> to >>>=20 >>> (shell . t) >>>=20 >>> -- Kyle >>>=20 >>>=20 >>=20 >> I went ahead and tried that. I still get that error. KM> Hmm, and that was after Emacs was restarted? Nope. Should have thought of that. Figures. That'll probably be all that it is. Thanks. Sam KM> Here is why I suggested that. As of Org 8.2, ob-sh was renamed to KM> ob-shell. The NEWS file contained this: KM> *** =3Dob-sh.el=3D renamed to =3Dob-shell=3D This may require two KM> changes in user config. =20=20=20=20 KM> 1. In =3Dorg-babel-do-load-languages=3D, change =3D(sh . t)=3D to KM> =3D(shell . t)=3D. 2. Edit =3Dlocal.mk=3D files to change the value of KM> =3DBTEST_OB_LANGUAGES=3D to remove "sh" and include "shell". KM> If you didn't do this (as I didn't), you wouldn't necessarily KM> notice, because org-babel-do-load-languages ends up loading the old KM> ob-sh.el that ships with Emacs. As the builtin ob-sh.el and babel KM> diverged, there were very likely subtle and perhaps not-so-subtle KM> bugs, but the blocks would execute until recently. Execution now KM> fails because org-babel-get-header was removed in 0d000f5 (babel: KM> small change in API., 2015-10-29), but the old ob-sh.el is still KM> trying to call it. KM> Based on the configuration you included, you do need to change (sh KM> . t) to (shell . t), but perhaps there is still some other issue KM> going on. If a restart with the previous suggestion doesn't fix it, KM> please try to put together a minimal Org file and configuration that KM> will reproduce the issue with emacs -Q. KM> -- Kyle=20 =2D-=20 Samuel W. Flint 4096R/266596F4 (9477 D23E 389E 40C5 2F10 DE19 68E5 318E 2665 96F4) (=CE=BBs.s s) =CE=BBs.s s --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWROYJAAoJEGjlMY4mZZb0Pp0QAJJ72PTu3PbUglcRIzvePx7q zGDpF/xdV4f1cyyra28mRxr1AnBhlbEZp2Ad6ZEU02YqHGCNUp+6qMDXR9duvG0G iRhw4VXK6dK/B+s0o7QWC7LZVSNIvZuYx9zu+p6zQN1v4+IA+Omuq57MdN/34snQ b2Zxomw/BYw9R/djuj61X38JxAn2WgS9/RbBCCGgQ73nP/M+Zc063bJNAjLP6PfA vQoAR7KuR3AGQPlZfp2E1KXNGlIMgU3y0oVe4okvzaglUMrUocQNBOMeu+45iz/5 Hz757KHlre0+8dathBoFqKuIKqeErIMnHBCEjs9404v4oC7AJD3MvlPqtfYHNBMC ATDceRX+UOEMVxZM2oSygypVSYyUxn1u+t7uRdj3MLJF3A7i3LHy+N6jN/X9pzZy 77f8NO0QRY9qsr8/LpfiQDIJWS8VgJD+GZkHesFCeYyNCxAzOsD8YZrzwV9orLGC MnrpTPEQU57NRFPKHsz0/iPcMZzeu3xtX2hzMFSJIuBRBzWNJ2Xsyy7LxyoXipkr +YS4L7w1nd9xycRYxsEvVYrfFShTcsihnJ6+CcVTOFsS+9wSrriRFWIbqADH3pEi XyrOlbmqtTqZ/D4tgUw+7U1GlXUS1DkmGd8Y5ZHtBKj6FPLmNJMShu99mQSiR5w+ IFiNtVCAasfyrxH1wgxi =9U/g -----END PGP SIGNATURE----- --=-=-=--