You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is in (as you can see in the screen shot) below:
Exception Location: | /home/cases/weblate-src/weblate/trans/models/project.py, line 251, in get_language_alias
I tried to change this line. If I return for example directly the string 'en', there is no issue. It seems to work. The component is added.
Commenting
I just installed Weblate, for the first time (by the way it is very cool !).
Installed from source on master, no issues.
I tried to checkout to the last release tag. It does not hep.
It is using Python 3.8.8. on an Ubuntu 20.04 LTS.
Describe the steps you tried to solve the problem yourself.
To Reproduce the issue
create a new project;
Add a translation component to this project ("From version control");
$ weblate check --deploy
System check identified some issues:
WARNINGS:
?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems.
?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS.
?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.
?: (security.W018) You should not have DEBUG set to True in deployment.
?: (weblate.W025.ass) Failure in loading handler for ass file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.ini) Failure in loading handler for ini file format: Missing iniparse library.
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.islu) Failure in loading handler for islu file format: Missing iniparse library.
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.laravel) Failure in loading handler for laravel file format: No module named 'phply'
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.php) Failure in loading handler for php file format: No module named 'phply'
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.srt) Failure in loading handler for srt file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.ssa) Failure in loading handler for ssa file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W025.sub) Failure in loading handler for sub file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#optional-deps
?: (weblate.W033.Gerrit) Failure in loading VCS module for Gerrit: git: 'review' is not a git command. See 'git --help'.
(1)
HINT: https://docs.weblate.org/en/weblate-4.5/vcs.html
?: (weblate.W033.Mercurial) Failure in loading VCS module for Mercurial: [Errno 2] No such file or directory: 'hg'
HINT: https://docs.weblate.org/en/weblate-4.5/vcs.html
?: (weblate.W033.Subversion) Failure in loading VCS module for Subversion: git: 'svn' is not a git command. See 'git --help'.
The most similar commands are
fsck
mv
show
(1)
HINT: https://docs.weblate.org/en/weblate-4.5/vcs.html
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.5/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.5/admin/backup.html
System check identified 17 issues (1 silenced).
The text was updated successfully, but these errors were encountered:
Describe the issue
When adding a new translation component I get:
The component is added via version control.
The error is in (as you can see in the screen shot) below:
Exception Location: | /home/cases/weblate-src/weblate/trans/models/project.py, line 251, in get_language_alias
I tried to change this line. If I return for example directly the string 'en', there is no issue. It seems to work. The component is added.
Commenting
I just installed Weblate, for the first time (by the way it is very cool !).
Installed from source on master, no issues.
I tried to checkout to the last release tag. It does not hep.
It is using Python 3.8.8. on an Ubuntu 20.04 LTS.
Describe the steps you tried to solve the problem yourself.
To Reproduce the issue
Screenshots
Server configuration and status
Ubuntu 20.04 LTS
Python 3.8.8 installed with pyenv
Using Apach (mod_wsgi)
On pip installed Weblate:
Weblate deploy checks
On pip installed Weblate:
The text was updated successfully, but these errors were encountered: