"Image not found" error on PDF transformation

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Carl
Posts: 102
Joined: Fri Oct 19, 2018 2:19 am

"Image not found" error on PDF transformation

Post by Carl »

I have discovered a curious glitch: when I PDF my entire project (from the DITA Maps Manager), the output contains all my images, as expected. But when I PDF individual topics, sometimes the image appears, other times it is excluded! When excluded, I get errors like this:

Code: Select all

System ID: /home/clum/repos/docs-cust/PHEMI_Central/derived_data/derived_metrics_metadata_tab.dita
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/derived_data/derived_metrics_metadata_tab.dita
Engine name: FOP
Severity: error
Description: Image not found. URI: file:/tmp/OxygenXMLTemp-clum/ditaTemporaryOutputDir-1575072427073/t1/t2/t3/t4/oxy_ex-1/_images/derived_data/columnar_high_level_overview.png. (See position 16:590)
Why are these images "not found"? They are in the same directory as other images that are "found". And why are they present when I PDF the entire manual, but skipped when I PDF a single topic?

I have tried removing my "OxygenXMLTemp-clum" directory and letting Oxygen recreate it. I also did a full PDF and verified that the topic shows my graphics. But when I tried PDF'ing that single topic again, the image is missing and I get the "image not found" error.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: "Image not found" error on PDF transformation

Post by Radu »

Hi Carl,

Sorry but I do not have enough information to know the cause.
If you can come up with a small sample DITA project in which this problem can be reproduced, please send it to us (support@oxygenxml.com) along with detailed steps about how to reproduce the problem on our side.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mmkarimi
Posts: 2
Joined: Thu Jan 13, 2022 10:51 pm

Re: "Image not found" error on PDF transformation

Post by mmkarimi »

I had similar issue and I could solve it by selecting "DITA Map PDF - based on HTML5 & CSS" transformation scenario
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: "Image not found" error on PDF transformation

Post by chrispitude »

Hi Carl,

What version of Oxygen are you using?

Is the image file at or below the directory level of the .dita file you are transforming? Try setting the fix.external.refs.com.oxygenxml parameter to true in your XSL-FO transform and see if that resolves the issue.
Post Reply