[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [feature request] more informative error message when calling an
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [feature request] more informative error message when calling an undefined src block |
Date: |
Tue, 10 Jan 2017 13:26:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Eric S Fraga <address@hidden> writes:
> 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"))
>
> 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:
> [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.
Could you provide an ECM?
Regards,
--
Nicolas Goaziou