Open
Description
I'm using scribe.js to batch process a large number of PDFs. The error below keeps emerging from time to time. Its appearance is pretty random and is NOT related to specific PDFs. After restarting the batch process, it processes that specific PDF just fine.
file:///home/node/node_modules/.pnpm/[email protected]/node_modules/scribe.js-ocr/js/generalWorkerMain.js:335
if (gs.schedulerInner.workers.length > 0) {
^
TypeError: Cannot read properties of null (reading 'workers')
at gs.initTesseract (file:///home/node/node_modules/.pnpm/[email protected]/node_modules/scribe.js-ocr/js/generalWorkerMain.js:335:27)
at async Promise.all (index 2)
at async init (file:///home/node/node_modules/.pnpm/[email protected]/node_modules/scribe.js-ocr/scribe.js:77:3)
Node.js v22.11.0
Metadata
Metadata
Assignees
Labels
No labels