You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{message: 'params.get is not a function',stack: 'TypeError: params.get is not a function\n'+' at new CCITTFaxStream (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:26397:28)\n'+' at Parser_makeFilter [as makeFilter] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:24310:16)\n'+' at Parser_filter [as filter] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:24268:25)\n'+' at Parser_makeStream [as makeStream] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:24248:21)\n'+' at Parser_getObj [as getObj] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:24084:18)\n'+' at XRef_fetch [as fetch] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:5758:22)\n'+' at XRef_fetch [as fetch] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:5755:25)\n'+' at XRef_fetchIfRef [as fetchIfRef] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:5704:19)\n'+' at Dict_get [as get] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:4763:28)\n'+' at Dict_getAll [as getAll] (eval at <anonymous> (project_folder\\node_modules\\pdf2json\\lib\\pdf.js:62:1), <anonymous>:4814:24)'}Error: Page2: params.getisnotafunctionError: Page2: params.getisnotafunction
I'm getting this error when I want to load this PDF: https://gd.lu/rcsl/4hXzVq
Seems that I can't
try
catch
it :/Edit: I bypassed it by adding:
Here: https://github.com/modesty/pdf2json/blob/master/base/core/stream.js#L1650
But I don't know if it's a good fix or no.
The text was updated successfully, but these errors were encountered: