Cant get it to work (log entries attached) #265
Replies: 6 comments 2 replies
|
Thanks for the log. I've been able to reproduce. This isn't a you issue, this is a me issue. I'll fix it up and get back to you. |
|
Pushed a new docker image, please let me know! Thanks |
|
Excellent Thank you!! Appears to be working but might take a while as using cpu. Anyway to get this to use amd igpu? Long shot I know!! Also does it attempt to download subtitles first before using whisper? Thanks again |
|
Ok makes sense. Nice work btw, looking forward to the results later! |
|
Ok so the first episode looks like it worked. File has been generated and translation looks fine. Just tried to to the same on the second episode and this is the log: 2026-01-12T10:42:56.669458856Z 2026-01-12 10:42:56,669 INFO: Threads: 4, Concurrent transcriptions: 2 2026-01-12T10:42:56.669464116Z 2026-01-12 10:42:56,669 INFO: Transcribe device: cpu, Model: medium 2026-01-12T10:42:56.686258655Z INFO: Started server process [7] 2026-01-12T10:42:56.686278462Z INFO: Waiting for application startup. 2026-01-12T10:42:56.686455469Z INFO: Application startup complete. 2026-01-12T10:42:56.686670201Z INFO: Uvicorn running on http://0.0.0.0:9090 (Press CTRL+C to quit) 2026-01-12T10:42:59.834679669Z 2026-01-12 10:42:59,834 INFO: Translate of file '/media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The Origins (2026) - S01E02 - Episode 2 [WEBDL-720p][EAC3 5.1][h264]-ENCRyPTED.mkv' from Bazarr/ASR webhook 2026-01-12T10:42:59.834707421Z 2026-01-12 10:42:59,834 DEBUG: Model was purged, need to re-create 2026-01-12T10:43:03.573186241Z 2026-01-12 10:43:03,572 INFO: Task Bazarr-asr-eM3hN9 is being handled by ASR. 2026-01-12T10:43:04.131123248Z 2026-01-12 10:43:04,130 INFO: Processing audio with duration 48:36.544 2026-01-12T10:43:13.093058943Z Detected Language: italian 2026-01-12T10:43:23.461364802Z 2026-01-12T10:44:15.659630838Z 2026-01-12T10:44:31.775415901Z 2026-01-12T10:44:45.226472541Z 2026-01-12T10:46:14.102185956Z 2026-01-12T10:46:56.307544214Z 2026-01-12T10:47:58.195265944Z 2026-01-12T10:49:52.650381063Z 2026-01-12 10:49:52,649 DEBUG: No speech threshold is met (0.724858 > 0.600000) 2026-01-12T10:50:13.022716571Z 2026-01-12T10:50:35.418280968Z 2026-01-12T10:50:57.380541882Z 2026-01-12T10:51:12.793289834Z 2026-01-12T10:52:32.766097705Z 2026-01-12 10:52:32,761 DEBUG: No speech threshold is met (0.773592 > 0.600000) 2026-01-12T10:53:58.121848935Z 2026-01-12 10:53:58,121 DEBUG: No speech threshold is met (0.951840 > 0.600000) 2026-01-12T10:54:10.824510126Z 2026-01-12T10:54:35.080432633Z 10.589602806Z 2026-01-12T10:55:48.616752621Z 2026-01-12T10:56:44.116260970Z 2026-01-12T10:56:59.073567385Z 2026-01-12T10:57:41.313353852Z Transcribing with faster-whisper (medium)... 2026-01-12T10:57:41.313556795Z subgen.py exists and UPDATE is set to False, skipping download. 2026-01-12T10:57:41.313561955Z Launching subgen.py 2026-01-12T10:57:41.313564830Z Error running subgen.py: Command '['python3', '-u', 'subgen.py']' died with <Signals.SIGKILL: 9>. 2026-01-12T10:57:45.963701294Z 2026-01-12 10:57:45,963 INFO: Subgen v2026.01.9 2026-01-12T10:57:45.963749615Z 2026-01-12 10:57:45,963 INFO: Threads: 4, Concurrent transcriptions: 2 2026-01-12T10:57:45.963763311Z 2026-01-12 10:57:45,963 INFO: Transcribe device: cpu, Model: medium 2026-01-12T10:57:45.985902710Z INFO: Started server process [7] 2026-01-12T10:57:45.985923248Z INFO: Waiting for application startup. 2026-01-12T10:57:45.986200376Z INFO: Application startup complete. 2026-01-12T10:57:45.986504412Z INFO: Uvicorn running on http://0.0.0.0:9090 (Press CTRL+C to quit) 2026-01-12T10:57:47.335144611Z 2026-01-12 10:57:47,334 INFO: Translate of file '/media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The Origins (2026) - S01E02 - Episode 2 [WEBDL-720p][EAC3 5.1][h264]-ENCRyPTED.mkv' from Bazarr/ASR webhook 2026-01-12T10:57:47.335172042Z 2026-01-12 10:57:47,335 DEBUG: Model was purged, need to re-create 2026-01-12T10:57:51.622554030Z 2026-01-12 10:57:51,622 INFO: Task Bazarr-asr-FYCagP is being handled by ASR. 2026-01-12T10:57:52.359231705Z 2026-01-12 10:57:52,358 INFO: Processing audio with duration 48:36.544 It keeps failing and starting again. Any ideas? |
|
SIGKILL: 9 is your host killing the process for insufficient resources.
Usually ram.
…On Mon, Jan 12, 2026 at 6:04 AM carlomoretto27 ***@***.***> wrote:
Ok so the first episode looks like it worked. File has been generated and
translation looks fine.
Just tried to to the same on the second episode and this is the log:
2026-01-12T10:42:56.669458856Z 2026-01-12 10:42:56,669 INFO: Threads: 4,
Concurrent transcriptions: 2
2026-01-12T10:42:56.669464116Z 2026-01-12 10:42:56,669 INFO: Transcribe
device: cpu, Model: medium
2026-01-12T10:42:56.686258655Z INFO: Started server process [7]
2026-01-12T10:42:56.686278462Z INFO: Waiting for application startup.
2026-01-12T10:42:56.686455469Z INFO: Application startup complete.
2026-01-12T10:42:56.686670201Z INFO: Uvicorn running on
http://0.0.0.0:9090 (Press CTRL+C to quit)
2026-01-12T10:42:59.834679669Z 2026-01-12 10:42:59,834 INFO: Translate of
file '/media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The
Origins (2026) - S01E02 - Episode 2 [WEBDL-720p][EAC3
5.1][h264]-ENCRyPTED.mkv' from Bazarr/ASR webhook
2026-01-12T10:42:59.834707421Z 2026-01-12 10:42:59,834 DEBUG: Model was
purged, need to re-create
2026-01-12T10:43:03.573186241Z 2026-01-12 10:43:03,572 INFO: Task
Bazarr-asr-eM3hN9 is being handled by ASR.
2026-01-12T10:43:04.131123248Z 2026-01-12 10:43:04,130 INFO: Processing
audio with duration 48:36.544
2026-01-12T10:43:13.093058943Z Detected Language: italian
2026-01-12T10:43:23.461364802Z
Translate: 0%| | 0/2916.54 [00:00<?, ?sec/s]2026-01-12 10:43:23,461 DEBUG:
No speech threshold is met (0.890045 > 0.600000)
2026-01-12T10:44:15.659630838Z
Translate: 1%| | 32.46/2916.54 [01:02<1:32:38, 1.93s/sec]2026-01-12
10:44:15,659 INFO:
2026-01-12T10:44:31.775415901Z
Translate: 2%|▏ | 62.88/2916.54 [01:18<53:37, 1.13s/sec] 2026-01-12
10:44:31,775 INFO:
2026-01-12T10:44:45.226472541Z
Translate: 3%|▎ | 92.88/2916.54 [01:32<38:47, 1.21sec/s]2026-01-12
10:44:45,226 INFO:
2026-01-12T10:46:14.102185956Z
Translate: 4%|▍ | 131.0/2916.54 [03:01<1:09:35, 1.50s/sec]2026-01-12
10:46:14,101 INFO:
2026-01-12T10:46:56.307544214Z
Translate: 5%|▌ | 152.0/2916.54 [03:43<1:15:11, 1.63s/sec]2026-01-12
10:46:56,307 INFO:
2026-01-12T10:47:58.195265944Z
Translate: 7%|▋ | 209.78/2916.54 [04:45<1:00:49, 1.35s/sec]2026-01-12
10:47:58,195 INFO:
2026-01-12T10:49:52.650381063Z 2026-01-12 10:49:52,649 DEBUG: No speech
threshold is met (0.724858 > 0.600000)
2026-01-12T10:50:13.022716571Z
Translate: 8%|▊ | 241.54/2916.54 [06:59<1:36:49, 2.17s/sec]2026-01-12
10:50:13,022 INFO:
2026-01-12T10:50:35.418280968Z
Translate: 9%|▉ | 268.88/2916.54 [07:22<1:20:22, 1.82s/sec]2026-01-12
10:50:35,418 INFO:
2026-01-12T10:50:57.380541882Z
Translate: 10%|█ | 295.72/2916.54 [07:44<1:07:53, 1.55s/sec]2026-01-12
10:50:57,380 INFO:
2026-01-12T10:51:12.793289834Z
Translate: 11%|█▏ | 328.98/2916.54 [07:59<51:56, 1.20s/sec] 2026-01-12
10:51:12,793 INFO:
2026-01-12T10:52:32.766097705Z 2026-01-12 10:52:32,761 DEBUG: No speech
threshold is met (0.773592 > 0.600000)
2026-01-12T10:53:58.121848935Z 2026-01-12 10:53:58,121 DEBUG: No speech
threshold is met (0.951840 > 0.600000)
2026-01-12T10:54:10.824510126Z
Translate: 14%|█▍ | 410.98/2916.54 [10:57<1:11:42, 1.72s/sec]2026-01-12
10:54:10,824 INFO:
2026-01-12T10:54:35.080432633Z
Translate: 15%|█▌ | 444.58/2916.54 [11:21<1:01:01, 1.48s/sec]2026-01-12
10:54:35,080 INFO:
10.589602806Z
Translate: 16%|█▌ | 465.68/2916.54 [11:57<1:01:57, 1.52s/sec]2026-01-12
10:55:10,589 INFO:
2026-01-12T10:55:48.616752621Z
Translate: 18%|█▊ | 512.1/2916.54 [12:35<50:51, 1.27s/sec] 2026-01-12
10:55:48,616 INFO:
2026-01-12T10:56:44.116260970Z
Translate: 18%|█▊ | 519.36/2916.54 [13:31<1:09:25, 1.74s/sec]2026-01-12
10:56:44,116 INFO:
2026-01-12T10:56:59.073567385Z
Translate: 19%|█▉ | 559.8/2916.54 [13:45<48:25, 1.23s/sec] 2026-01-12
10:56:59,073 INFO:
2026-01-12T10:57:41.313353852Z Transcribing with faster-whisper (medium)...
Environment variables have been loaded from subgen.env
2026-01-12T10:57:41.313556795Z subgen.py exists and UPDATE is set to
False, skipping download.
2026-01-12T10:57:41.313561955Z Launching subgen.py
2026-01-12T10:57:41.313564830Z Error running subgen.py: Command
'['python3', '-u', 'subgen.py']' died with <Signals.SIGKILL: 9>.
2026-01-12T10:57:45.963701294Z 2026-01-12 10:57:45,963 INFO: Subgen
v2026.01.9
2026-01-12T10:57:45.963749615Z 2026-01-12 10:57:45,963 INFO: Threads: 4,
Concurrent transcriptions: 2
2026-01-12T10:57:45.963763311Z 2026-01-12 10:57:45,963 INFO: Transcribe
device: cpu, Model: medium
2026-01-12T10:57:45.985902710Z INFO: Started server process [7]
2026-01-12T10:57:45.985923248Z INFO: Waiting for application startup.
2026-01-12T10:57:45.986200376Z INFO: Application startup complete.
2026-01-12T10:57:45.986504412Z INFO: Uvicorn running on
http://0.0.0.0:9090 (Press CTRL+C to quit)
2026-01-12T10:57:47.335144611Z 2026-01-12 10:57:47,334 INFO: Translate of
file '/media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The
Origins (2026) - S01E02 - Episode 2 [WEBDL-720p][EAC3
5.1][h264]-ENCRyPTED.mkv' from Bazarr/ASR webhook
2026-01-12T10:57:47.335172042Z 2026-01-12 10:57:47,335 DEBUG: Model was
purged, need to re-create
2026-01-12T10:57:51.622554030Z 2026-01-12 10:57:51,622 INFO: Task
Bazarr-asr-FYCagP is being handled by ASR.
2026-01-12T10:57:52.359231705Z 2026-01-12 10:57:52,358 INFO: Processing
audio with duration 48:36.544
It keeps failing and starting again. Any ideas?
—
Reply to this email directly, view it on GitHub
<#265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APJACQOG4EPEWQSWV5AMM234GN5SDAVCNFSM6AAAAACRLIXO4SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKNBXGQ2DCMY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Uh oh!
There was an error while loading. Please reload this page.
Hi Guys,
Have got this running using docker container and bazarr successfully connects to it but when trying to generate subtitles I get the following in the log
2026-01-11 20:30:37,487 INFO: Translate of file '/media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The Origins (2026) - S01E01 - TBA [WEBDL-720p][EAC3 5.1][h264]-ENCRyPTED.mkv' from Bazarr/ASR webhook
2026-01-11 20:30:37,487 DEBUG: Model was purged, need to re-create
2026-01-11 20:30:37,487 DEBUG: close.started
2026-01-11 20:30:37,488 DEBUG: close.complete
2026-01-11 20:30:37,488 DEBUG: close.started
2026-01-11 20:30:37,488 DEBUG: close.complete
2026-01-11 20:30:37,488 DEBUG: close.started
2026-01-11 20:30:37,488 DEBUG: close.complete
2026-01-11 20:30:37,488 DEBUG: close.started
2026-01-11 20:30:37,488 DEBUG: close.complete
2026-01-11 20:30:37,488 DEBUG: connect_tcp.started host='huggingface.co' port=443 local_address=None timeout=None socket_options=None
2026-01-11 20:30:37,496 DEBUG: connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7c3c6e410150>
2026-01-11 20:30:37,496 DEBUG: start_tls.started ssl_context=<ssl.SSLContext object at 0x7c3c6e242720> server_hostname='huggingface.co' timeout=None
2026-01-11 20:30:37,507 DEBUG: start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7c3c6fe4bc10>
2026-01-11 20:30:37,507 DEBUG: send_request_headers.started request=<Request [b'GET']>
2026-01-11 20:30:37,507 DEBUG: send_request_headers.complete
2026-01-11 20:30:37,508 DEBUG: send_request_body.started request=<Request [b'GET']>
2026-01-11 20:30:37,508 DEBUG: send_request_body.complete
2026-01-11 20:30:37,508 DEBUG: receive_response_headers.started request=<Request [b'GET']>
2026-01-11 20:30:37,608 DEBUG: receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Content-Type', b'application/json; charset=utf-8'), (b'Content-Length', b'1895'), (b'Connection', b'keep-alive'), (b'Date', b'Sun, 11 Jan 2026 20:30:37 GMT'), (b'ETag', b'W/"767-/q7DPBMmOmtY4y8I1JEgFV6vfuY"'), (b'X-Powered-By', b'huggingface-moon'), (b'X-Request-Id', b'Root=1-6964086d-0fb5a66350cea89b395c9873;66732037-3556-4975-9bf4-d71ffa3e6e45'), (b'RateLimit', b'"api";r=499;t=247'), (b'RateLimit-Policy', b'"fixed window";"api";q=500;w=300'), (b'cross-origin-opener-policy', b'same-origin'), (b'Referrer-Policy', b'strict-origin-when-cross-origin'), (b'Access-Control-Max-Age', b'86400'), (b'Access-Control-Allow-Origin', b'https://huggingface.co'), (b'Vary', b'Origin'), (b'Access-Control-Expose-Headers', b'X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,X-Total-Count,ETag,Link,Accept-Ranges,Content-Range,X-Linked-Size,X-Linked-ETag,X-Xet-Hash'), (b'X-Cache', b'Miss from cloudfront'), (b'Via', b'1.1 552bb7d834a339e45636651342ba0b78.cloudfront.net (CloudFront)'), (b'X-Amz-Cf-Pop', b'LHR3-P3'), (b'X-Amz-Cf-Id', b'ZUC7UWlUFqHV50n2SekhraAvs2tVzrCqweLDTopDsLLCsYtl2YCScQ==')])
2026-01-11 20:30:37,608 INFO: HTTP Request: GET https://huggingface.co/api/models/Systran/faster-whisper-tiny/revision/main "HTTP/1.1 200 OK"
2026-01-11 20:30:37,608 DEBUG: receive_response_body.started request=<Request [b'GET']>
2026-01-11 20:30:37,608 DEBUG: receive_response_body.complete
2026-01-11 20:30:37,608 DEBUG: response_closed.started
2026-01-11 20:30:37,608 DEBUG: response_closed.complete
2026-01-11 20:30:37,862 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:38,038 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:38,135 INFO: Task Bazarr-asr-g8Zj13 is being handled by ASR.
2026-01-11 20:30:38,136 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:39,136 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:39,257 ERROR: Error processing or Translate of Bazarr file: /media/tv_shows/Gomorrah - The Origins (2026)/Season 1/Gomorrah - The Origins (2026) - S01E01 - TBA [WEBDL-720p][EAC3 5.1][h264]-ENCRyPTED.mkv -- Exception: 'NoneType' object has no attribute 'transcribe'
2026-01-11 20:30:39,258 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:39,366 DEBUG: Queue idle; clearing model from memory.
INFO: 172.23.0.1:35772 - "POST /asr?task=translate&language=it&output=srt&encode=false&video_file=%2Fmedia%2Ftv_shows%2FGomorrah+-+The+Origins+%282026%29%2FSeason+1%2FGomorrah+-+The+Origins+%282026%29+-+S01E01+-+TBA+%5BWEBDL-720p%5D%5BEAC3+5.1%5D%5Bh264%5D-ENCRyPTED.mkv HTTP/1.1" 200 OK
2026-01-11 20:30:40,356 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:40,450 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:41,543 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:41,648 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:42,750 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:42,860 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:43,968 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:44,065 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:45,161 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:45,270 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:46,272 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:46,369 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:47,462 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:47,560 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:48,656 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:48,750 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:49,844 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:49,945 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:51,050 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:51,148 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:52,247 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:52,343 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:53,441 DEBUG: Queue idle; clearing model from memory.
2026-01-11 20:30:53,543 DEBUG: Queue idle; clearing model from memory.
I have checked the models folder and there is nothing in there.
Here is my docker Compose:
version: "3.5"
networks:
mynet:
external: true
name: mynet
services:
subgenai:
image: 'mccloud/subgen:cpu'
container_name: subgenai
hostname: subgen.internal
networks:
- mynet
ports:
- 9090:9090
volumes:
- /config/subgen/models:/subgen/models'
- /config/subgen/subgen.env:/subgen/subgen.env:ro'
- /home/nas/media:/media
environment:
LOG_LEVEL: debug
NAME_SERVERS: 9.9.9.9
PROCADDEDMEDIA: true
PROCMEDIAONPLAY: false
PLEXTOKEN: YiAouPteNeX2bQEcAy8r
PLEXSERVER: 'http://192.168.1.3:32400'
CONCURRENT_TRANSCRIPTIONS: 2
USE_PATH_MAPPING: false
MODEL_PATH: ./models
Here is my ENV file:
WHISPER_MODEL=tiny
WHISPER_THREADS=4
WEBHOOKPORT=9090
TRANSCRIBE_DEVICE=cpu
DEBUG=True
CLEAR_VRAM_ON_COMPLETE=True
APPEND=False
TRANSCRIBE_OR_TRANSLATE=transcribe
NAMESUBLANG=ai
Any help would be gratefully appreciated
All reactions