Skip to content
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

Locale setting unsuported #4

Open
Ricks-ha opened this issue Apr 13, 2018 · 5 comments
Open

Locale setting unsuported #4

Ricks-ha opened this issue Apr 13, 2018 · 5 comments

Comments

@Ricks-ha
Copy link

I pushed up mentalist from the source code on an Arch linux system and when I try to execute the program i get the error File "/usr/lib/python3.6/site-packages/Mentalist-1.0-py3.6.egg/mentalist/view/main.py", line 15, in <module> locale.setlocale(locale.LC_ALL, 'en_US.UTF-8') File "/usr/lib/python3.6/locale.py", line 598, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
If that is unsupprted what locales are supported then?

@prakashon7
Copy link

same problem

@HackerTuhin
Copy link

I also faced this issue . After many research i got the solution.
step 1:
open your kali terminal
type: locale -a
hit enter
step 2:
Now, to add a new locale edit the locales.gen - find en_US.UTF-8
type: cat /etc/locale.gen | grep en_US.UTF-8
hit enter
step 3:
Uncomment the en_US.UTF-8 UTF-8 string
type: sudo nano /etc/locale.gen
hit enter
and uncomment "en_US.UTF-8 UTF-8" by removing the "#" sign
press ctrl+o to save
press ctrl+x to exit
step 4:
run locales generator
type: sudo locale-gen
hit enter

@krishnadheeraj369
Copy link

thanks! very helpful

@iwtga
Copy link

iwtga commented May 18, 2023

thanks @HackerTuhin !

@seichodev
Copy link

@HackerTuhin legend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants