on 2025 Jan 10 1:06 PM
When trying to commit my Fiori project to Git from SAP Business Application Studio, I'm getting the following error:
"Git: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
Any idea how I get round this?
Request clarification before answering.
Try to run :
Command:
zypper in glibc-locale
export LC_ALL=en_US
echo $LC_ALL
Example:
root@:/etc# zypper in glibc-locale
Loading repository data...
Reading installed packages...
'glibc-locale' is already installed.
No update candidate for 'glibc-locale-2.38-150600.14.17.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
root@:~# export LC_ALL=en_US
root@:~# echo $LC_ALL
en_US
root@:/etc# cat /etc/locale.conf
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Edit: I had the same issue.
The error you have seen is a warning, and the actual error is written in the Git log.
In my case, it was an SSL connection issue. The following steps worked for me:
In BAS, execute the command cd ~/.ssh && ssh-keygen
use the command cat id_rsa.pub to retrieve your SSH key
Login to your git webpage, go to your profile settings to upload the SSH key.
Test your connection using the command ssh -T git@github.com.
If the connection is successful, try cloning or pushing the repository again.
Please reward it if it is helpful.
Efe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.