Closed maximilianschmidt closed 7 years ago
ok, nevermind. apparently its a bug with pdftk and mac os x sierra
@maximilianschmidt just encountered the same problem, although not on osx sierra. have you found a solution to this?
yes, please see this link: http://stackoverflow.com/questions/39750883/pdftk-hanging-on-macos-sierra
seems to be a special version of pdftk fixing this problem.
hi there,
i was just fiddling around with this module and was trying to get the
test.pdf
from/test/
filled out by running the first sample code from the readme. all im getting as a result is a random-named*.fdf
file (eg.temp_data1487871079565h1snj9fzwkpgfgdcgnwmi.fdf
).when i try to run the script with my own pdf and pass custom data a
test_complete.pdf
is created but its size is 0kb. no error messages whatsoever and no success callback either.heres my
index.js
and my package.json
am i missing something here? im pretty new to node, so please bear with me if i missed something obvious. still learning :)
cheers!
/edit
i suspect it has something to do with line 120 in the pdffillers
index.js
edit: boiled it down to the pdftk command not working for me. if i manually type
pdftk test.pdf fill_form temp.fdf output complete.pdf
in the terminal the same thing happens, just an 0kb complete.pdf is generated and the terminal seems to be doing nothing until i ctrl+c.