Problem with starting in docker

Run problem in docker. Everything started before.

_scripts]# sudo docker run -ti --rm -p 127.0.0.1:5000:5000 libretranslate/libretranslate
Updating language models
Found 60 models
Downloading Arabic → English (1.0) …
(<HTTPError 403: ‘Forbidden’>,)
(<HTTPError 403: ‘Forbidden’>,)
(<HTTPError 403: ‘Forbidden’>,)
(<HTTPError 403: ‘Forbidden’>,)
Cannot update models (normal if you’re offline): name ‘url’ is not defined
Traceback (most recent call last):
File “./venv/bin/libretranslate”, line 33, in
sys.exit(load_entry_point(‘libretranslate==1.3.1’, ‘console_scripts’, ‘libretranslate’)())
File “/app/venv/lib/python3.8/site-packages/app/main.py”, line 153, in main
app = create_app(args)
File “/app/venv/lib/python3.8/site-packages/app/app.py”, line 139, in create_app
frontend_argos_language_source = languages[0]
IndexError: list index out of range

1 Like

Check that your internet provider allows you to download from cloudflare R2.

1 Like