------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4955/
------------------------------------------------------------------------------

New ticket #4955 by marky1991
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
rbt command fails on systems with en_US locale not installed
==============================================================================

# What version are you running?
rbt --version
RBTools 2.0.1 (Python 3.10.1)

# What steps will reproduce the problem?
1. rbt post


# What is the expected output? What do you see instead?
Expected behavior: A review is created.
Observed behavior: It fails with an error message


# What operating system are you using?
Artix linux

# Attach the debug out from the command.

```
$ rbt <command> --debug <args><debug output>
```
rbt post
WARNING: Unable to parse SVN client version triple from "svn: warning: cannot 
set LC_CTYPE locale
svn: warning: environment variable LC_ALL is en_US.UTF-8
svn: warning: please check that your locale name is correct
1.14.1". Assuming version 0.0.0.
ERROR: Error validating diff

/branches/21D/framework/pyserver/common/lgfapi/parsers.py: The file was not 
found in the repository. (HTTP 400, API Error 207)



# Please provide any additional information below
In my locale.gen, I only have es_MX.UTF-8 enabled.

My locale configs:

$ locale
LANG=es_MX.UTF-8
LC_CTYPE=es_MX.UTF-8
LC_NUMERIC="es_MX.UTF-8"
LC_TIME="es_MX.UTF-8"
LC_COLLATE="es_MX.UTF-8"
LC_MONETARY="es_MX.UTF-8"
LC_MESSAGES=es_MX.UTF-8
LC_PAPER="es_MX.UTF-8"
LC_NAME="es_MX.UTF-8"
LC_ADDRESS="es_MX.UTF-8"
LC_TELEPHONE="es_MX.UTF-8"
LC_MEASUREMENT="es_MX.UTF-8"
LC_IDENTIFICATION="es_MX.UTF-8"
LC_ALL=

$ locale -a
C
es_MX.utf8
POSIX


To work around this issue, I will be uncommenting en_US.utf-8, but I don't 
think this should be mandatory.

------------------------------------------------------------------------------

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20220111201858.32593.834%40ip-10-1-54-209.ec2.internal.

Reply via email to