Closed d1ceward closed 4 years ago
Describe the bug Issue about locale when starting docker version (with pre-release 0.1.6)
To Reproduce
Desktop
Config
[magicked_admin] language = en_GB [server_one] game_password = <redacted> address = <redacted> username = <redacted> password = <redacted> refresh_rate = 5
Log
_ _ _ _____ ___ ___|_|___| |_ ___ _| | | | .'| . | | _| '_| -_| . | |_|_|_|__,|_ |_|___|_,_|___|___| _ |___| _ ___ _| |_____|_|___ <<0.1.6#DEBUG>> | .'| . | | | | https://th3-z.xyz/kf2-ma |__,|___|_|_|_|_|_|_| Traceback (most recent call last): File "/magicked_admin/magicked_admin.py", line 208, in <module> application.run() File "/magicked_admin/magicked_admin.py", line 140, in run lang = gettext.translation( File "/usr/local/lib/python3.8/gettext.py", line 588, in translation raise FileNotFoundError(ENOENT, FileNotFoundError: [Errno 2] No translation file found for domain: 'magicked_admin'
The issue is that its missing the locale files. They need to be compiled with pybabel compile -d locale -D "magicked_admin". I'll have a look at the docker scripts later.
pybabel compile -d locale -D "magicked_admin"
Describe the bug Issue about locale when starting docker version (with pre-release 0.1.6)
To Reproduce
Desktop
Config
Log