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

Aborting IOException from AudioTranscriptTask #1765

Closed
lfcnassif opened this issue Jul 12, 2023 · 0 comments
Closed

Aborting IOException from AudioTranscriptTask #1765

lfcnassif opened this issue Jul 12, 2023 · 0 comments
Assignees
Labels

Comments

@lfcnassif
Copy link
Member

lfcnassif commented Jul 12, 2023

If an error happens reading a file (FS corrupted, bad block, etc) and transcription is enabled, processing is aborting with:

Caused by: java.io.IOException: SleuthkitServer 6 error: Error reading file 'XXXXXXXXXX.XXX:DECOMP' (id=829808) at offset 0.
	at iped.engine.sleuthkit.SleuthkitClientInputStream.waitServerResponse(SleuthkitClientInputStream.java:144) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.sleuthkit.SleuthkitClientInputStream.sendRead(SleuthkitClientInputStream.java:97) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.sleuthkit.SleuthkitClientInputStream.readIn(SleuthkitClientInputStream.java:66) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.sleuthkit.SleuthkitClientInputStream.read(SleuthkitClientInputStream.java:50) ~[iped-engine-4.1.3.jar:?]
	at java.io.BufferedInputStream.fill(Unknown Source) ~[?:?]
	at java.io.BufferedInputStream.read1(Unknown Source) ~[?:?]
	at java.io.BufferedInputStream.read(Unknown Source) ~[?:?]
	at java.io.InputStream.transferTo(Unknown Source) ~[?:?]
	at java.nio.file.Files.copy(Unknown Source) ~[?:?]
	at iped.engine.data.Item.getTempFile(Item.java:608) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.transcript.RemoteWav2Vec2TranscriptTask.getTempFileToTranscript(RemoteWav2Vec2TranscriptTask.java:196) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.transcript.AbstractTranscriptTask.process(AbstractTranscriptTask.java:384) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.transcript.AudioTranscriptTask.process(AudioTranscriptTask.java:41) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processMonitorTimeout(AbstractTask.java:277) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:192) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.sendToNextTask(AbstractTask.java:225) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.task.AbstractTask.processAndSendToNextTask(AbstractTask.java:205) ~[iped-engine-4.1.3.jar:?]
	at iped.engine.core.Worker.process(Worker.java:177) ~[iped-engine-4.1.3.jar:?]
	... 1 more

We should skip the file like other modules.

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

No branches or pull requests

1 participant