Community
Participate
Working Groups
Created attachment 268991 [details] Gendoc Error If the image file path is wrong, or the image does not exist. Gendoc will throw an exception, the description as follow. ‘An image cannot be generated and has been replacing by a red cross…’ Example: <image filePath=’${project_loc}/abc1.jpg’ maxH='true' maxW='true'><drop/> The abc1.jpg does not exist in the project folder. After click OK button, the odt file has been created in the target folder. But if we click this generated file, LibreOffice will give a warning: ‘General input/output error’ . If we repair this document, the image doesn’t have been replaced by a red cross.
OS: RedHat 6.5 64bits (Santiago) Plafform: Eclipse Neon 4.6.3M20170301-0400
I use the odt file as template, and use Libre Office to open the generated file.
(In reply to Nicholas Kong from comment #2) > I use the odt file as template, and use Libre Office to open the generated > file. Hi Nicholas, Thank you for noticing that. In fact if the image doesn't exist there is no red cross inserted instead, the error message should be updated. Regards, Mohamed Ali