You are not logged in.
Pages: 1
For some reason I had to re-instal arch linux. While installing I made two things different from my previous installation.
1)Installed linux-lts kernel (4.9.67-1-lts)
2)Created and added "LANG=en_US.utf-8" to /etc/locale.conf
I am recieving an error randomly while installing packages so I tried changing /etc/locale.conf. Now more frequently I am getting errors related to locale settings like this
example1
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LC_MESSAGES = "C",
LANG = "en.IN.UTF-8"
are supported and installed on your system.
example2
locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
example3
pip2 install dendropy
Collecting dendropy
Using cached DendroPy-4.3.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-ZkWSiN/dendropy/setup.py", line 36, in <module>
sys.stderr.write("-setup.py: {}\n".format(description()))
File "dendropy/__init__.py", line 155, in description
fields["DendroPy version"] = name()
File "dendropy/__init__.py", line 132, in name
return "{} {}{}".format(__project__, __version__, revision_description())
File "dendropy/__init__.py", line 125, in revision_description
if __revision__.is_available:
File "dendropy/utility/vcsinfo.py", line 119, in is_available
self.update()
File "dendropy/utility/vcsinfo.py", line 125, in update
if not self.repo_path or not self._vcs_available():
File "dendropy/utility/vcsinfo.py", line 161, in _vcs_available
retcode, stdout, stderr = self._run_vcs("--version")
File "dendropy/utility/vcsinfo.py", line 154, in _run_vcs
stdout, stderr = processio.communicate(p)
File "dendropy/utility/processio.py", line 55, in communicate
stdout = textprocessing.bytes_to_text(stdout)
File "dendropy/utility/textprocessing.py", line 57, in bytes_to_text
s = codecs.decode(s, ENCODING)
LookupError: unknown encoding: in
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ZkWSiN/dendropy/
Are all these errors related? arise because of a single problem?
My current locale settings are as follow
localectl status
System Locale: LANG=en_US.utf8
VC Keymap: us
X11 Layout: us
Can anyone here help me to find out a solution for this?
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Have you generated locales with locale-gen, or you just modified locale.conf?
Offline
locale -a shows that the locales are generated.
Post the output of just `locale`
Offline
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = (unset),
LC_MESSAGES = "C",
LANG = "en.IN.UTF-8"
are supported and installed on your system.wtf is "en.IN.UTF-8"??
Offline
Have you generated locales with locale-gen, or you just modified locale.conf?
I have edited locale.conf
Now I run "locale-gen" output is https://ptpb.pw/_zGU
then "locale -a output is https://ptpb.pw/Z-OF
Now three of the error I mentioned are not occuring.
I should have done this before.
**NOTE: I think this pastebin urls will work. If not please dont mad at me I will get it right soon.
Offline
locale -a shows that the locales are generated.
Post the output of just `locale`
I have regenerated locale.conf using "locale-gen"
Now the output of "locale" is https://ptpb.pw/_zGU
Offline
There's no need to use a pastebin for such small amounts of text. In fact it's best not to as it harms the readability of the thread (I have to click on links instead of it being in the thread) as well as devaluing it further when the pastes are removed from the server.
Last edited by Slithery (2017-12-12 16:36:05)
Offline
perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LC_MESSAGES = "C", LANG = "en.IN.UTF-8" are supported and installed on your system.wtf is "en.IN.UTF-8"??
I was doing trial and error to solve the issue so I put "LANG = "en.IN.UTF-8" manually replacing US with IN (India)... My bad
Offline
Did you uncomment your language from /etc/locale.gen before running locale-gen ??
(Pay attention here: https://wiki.archlinux.org/index.php/in … ide#Locale)
Last edited by heisenberg (2017-12-13 00:03:56)
Offline
Again, read the locale -a output. Generating the locales has nothing to do with this.
Offline
The errors we've seen in this thread are sufficiently explained by the
LANG = "en.IN.UTF-8"
condition. If everything works now, this has been it. Otherwise please provide updated error messages.
Offline
Pages: 1