-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeDecodeError while logging #79
Comments
I just ran into this same problem, which was super frustrating to debug, because the python error doesn't mention where in the actual Is there a reason at all to explicitly utf-8-decode the output of For me the output was this:
I ran
This is the offending line in the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the
i18n_tool validate
command kept failing because of some UnicodeDecodeError that occurred when logging the problem with the .po fileThis was the error(
err
) that it was trying to log inlog.warning(u'\n' + err.decode('utf8'))
Since the filename or language code was not getting logged for which the validation was failing on jenkins pull_translations job it was particularly difficult to find the file and issue.
The text was updated successfully, but these errors were encountered: