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
When importing Java Properties (ISO-8859-1) files via file upload or GIT it results in an 502 NGINX error. I found out the UWSGI shows the following error:
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 70-71: surrogates not allowed
After some research I found out that the following emojis caused the problem: ☺️👍
The unicode sequence of the same in the file is: \u263A\uFE0F\uD83D\uDC4D
When I remove this sequence from the file everything works fine again... my file is only a bit more boring.
A full line to check it out:
hello.world = Well done! \u263A\uFE0F\uD83D\uDC4D
Maybe it's a Python 3 problem, as I stumbled upon some related issues on the web.
I already tried
See description
To Reproduce the issue
See description
Expected behavior
The file imports normally and all my strings appear as localization strings
Describe the issue
When importing Java Properties (ISO-8859-1) files via file upload or GIT it results in an 502 NGINX error. I found out the UWSGI shows the following error:
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 70-71: surrogates not allowed
After some research I found out that the following emojis caused the problem:☺️ 👍
The unicode sequence of the same in the file is: \u263A\uFE0F\uD83D\uDC4D
When I remove this sequence from the file everything works fine again... my file is only a bit more boring.
A full line to check it out:
Maybe it's a Python 3 problem, as I stumbled upon some related issues on the web.
I already tried
See description
To Reproduce the issue
See description
Expected behavior
The file imports normally and all my strings appear as localization strings
Screenshots
Exception traceback
Server configuration and status
Weblate deploy checks
WARNINGS:
?: (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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/admin/install.html#collecting-errors
Additional context
The text was updated successfully, but these errors were encountered: