rishikanthc / Scriberr

Self-hosted AI audio transcription
https://scriberr.app
MIT License
389 stars 16 forks source link

Transcription Fails After Uploading MP3 (Exit Code 132) #25

Open BranaHawk9 opened 3 days ago

BranaHawk9 commented 3 days ago

Platform: Ubuntu 22.04.5 LTS

When uploading an MP3 file, the upload process starts but stops after a few seconds. The following error message appears in the Docker container logs:

Done: rr-1 | stderr: scriberr-1 | stderr: 100% scriberr-1 | Read 14834022 frames scriberr-1 | Generated 57946 points scriberr-1 | Output file: /scriberr/audio/plfi8hr5fai1l2v/plfi8hr5fai1l2v.mp3.json scriberr-1 | scriberr-1 | stderr: Done scriberr-1 | scriberr-1 | stderr: Illegal instruction (core dumped) scriberr-1 | scriberr-1 | Error: Command failed with exit code 132 scriberr-1 | at ChildProcess. (file:///app/build/server/chunks/queue-Ckp2S0FN.js:43898:16) scriberr-1 | at ChildProcess.emit (node:events:531:35) scriberr-1 | at maybeClose (node:internal/child_process:1104:16) scriberr-1 | at ChildProcess._handle.onexit (node:internal/child_process:304:5)

docker-compose.txt log.txt

rishikanthc commented 3 days ago

Is this with auto diarization enabled or disabled ?

BranaHawk9 commented 3 days ago

That's with auto diarization disabled. With it enabled I get this:

Done: 99%1 | stderr: Done: 100% | stderr: scriberr-1 | Read 14834022 frames scriberr-1 | Generated 57946 points scriberr-1 | Output file: /scriberr/audio/3hdawmyaifri2c0/3hdawmyaifri2c0.mp3.json scriberr-1 | scriberr-1 | stderr: Done scriberr-1 | scriberr-1 | stdout: Loading pyannote pipeline from /Users/richandrasekaran/Code/Scriberr/diarize/models/pyannote_diarization_config.yaml... scriberr-1 | Changing working directory to /Users/richandrasekaran/Code/Scriberr/diarize scriberr-1 | scriberr-1 | stderr: Traceback (most recent call last): scriberr-1 | File "/app/./diarize/local.py", line 47, in scriberr-1 | pipeline = load_pipeline_from_pretrained(PATH_TO_CONFIG) scriberr-1 | File "/app/./diarize/local.py", line 37, in load_pipeline_from_pretrained scriberr-1 | os.chdir(cd_to) scriberr-1 | FileNotFoundError: [Errno 2] No such file or directory: '/Users/richandrasekaran/Code/Scriberr/diarize' scriberr-1 | scriberr-1 | Error: Command failed with exit code 1 scriberr-1 | at ChildProcess. (file:///app/build/server/chunks/queue-Ckp2S0FN.js:43898:16) scriberr-1 | at ChildProcess.emit (node:events:531:35) scriberr-1 | at maybeClose (node:internal/child_process:1104:16) scriberr-1 | at ChildProcess._handle.onexit (node:internal/child_process:304:5)

rishikanthc commented 2 days ago

This error makes sense. I'm a little confused by the non diarized one. I'll debug this.

rishikanthc commented 19 hours ago

Can you try the latest release 0.3.0 ? I have changed the docker base image and built new packages. I have tested them on my machine as best as I can. Let me know if this one works for you.