From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: on the fragility of export to ODT Date: Wed, 18 Feb 2015 09:56:44 +0000 Message-ID: <87oaorczkz.fsf@ucl.ac.uk> References: <87r3tp3gv0.fsf@ucl.ac.uk> <87wq3hhalm.fsf@nicolasgoaziou.fr> <87a90c9zsg.fsf@delle7240.chemeng.ucl.ac.uk> <87lhjwuu4y.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO1NF-0006jq-Q6 for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:56:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YO1NC-0004MB-Ea for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:56:53 -0500 Received: from mail-db3on0104.outbound.protection.outlook.com ([157.55.234.104]:43439 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO1NC-0004Ly-6k for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:56:50 -0500 In-Reply-To: <87lhjwuu4y.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 17 Feb 2015 22:04:45 +0100") 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: emacs-orgmode@gnu.org On Tuesday, 17 Feb 2015 at 22:04, Nicolas Goaziou wrote: [...] > However, there's a simpler solution. In- "ox-odt.el", function > `org-odt-link--infer-description', line 2655 (but it depends on Org > version), there is > > (t (error "FIXME: Resolve %s" destination)) > > Replace it with > > (t (error "FIXME: Resolve %s" (org-element-interpret-data destination)))) > > reload Org then trigger the error. The backtrace should be more interesting. Hi Nicolas, thanks for taking the time to try to help me out on this. Your suggested change does indeed yield more interesting and, I guess, potentially more helpful information. The output is: ,---- | OpenDocument export failed: FIXME: Resolve #("#+NAME: fig:radar-chart-urea | #+CAPTION: Radar chart for the urea process which does not require a catalyst. | #+RESULTS[10c1bfffde9a020d138a430992eb2f43c29c9257]: | [[file:radar-chart-urea.pdf]] | | " 40 107 (:parent (#("Radar chart for the urea process which does not require a catalyst." 0 67 (:parent #2))))) `---- but it unfortunately doesn't tell me how to fix the problem. A paragraph back, I have a link [[fig:radar-chart-urea]] and this information in *Messages* is the full content of where the link target is defined. If I remove the link, the export fails with a similar error to above but now due to the next link. Obviously, removing all the links (or any, for that matter) is not a viable solution... Any advice? Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-843-ga5f1a3.dirty