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.

Fri Apr 07, 2023 9:56 am

Hello,

according to your feedback of the abnormal information, we believe that it may be caused by the lack of graphical interface support. Converting html to pdf using the qt plugin requires graphical interface support, which is lacking in your environment.

To do this, we recommend that you install Xvfb (X Virtual Framebuffer), which is a virtual X server that can provide an X environment without a physical display. With it, you can run GUI applications in the background and draw graphics to the virtual display device it provides, without the need for a real physical display.
After installing Xvfb, you can run again the command echo "<p>test text</p>" | ./Html2Pdf "placeholder" "output.pdf" 800 600 0 0 0 0 1

The install command for Xvfb:
Code: Select all
yum updata
yum install Xvfb
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Fri Apr 07, 2023 1:31 pm

Hi Team,

For your information we are using the OS Ubuntu 20.04.5 LTS. So, we have already installed the xvfb with apt, check the following

root@naukri-linux:~# apt-get install xvfb
Reading package lists... Done
Building dependency tree
Reading state information... Done
xvfb is already the newest version (2:1.20.13-1ubuntu1~20.04.8).
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
root@naukri-linux:~#

Also, yum package installation is not possible in the Ubuntu. So, Please check & let us know the update.

Thanks,
Arun

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

Tue Apr 11, 2023 10:10 am

Hello,

Thanks for your feedback.
You can refer to the help document to install libxcb-xinerama0, if this doesn’t help you, just write back.
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Mon Apr 17, 2023 7:40 am

Hi,

We have successfully installed the "libxcb-xinerama0" but no luck. So, it's almost 6 months this issue was not move forward & didn't get any help.

I think it's better to connect once, rather wasting time. So, please understand & let's connect 1hr call to close the issue.

Thanks,
Arun

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

Mon Apr 17, 2023 10:27 am

Hello,

Thanks for your feedback.
Sorry, we are not Local English speaker and we could not understand the oral English well. To help us reproduce your issue and work out a solution for you, you can provide your document and code that can reproduce your problem. In addition, Skype typing also is available from us. Our Skype is iceblue.support.

For your issue, it is recommended that you search by Google ((Could not load the Qt platform plugin "xcb" in "" even though it was found.)) to see other people's solutions and try them out. Of course, you can also change a linux server test to see.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Wed Apr 19, 2023 10:19 am

Hi Support,

I hope you might understand our request. This issue is running from last 6 months & we have tried all possible ways which suggested by your team.

We requesting you to schedule a meeting to resolve the issue in our environment. Let me try the setup the in the linux machine once & update you.

Thanks,
Arun

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

Fri Apr 21, 2023 10:05 am

Hello,

Please try installing some dependencies with the following command:
Code: Select all
sudo apt-get install libxcb-xinerama0
sudo apt-get install libxcb-xinerama0-dev
sudo apt-get install libxcb-xkb1
sudo apt-get install libxcb-xkb-dev
sudo apt-get install libxcb-render-util0
sudo apt-get install libxcb-render-util0-dev


If you have installed these packages and still cannot resolve the problem, try updating them:
Code: Select all
sudo apt-get update
sudo apt-get upgrade


If the above steps do not work, we recommend creating a Ubuntu account so that we can remotely connect to your Linux system to help investigate the issue. If this is not feasible, it may be necessary for us to remotely access your computer in real-time to communicate and diagnose the issue. In the past, we have used TeamViewer to communicate with other clients. If it is necessary to conduct a live remote session, please let us know what software and time period would be most suitable for you. (Our working hours are from 9:00 to 12:00 and from 14:00 to 18:00 UTC.)

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Tue Apr 25, 2023 3:05 pm

Hi Support,

We have followed the given steps. But still the conversion is not working. So, we can connect over the Team Viewer / AnyDesk for the support.

Thanks in advance.

Regards,
Arun

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

Thu Apr 27, 2023 9:57 am

Hello,

Thanks for your feedback.
According to the help document online, if you use root account to test, please go to the QT plugin folder and execute the following instruction, if there are throw the message that xxx dependences not found, please install them.
Code: Select all
sudo echo "<p>test text</p>" |  Xvfb-run ./Html2Pdf "placeholder" "output.pdf" 800 600 0 0 0 0 1

To help us use Teamviewer to connect your computer, please offer the ID and password of TeamViewer via email ([email protected]) as shown in the screenshot below. In addition, If you have any other real-time chat software (such as Skype), please let me know your nickname so that I can add you as a friend. This way we can communicate better to ensure a smoother remote computer connection.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Wed May 10, 2023 10:00 am

Team,

Can we connect tomorrow 3Pm to 5Pm IST

Thanks!
Arun.

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

Thu May 11, 2023 1:43 am

Hello,

What time zone is it from 3:00 to 5:00? We use UTC+8. I think we'd better add a friend of software that can communicate in real time, such as Twitter or Skype, because I can't follow your messages in real time from the forum.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.PDF

cron