Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3253 by post-review without US locale fails

What version are you running?

What's the URL of the page containing the problem?
post-review --server=<SERVER> --output-diff

What steps will reproduce the problem?
1. Setup system with en_CA.UTF-8 UTF-8 (no en_US.UTF-8)
2. Setup /etc/locale.conf with LANG=en_CA.UTF-8
2.1. Optionally set LANGUAGE=en_CA.UTF-8 as well
3. Attempt to post a review.

What is the expected output?
Successful post

What do you see instead?

"The generated diff file was empty. This usually means no files were
modified in this change."

What operating system are you using? What browser?

Arch Linux

Please provide any additional information below.

When you add --output-diff the following is included:

--- __FILENAME__        (revision perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = "en_US.UTF-8",
        LANG = "en_CA.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

'perl -e exit' works fine. Tried with and without LANGUAGE set.

Only workaround was to add the en_US.UTF-8 locale to my system.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to