Forum Replies Created
-
AuthorPosts
-
in reply to: Missing -jakarta edition for versions newer than 4.0.20 November 20, 2024 at 16:04in reply to: Technical questions / Troubleshooting December 12, 2024 at 10:12#38918
Hi, I’m having an issue where on some days when I generate the documents (after a re-deployment of my service running on Docker), the paragraph spacing is bigger even on the same documents. For example, without any change to the content, it would generate with the expected paragraph spacing yesterday, but today, it would look to seems double of that value. It’s correct one day but next day it would be wrong. Was this related to any setup issue?
I’m converting HTML to PDF on 3.11.5fx3 pro version.
For context, a redeployment on the same day wouldn’t solve the issue.You can a section of my generate document in the screenshots provided.
Attachments:
You must be logged in to view attached files.in reply to: Inconsistent paragraph spacing December 12, 2024 at 14:14#38921Update:
It’s possible that I have some cache html that was used to generate between deployment version which break the styling when upgrading the version.
This is likely an issue on my code.
Sorry for the trouble.in reply to: Inconsistent paragraph spacing December 12, 2024 at 14:57#38922Thanks for the update on the results of your investigation!
in reply to: Technical questions / Troubleshooting December 30, 2024 at 11:30#38942Hi, I was trying to upgrade my maven java project which utilize PD4ML from version 3.9.8fx4 to 3.11.6-jakarta to convert HTML to PDF. I\’m encountering some issue where there is some slight differences in the generation of the documents. Below are the issues I\’m encountering.
1. In the first file (Text spacing and word wrap diff.png), I\’m noticing some issue where the word wrap isn\’t the same anymore. This seems to caused some of my document alignment to be changed. Is this some expected changes or am I missing some properties that wasn\’t set originally? I also tried version 3.11.5fx3 and the same issue also persist.
2. As for the second issue I had, I\’m encountering an issue with footer not generating on the bottom of some pages, it would generate on some but not on some (see file named Footer missing.png). There isn\’t any other big changes from my upgrades that would impact the style so I would say the html is 99% identical. The only differences that I had to make was removing my
white-space: preline;
styling as it seems to not used it in 3.9.8fx4 in the first place but was then adding extra spaces on 3.11.6.Would anyone would be able to know what are the changes that I could apply or fixes I needed to patch so that the generated document is the same?
Attachments:
You must be logged in to view attached files.in reply to: Missing -jakarta edition for versions newer than 4.0.20 January 6, 2025 at 08:11#38951Hi!
Due to some important bug fixes provided in fx3 (which affects us), we have resorted to use the
v4.0.20fx3-jakarta-SNAPSHOT
release. Will the final version of 4.0.20fx3 be available anytime soon?Thanks in advance,
Avonova Norwayin reply to: Why my licence is Evaluation even if i bought January 8, 2025 at 20:04#38987Hi,
I bought this license but it no longer appears to me in my licenses and the library has stopped working, what could be happening?
in reply to: Why my licence is Evaluation even if i bought January 8, 2025 at 20:19#38988Hi! Did you check both your accounts?
We’ve just sent you a reminder email with the right credentialsand the library has stopped working
Hmm… The license is perpetual, so there should be other than the licensing reasons
in reply to: Technical questions / Troubleshooting January 16, 2025 at 11:25#39037Hello!
I have obtained evaluaion license and now trying to get access to source jar from pd4ml-src repository, as explained in the documentation here. However, the artifact does not get resolved and in the console it displays 401 Unauthorized error. When I try to access repository from the browser and enter login/password in the popup dialog, it also does not work.
Seems login/password is incorrect
Does the evaluation license allow access to source code?Please, help me solve this problem
Thank you!in reply to: Unable to get source code from maven repository January 16, 2025 at 11:49#39038Hi Eugene,
PD4ML is not an open source product. Access to the product source code is provided to PD4ML source code licensees only.
in reply to: Technical questions / Troubleshooting February 17, 2025 at 15:28#39144Hi, we purchased a new license recently and I am upgrading from a much older version as part of our upgrade to Java 17. Now using ‘com.pd4ml:pd4ml:4.1.0-SNAPSHOT’. It generates the PDF without any code changes, but for some reason the first time it runs it can take 2 minutes to generate. Once that happens all subsequent generations of that report OR other reports are near instant. Do you know what could cause this situation? What would be the best way to go about debugging it? It only happens on our test server and not in my local environment.
in reply to: Slow initial PDF generation February 17, 2025 at 15:39#39145Hi! A possible explanation is that the source HTML has unavailable external links and it waits until the socket times out. Once the resource is marked as unavailable in the PD4ML cache, it no longer tries to download.
But it is only a guess. More input needed too find out the real cause of the problem.
As a first step, try enabling logging and look at the STDOUT output of PD4ML – this will allow you to see which phase the delay is occurring in.
in reply to: Slow initial PDF generation February 17, 2025 at 16:00#39146how do I enable logging? I tried adding the below and see no output
logging.level.com.pd4ml=DEBUG
logging.level.org.zefer=DEBUGin reply to: Slow initial PDF generation February 17, 2025 at 16:03#39147Try the API call
pd4ml.setLogLevel(255)
in reply to: Slow initial PDF generation February 17, 2025 at 23:01#39151My last message doesn’t seem to have posted when looking from my end so I apologize if this is a duplicate. There does seem to be an error getting a css file, but it isn’t really external. It is served up by the same server that is generating the PDF. See attached. I can access the file fine when I navigate to it in a browser
-
AuthorPosts