pdf2json
pdf2json copied to clipboard
Command 6: because expected 2 args, but received 0 args; skipping & Unhandled rejection: Error: Illegal character: 41
Hi,
I was using this lib for last few months, but 2 days back i am unable to parse the pdfs. after enabling the logs i see following errors.
Since test file is confidential I cannot publish it here. I can provide the same via email on request.
Can you please help.?
Info: about to load PDF file .\inputs\PREF_0001_26-5000.pdf
Info: Load PDF file status:Success!
Warning: Setting up fake worker.
Info: PDF loaded. pagesCount = 1
Info: start to parse page:1
Info: Command 6: because expected 2 args, but received 0 args; skipping
Warning: Unknown command "X"
Warning: Unknown command "]"
Info: Command 24: expected 0 args, but received 1 args
Warning: Unknown command "V6&="
Warning: Unknown command ">"
Info: Command 4: because expected 1 args, but received 0 args; skipping
Info: Command 15: because expected 6 args, but received 0 args; skipping
Info: Command 5: because expected 1 args, but received 0 args; skipping
Warning: Unknown command "p`"
Info: Command 13: because expected 2 args, but received 0 args; skipping
Info: Command 14: because expected 2 args, but received 0 args; skipping
Warning: Unknown command "]"
Warning: Unhandled rejection: Error: Illegal character: 41
Error: Illegal character: 41
at error (eval at