Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info. #849

Closed
vodinhht20 opened this issue Oct 30, 2023 · 2 comments

Comments

@vodinhht20
Copy link

vodinhht20 commented Oct 30, 2023

Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)

Describe the bug
Uncaught Error: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.

To Reproduce
createWorker.js:173 Uncaught Error: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
at createWorker.js:173:1
at worker.onmessage (onMessage.js:3:1)

const worker = await createWorker({
      langPath: '...',
      logger: m => console.log(m),
  });
  await worker.load();
  console.log("language", language);
  await worker.loadLanguage(language);
  await worker.initialize(language);
  console.log("whileList", whileList);
  await worker.setParameters({
      tessedit_char_whitelist: whileList
  });
  const { data: { text } } = await worker.recognize(dataImag);
@Balearica
Copy link
Collaborator

Please fill out the entire bug report issue template. Notably, we have fields for both the Tesseract.js version number and the device/browser version, and you provided neither.

@Balearica
Copy link
Collaborator

Closing. We can reopen if the issue is edited to provide the necessary info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants