emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT export failing
@ 2023-11-27 10:51 Fraga, Eric
  2023-11-27 13:34 ` Fraga, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Fraga, Eric @ 2023-11-27 10:51 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello all,

can anybody suggest what may be causing an error of the form:

org-odt-export-to-odt: OpenDocument export failed: FIXME: Unable to resolve [...]

The very long error message gives no actual detail as to what actually
failed to resolve.

I will try with emacs -Q etc. but challenging due to the large number of
customizations I have.

thank you,
eric

PS - I hate having to prepare Word formatted documents. 🙁
-- 
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-11-27 10:51 ODT export failing Fraga, Eric
@ 2023-11-27 13:34 ` Fraga, Eric
  2023-11-27 19:49   ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Fraga, Eric @ 2023-11-27 13:34 UTC (permalink / raw)
  To: Org Mode List

Ignore please.  I was trying to export an image which was in PDF; I
thought I had changed to reference to a PNG but missed one.  Mind you,
the error message could be a little more informative?

Sorry for the noise.

-- 
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-11-27 13:34 ` Fraga, Eric
@ 2023-11-27 19:49   ` Ihor Radchenko
  2023-11-28  7:30     ` Fraga, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2023-11-27 19:49 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Org Mode List

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> Ignore please.  I was trying to export an image which was in PDF; I
> thought I had changed to reference to a PNG but missed one.  Mind you,
> the error message could be a little more informative?

AFAIU, that message is for fuzzy and id links that do not point to
heading or target - such links are not supported.
For example, links to #+name'd elements are not supported by ox-odt,
from my reading of the code.

"FIXME" indicates that such feature would be welcome, but alas - not
yet.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-11-27 19:49   ` Ihor Radchenko
@ 2023-11-28  7:30     ` Fraga, Eric
  2023-12-05 12:11       ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Fraga, Eric @ 2023-11-28  7:30 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org Mode List

Hi Ihor,

On Monday, 27 Nov 2023 at 19:49, Ihor Radchenko wrote:
> AFAIU, that message is for fuzzy and id links that do not point to
> heading or target - such links are not supported.

I've had this before when the target (i.e. the label within the org
file) did not exist.  I have never seen this with a missing file, as in
pointing to ~theimage~ where

    #+name: theimage
    [[file:thisimagedoesnotexist]]

To solve the problem, I just had to create the file
"thisimagedoesnotexist".  I guess it is sort of the same issue as
missing link target so maybe it makes sense even though it is not an id
link or fuzzy?

> "FIXME" indicates that such feature would be welcome, but alas - not
> yet.

Understood!

thank you,
eric

-- 
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-11-28  7:30     ` Fraga, Eric
@ 2023-12-05 12:11       ` Ihor Radchenko
  2023-12-05 12:48         ` Fraga, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2023-12-05 12:11 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Org Mode List

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> On Monday, 27 Nov 2023 at 19:49, Ihor Radchenko wrote:
>> AFAIU, that message is for fuzzy and id links that do not point to
>> heading or target - such links are not supported.
>
> I've had this before when the target (i.e. the label within the org
> file) did not exist.  I have never seen this with a missing file, as in
> pointing to ~theimage~ where
>
>     #+name: theimage
>     [[file:thisimagedoesnotexist]]
>
> To solve the problem, I just had to create the file
> "thisimagedoesnotexist".  I guess it is sort of the same issue as
> missing link target so maybe it makes sense even though it is not an id
> link or fuzzy?

I do not see any error when trying to export the above org file to ODT.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-12-05 12:11       ` Ihor Radchenko
@ 2023-12-05 12:48         ` Fraga, Eric
  2023-12-05 12:54           ` Ihor Radchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Fraga, Eric @ 2023-12-05 12:48 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org Mode List

On Tuesday,  5 Dec 2023 at 12:11, Ihor Radchenko wrote:

Ummm, okay.  Maybe with a .pdf extension?

(I was under deadline pressure so once I got it working, I didn't explore any further!)


-- 
Eric S Fraga, https://profiles.ucl.ac.uk/5958-eric-fraga

PhD studentship in optimization and molecular dynamics:
https://ucl-epsrc-dtp.github.io/2024-25-project-catalogue/projects/2228cd1281.html
Apply through
https://www.ucl.ac.uk/epsrc-doctoral-training/prospective-students/apply-ucl-epsrc-dtp-studentship

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-12-05 12:48         ` Fraga, Eric
@ 2023-12-05 12:54           ` Ihor Radchenko
  2023-12-05 13:08             ` Fraga, Eric
  0 siblings, 1 reply; 8+ messages in thread
From: Ihor Radchenko @ 2023-12-05 12:54 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: Org Mode List

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> Ummm, okay.  Maybe with a .pdf extension?
>
> (I was under deadline pressure so once I got it working, I didn't explore any further!)

Still fine on my side...

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: ODT export failing
  2023-12-05 12:54           ` Ihor Radchenko
@ 2023-12-05 13:08             ` Fraga, Eric
  0 siblings, 0 replies; 8+ messages in thread
From: Fraga, Eric @ 2023-12-05 13:08 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org Mode List

On Tuesday,  5 Dec 2023 at 12:54, Ihor Radchenko wrote:
> Still fine on my side...

Okay, thank you.  Strange but one of those mysteries, I guess.  If I run
into this again, I'll explore more fully.

-- 
: Eric S Fraga, with org release_9.6.7-661-g34ee6f in Emacs 30.0.50

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-05 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 10:51 ODT export failing Fraga, Eric
2023-11-27 13:34 ` Fraga, Eric
2023-11-27 19:49   ` Ihor Radchenko
2023-11-28  7:30     ` Fraga, Eric
2023-12-05 12:11       ` Ihor Radchenko
2023-12-05 12:48         ` Fraga, Eric
2023-12-05 12:54           ` Ihor Radchenko
2023-12-05 13:08             ` Fraga, Eric

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).