After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794688 - Unicode character blocks .po file submission.
Unicode character blocks .po file submission.
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2018-03-26 06:17 UTC by Rudolfs Mazurs
Modified: 2018-03-26 10:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Atomoto po file, which fails to submit (825 bytes, text/x-gettext-translation)
2018-03-26 06:17 UTC, Rudolfs Mazurs
Details

Description Rudolfs Mazurs 2018-03-26 06:17:50 UTC
Created attachment 370135 [details]
Atomoto po file, which fails to submit

When submitting the Atomato PO file (in attachment) to repository through damned-lies portal, it fails with an error:

An error occurred during applying your action: The commit failed. The error was: “'ascii' codec can't encode character '\u016b' in position 1: ordinal not in range(128)”

The offending character is letter 'ū', which is part of my name and is found in line 4. This problem is not specific to Atomoto, other translations failed as well, using git directly works without issues.

This bug appeared in the last few days, previous attempts to use vertimus workflow were working fine.
Comment 1 Rudolfs Mazurs 2018-03-26 06:21:39 UTC
I removed the 'ū' character from the file and it still failed to submit to the repository with exactly the same error message. History of the failed attempts can be found here: https://l10n.gnome.org/vertimus/atomato/master/po/lv
Comment 2 Claude Paroz 2018-03-26 07:45:46 UTC
Indeed, I removed some encoding in the code yesterday, but that didn't trigger any error for me locally.
I suspect the Apache instance on l10n.gnome.org is running with a non-UTF-8 locale, I'll ask for that change first and we'll see.
Comment 3 Claude Paroz 2018-03-26 10:28:18 UTC
Rudolfs, could you please try again?
Comment 4 Rudolfs Mazurs 2018-03-26 10:50:19 UTC
Claude, po file committed successfully with “The file has been successfully committed to the repository.”

Thanks for the fix!