From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [feature request] more informative error message when calling an undefined src block Date: Mon, 09 Jan 2017 14:45:13 +0000 Message-ID: <871swcl2bq.fsf@ucl.ac.uk> Reply-To: Eric S Fraga 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]:37098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQjvn-0008SV-RP for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:04:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQjvk-0006ww-Lb for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:04:51 -0500 Received: from mail-db5eur01on0136.outbound.protection.outlook.com ([104.47.2.136]:45129 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQjvk-0006wX-AP for emacs-orgmode@gnu.org; Mon, 09 Jan 2017 19:04: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" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello all, I have been trying to track down a nil link on export [1]. I have been bisecting a long document. As part of this, I commented out a src block used elsewhere in the document. The error trace [abridged] I get upon export is: Debugger entered--Lisp error: (wrong-type-argument consp nil) org-babel-exp-code(nil lob) org-babel-exp-do-export(nil lob) org-babel-exp-process-buffer() org-export-as(latex nil nil nil (:output-file "t.tex")) =20=20 which was luckily just enough for me to figure out what I had done but I think it could be more informative? E.g. it would be nice if it said which code it tried to invoke? Thanks, eric Footnotes:=20 [1] related problem: "Unable to resolve link: nil" is not very informative either and it's driving me crazy! I've not yet tracked down what the problem is but it has something to do with using my own labels for tables. More later when I figure it out. =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-189-ge46676 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHOh+QAKCRDIkZPY//z2 fZNZAJ46XzkH/vdKNHOnv3Cv0DWsLrGyaACgh2PqOhjLMpfqWSishFobpsLQbJE= =2aBX -----END PGP SIGNATURE----- --=-=-=--