This repository was archived by the owner on Jun 30, 2025. It is now read-only.
feat(extractors): refactor image extraction to use child_process for Tesseract #1
Annotations
6 errors and 1 warning
|
src/extractors/img.extractor.ts#L26
Error: write EPIPE
❯ afterWriteDispatched node:internal/stream_base_commons:159:15
❯ writeGeneric node:internal/stream_base_commons:150:3
❯ Socket._writeGeneric node:net:964:11
❯ Socket._write node:net:976:8
❯ writeOrBuffer node:internal/streams/writable:572:12
❯ _write node:internal/streams/writable:501:10
❯ Socket.Writable.write node:internal/streams/writable:510:10
❯ content src/extractors/img.extractor.ts:26:19
❯ Object.extract src/extractors/img.extractor.ts:17:30
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -32, code: 'EPIPE', syscall: 'write' }
This error originated in "src/extractors.usecases.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "fixture fixtures/006.png". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
src/extractors/img.extractor.ts#L26
Error: write EPIPE
❯ afterWriteDispatched node:internal/stream_base_commons:159:15
❯ writeGeneric node:internal/stream_base_commons:150:3
❯ Socket._writeGeneric node:net:964:11
❯ Socket._write node:net:976:8
❯ writeOrBuffer node:internal/streams/writable:572:12
❯ _write node:internal/streams/writable:501:10
❯ Socket.Writable.write node:internal/streams/writable:510:10
❯ content src/extractors/img.extractor.ts:26:19
❯ Object.extract src/extractors/img.extractor.ts:17:30
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -32, code: 'EPIPE', syscall: 'write' }
This error originated in "src/extractors.usecases.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "fixture fixtures/007.jpg". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
src/extractors.usecases.test.ts#L46
AssertionError: expected Error: Command failed: tesseract stdin st… { …(4) } to deeply equal undefined
- Expected:
undefined
+ Received:
Error {
"message": "Command failed: tesseract stdin stdout
/bin/sh: 1: tesseract: not found
",
"code": 127,
"killed": false,
"signal": null,
"cmd": "tesseract stdin stdout",
}
❯ src/extractors.usecases.test.ts:46:28
|
|
src/extractors.usecases.test.ts#L46
AssertionError: expected Error: Command failed: tesseract stdin st… { …(4) } to deeply equal undefined
- Expected:
undefined
+ Received:
Error {
"message": "Command failed: tesseract stdin stdout
/bin/sh: 1: tesseract: not found
",
"code": 127,
"killed": false,
"signal": null,
"cmd": "tesseract stdin stdout",
}
❯ src/extractors.usecases.test.ts:46:28
|
|
src/extractors.usecases.test.ts#L46
AssertionError: expected Error: Command failed: tesseract stdin st… { …(4) } to deeply equal undefined
- Expected:
undefined
+ Received:
Error {
"message": "Command failed: tesseract stdin stdout
/bin/sh: 1: tesseract: not found
",
"code": 127,
"killed": false,
"signal": null,
"cmd": "tesseract stdin stdout",
}
❯ src/extractors.usecases.test.ts:46:28
|
|
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading