Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Jun 03, 2024 9:52 am

I'm sorry, but I was unable to reproduce the issue you're facing.
I have tested the provided file using the qt-plugin 5.14.2 on Ubuntu-20.04 with the net5.0 environment, and I was able to successfully generate a PDF file with a progress bar. Please follow the steps below to troubleshoot the issue:
1. Ensure that the plugins directory and the output directory have the necessary permissions. You can use the chmod command to change the permissions:
Code: Select all
chmod -R 777 /path/to/plugins 
chmod -R 777 /path/to/output/directory

Replace /path/to/plugins and /path/to/output/directory with the actual paths to your plugins directory and output directory, respectively.

2. Use the cd command to navigate to the plugins directory of your new version of Qt.

3. Run the following command, replacing "output.pdf" with the path where you want to save the generated file in your code:
Code: Select all
echo "<p>test text</p>" | ./Html2Pdf "" "output.pdf" 800 600 0 0 0 0 1

If you receive a message like ‘xxx not found’, it indicates that some dependencies are missing. Please install the corresponding dependencies first.

Please share the output or any error messages you receive when running the above command, so we can further investigate the issue.
Thank you for your assistance and cooperation.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Tue Jun 04, 2024 9:20 am

Hi Team,

After doing all the necessary as you mentioned above got the below output.

executed command : - echo "<p>test text</p>" | ./Html2Pdf "" "output.pdf" 800 600 0 0 0 0 1

output :-

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted (core dumped)

But still the xvfb is running and also unable to convert basic conversion of html to pdf ,Please help us to resolve this issue..

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Wed Jun 05, 2024 6:33 am

Hi Team,

Any update here ..

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Wed Jun 05, 2024 9:53 am

Hi,

Thank you for your feedback.
The reason for this command is that your Ubuntu system does not have a GUI. Please install xvfb first using 'apt-get install -y xvfb' and then test again with the following command.

echo "<p>test text</p>" |xvfb-run ./Html2Pdf "" "output.pdf" 800 600 0 0 0 0 1

In addition, since Qt plugins require highly complex dependencies, some difficult-to-troubleshoot errors may occur in different environments. We recommend using Qt plugins in a Docker container. Please download the complete project from the following link, unzip it, and follow the steps in the ‘readme.txt’ to proceed.

docker demo: https://www.e-iceblue.com/downloads/att ... Plugin.zip

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Thu Jun 06, 2024 10:26 am

Hi Team,

We have implemented the sample docker project as you preferred and we have observed an empty file converted pdf file with no data ,Please the attached file for your reference , Help us to resolve this issue

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Fri Jun 07, 2024 9:23 am

Hi Team,

Any update here ...

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Fri Jun 07, 2024 10:00 am

Hi,

Thank you for your feedback.
I have already logged this issue into our bug tracking system with the number SPIREPDF-6819. Our development department will further investigate this issue and keep you updated with any progress.
Also, regarding the "xcb" related error message you encountered after entering the echo command on Ubuntu, the development team recommends trying again after running sudo apt-get install libxcb-cursor0.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Mon Jun 10, 2024 6:57 am

Hi Team,

Any update here ....

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Tue Jun 11, 2024 6:40 am

Hi Team,

Waiting for your reply or any updates on this ...

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Tue Jun 11, 2024 8:03 am

Hi,

Sorry for the delay in response due to the weekend and the Dragon Boat Festival holiday.
Our development department will prioritize investigating issues based on the following order: customers with paid support > ordinary customers with free support > non-purchased customers. Currently, we haven't found any relevant purchase information regarding your account.
If you have indeed made a purchase, please provide the authorized email address that you used during the purchase process. This will help us expedite the investigation and resolution of your issue. Thank you for your understanding and cooperation.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Tue Jun 11, 2024 9:43 am

Hi Team,

We have actually purchased license this and Iam one of the user of ceipalAdmin user team so please consider this issue on priority ,if any further details needed will share details via mail .

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Wed Jun 12, 2024 3:36 am

Hi,

Thank you for providing the information. I have checked your purchase record.
I have escalated the priority of your issue and urged our development team to investigate this problem. We will reply to you as soon as there is any progress. Thank you for your patience and understanding.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Mon Jun 17, 2024 6:32 am

Hi Team,

Any update for the above query...

tegav_pandey
 
Posts: 43
Joined: Thu Sep 21, 2023 1:15 pm

Mon Jun 17, 2024 9:42 am

Hi,

I'm sorry, but this issue has not been resolved yet. Due to the high complexity of the Qt plugin issue, the investigation by the development team generally takes longer. I have already prompted our development team, and we will notify you as soon as there are any updates. We apologize for any inconvenience caused.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 460
Joined: Mon Nov 07, 2022 8:10 am

Wed Jun 19, 2024 9:38 am

Hi Team,

We are waiting for solutions or any updates on this issue , as our productivity is more damaged due to we are not implementing this functionality to the market. please fix the issue ASAP.

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Return to Spire.PDF

cron