sc0tfree / mentalist

Mentalist is a graphical tool for custom wordlist generation. It utilizes common human paradigms for constructing passwords and can output the full wordlist as well as rules compatible with Hashcat and John the Ripper.
MIT License
1.81k stars 244 forks source link

Locale setting unsuported #4

Open Ricks-ha opened 6 years ago

Ricks-ha commented 6 years ago

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 commented 4 years ago

same problem

HackerTuhin commented 3 years ago

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 commented 2 years ago

thanks! very helpful

iwtga commented 1 year ago

thanks @HackerTuhin !

seichodev commented 1 year ago

@HackerTuhin legend.