HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Issue with Image Rendering
- This topic has 3 replies, 3 voices, and was last updated Apr 18, 2017
09:08:22 by Manikumar.
-
AuthorPosts
-
April 11, 2017 at 06:19#27138
Hi,
I am working on a linux machine and I am having issues with image being rendered. I have gone through a lot of your articles regarding this issue but I am not able to get to a conclusion. The error that I am getting for the same is –version: PD4ML 399fx2 Pro DMS
cache disabled. (re-)reading file:/usr/share/fonts/fonts/pd4fonts.properties
loading file:/usr/share/fonts/fonts/pd4fonts.properties [0ms]
default built-in stylesheet parsed [17ms]
‘serif’ is not in pd4fonts.properties file
reject TTF lookup for: ‘serif’
cache disabled. (re-)reading file:/usr/share/fonts/fonts/times.ttf
loading file:/usr/share/fonts/fonts/times.ttf [1ms]
read ‘times new roman’ from file:/usr/share/fonts/fonts/times.ttf
cache disabled. (re-)reading http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_4306295860532994370.png&contentType=image%2Fpng&suggestedName=rlq_logo.png
loading http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_4306295860532994370.png&contentType=image%2Fpng&suggestedName=rlq_logo.png [4ms]
Connection refused: http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_4306295860532994370.png&contentType=image%2Fpng&suggestedName=rlq_logo.png (socket timeout 0ms)
image http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_4306295860532994370.png&contentType=image%2Fpng&suggestedName=rlq_logo.png has zero length.
can not load image: http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_4306295860532994370.png&contentType=image%2Fpng&suggestedName=rlq_logo.png
cache disabled. (re-)reading http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_8102844228446525387.png&contentType=image%2Fpng
loading http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_8102844228446525387.png&contentType=image%2Fpng [0ms]
Connection refused: http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_8102844228446525387.png&contentType=image%2Fpng (socket timeout 0ms)
image http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_8102844228446525387.png&contentType=image%2Fpng has zero length.
can not load image: http://test4.j.layershift.co.uk/storage/servlet/Image?c=109817036&fileName=tmp_8102844228446525387.png&contentType=image%2Fpng
done in 287ms.However, I am able to render the same image in a different machine.
Please help me out to figure out the exact issue that is causing this problem. Also let me know if anything else is required on my end.
April 13, 2017 at 08:43#30019Hello,
I’m having the same issue when using Linux box. I’m able to render the images for the html type templates that I use, however, wherever the PD4ML implementation is used, it fails to render the images with similar error – in PDF’s.
Is this some kind of known issue for you guys or something is missing from my end? and what are the possible points I could look for. As the original user posted, the articles are not much of help, even I tried most of it and found this recent entry.
Any help to fix this issue would be highly appreciated !!!.
Thanks in Advance,
Mani.April 17, 2017 at 04:49#30017Hello Everyone,
Anyone on this? This is going to be an important feature in the app that am building and am sure the issue is with the jars as it is happening with other apps also.
Could someone please look into this and suggest on how could I/we proceed further.
Regards,
Mani.April 18, 2017 at 09:08#30018Hi Mani! Sorry for the holiday delay with the reply.
I would recommend to check the following:
– I guess PD4ML runs on a server. Make sure the server (not a client browser) can resolve test4.j.layershift.co.uk DNS name and has a routing to it. Log into the server and try to load any test4.j.layershift.co.uk URL with wget or anything similar.
– If the above is ok, check logs of test4.j.layershift.co.uk if there were attempts to load the image by PD4ML and error codes (if any).
-
AuthorPosts
The forum ‘General questions / FAQ’ is closed to new topics and replies.