wkhtmltopdf / packaging

Packaging of wkhtmltopdf releases
https://wkhtmltopdf.org/downloads.html#stable
308 stars 141 forks source link

Vagrant images do not work #104

Open ZawadzkiKonrad opened 2 years ago

ZawadzkiKonrad commented 2 years ago

Hi! I need packaging a wkhtml to windows 10, i try do this with Your instruction, but i have a lot of errors.. 1: curl: (60) SSL certificate problem: certificate has expire 2: Installing vcbuildtools... windows: WARNING: Generic MSI Error. This is a local environment error, not an issue with a package or the MSI itself - it could mean a pending reboot is necessary prior to install or something else (like the same version is already installed). Please see MSI log if available (...) 3: The install of vcbuildtools was NOT successful. windows: Error while running 'C:\ProgramData\chocolatey\lib\vcbuildtools\tools\chocolateyinstall.ps1'. windows: See log for details. windows: windows: Chocolatey installed 4/5 packages. 1 packages failed.

Please help, because i'm doping this 3 days and nothing..

ZawadzkiKonrad commented 2 years ago

when i try again i have another, but onlu 1 error: windows: Machine already provisioned. Run vagrant provision or use the --provision ==> windows: flag to force provisioning. Provisioners marked to run always will still run. The source and destination cannot both be remote. rsync error: syntax or usage error (code 1) at main.c(1420) [Receiver=3.2.3] rsync --info=progress2 -a -e "ssh -F vagrant/.vagrant/windows_config" --delete --exclude .git C:\Users\48797\Documents\web\wkhtml/ windows:/c/Users/vagrant/msvc2015-win64/src command failed: exit code 1

why destination and source is remote, i don't understand..

ashkulz commented 2 years ago

Why are you not able to use the builds from the official site?

ZawadzkiKonrad commented 2 years ago

Hi! Because when i try to generate pdf with header and footer with data in header loaded from the database the generated pdf is sometimes missing headers or footers. This problem resolve " window.status = 'ready_to_print' " from version 0.12.1, but also i need watermarks(transparent header on every page) from version 0.12.5.

Some like here: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4885

ashkulz commented 2 years ago

I haven't checked the Vagrant build in a long time, just used the GH Action for the builds -- not sure if that's working, tbh. PRs are welcome as I don't use Windows for a long time :man_shrugging:

DipaZ commented 2 years ago

when i try again i have another, but onlu 1 error: windows: Machine already provisioned. Run vagrant provision or use the --provision ==> windows: flag to force provisioning. Provisioners marked to run always will still run. The source and destination cannot both be remote. rsync error: syntax or usage error (code 1) at main.c(1420) [Receiver=3.2.3] rsync --info=progress2 -a -e "ssh -F vagrant/.vagrant/windows_config" --delete --exclude .git C:\Users\48797\Documents\web\wkhtml/ windows:/c/Users/vagrant/msvc2015-win64/src command failed: exit code 1

why destination and source is remote, i don't understand..

Hi! Same problem here, i need to repack component to try to resolve https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4344 problem, but i receive the same error. Any solution?