Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Not able install or package myself #59

Description

@mojidabckuu

Opened this issue due to missing troubleshooting guide.
Got Ubuntu bionic instance in DO.
Inside a docker container tried to install it using apt-get install and when I run got

QXcbConnection: Could not connect to display 
Aborted (core dumped)

Tried to build a binary myself using the installation guide and performed next commands on machine with client ubuntu version

git clone --recurse-submodules https://github.com/wkhtmltopdf/wkhtmltopdf
git clone --recurse-submodules https://github.com/wkhtmltopdf/packaging
cd packaging
sudo ./build package-docker bionic-amd64 ../wkhtmltopdf

It take some time and at the end I found targets folder with some result. Tried again to convert a file from html to pdf and got the same error output. But on the client ubuntu version it works fine.
What I am doing wrong?

UPDATE:
If I download tar from https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz and unpack then everything works fine

UPDATE 2:
Downloaded generic-amd64 truncates html and renders with errors. Splits into 2 pages and right side is truncated
Screenshot 2020-03-25 at 23 44 43
Screenshot 2020-03-25 at 23 44 38

UPDATE 3
If I try to download from here https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-dev-20200127/wkhtmltox_0.12.6-0.20200125.25.dev.ba575ea.bionic_amd64.deb and install using dpkg -I .. then I get

dpkg: dependency problems prevent configuration of wkhtmltox:
 wkhtmltox depends on libjpeg-turbo8; however:
  Package libjpeg-turbo8 is not installed.
 wkhtmltox depends on xfonts-75dpi; however:
  Package xfonts-75dpi is not installed.

dpkg: error processing package wkhtmltox (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wkhtmltox

UPDATE 4
Tried deb from the latest dev release on exiting 14.04 Ubuntu instance and works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions