Off-Topic > SCM EXtensions

Problem with python-3.2 (solved)

<< < (2/2)

vinnie:
my friend says that it is almost certainly system codify problem, where is this setting? I already use "kmap=qwerty/it" "lang=it_IT.UTF-8" boot code:





--- Code: ---tc@box:~$ printenv
XPID=4453
E_CONF_PROFILE=001
USER=tc
E_ICON_THEME=Tango
HOME=/home/tc
E_LIB_DIR=/usr/local/lib
E_BIN_DIR=/usr/local/bin
PAGER=less -EM
PS1=\u@\h:\w\$
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VdB62G288b,guid=b5cceafbd6dd1935a2a6ba66512deb4c
ENV=/home/tc/.ashrc
COLORTERM=rxvt
E_IPC_SOCKET=/tmp/enlightenment-tc@0000000000000000/disp-:0.0-4470
BACKUP=1
E_PREFIX=/usr/local
LOGNAME=tc
WINDOWID=31457282
COLORFGBG=15;0
TERM=rxvt
PATH=/usr/local/bin:/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/java/jre/bin:/etc/sysconfig/tcedir/ondemand:/usr/local/bin
G_FILENAME_ENCODING=iso8859-1
E_RESTART=1
DISPLAY=:0.0
DESKTOP_STARTUP_ID=E_START|5
LANG=it_IT.UTF-8
XAUTHORITY=/home/tc/.Xauthority
MANPAGER=less -isR
DESKTOP=Enlightenment-0.17.0
SHELL=/bin/sh
E_START=enlightenment_start
FLWM_TITLEBAR_COLOR=58:7D:AA
E_SCALE=1.500
E_LOCALE_DIR=/usr/local/share/locale
PANTS=ON
PWD=/home/tc
JAVA_HOME=/usr/local/java/jre
XDG_DATA_DIRS=/usr/local/share/enlightenment:/usr/local/share:/usr/local/share:/usr/share
E_DATA_DIR=/usr/local/share/enlightenment
E_START_TIME=1361963852.4
TZ=CET-1CEST,M3.5.0,M10.5.0/3
EDITOR=editor

--- End code ---

vinnie:
I am continuing to look for solutions,
I found this:

--- Quote ---System locale charset is ANSI_X3.4-1968
Your system's locale charset (i.e. the charset used to encode
filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this
has been done intentionally. Most likely the locale is not set at all.
An invalid setting will result in problems when creating data
projects.
Solution: To properly set the locale charset make sure the LC_*
environment variables are set. Normally the distribution setup tools
take care of this.
--- End quote ---

Typed in terminal:

--- Code: ---tc@box:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
tc@box:~$
--- End code ---

Typed in python:

--- Code: --->>> import locale; locale.getlocale()
(None, None)
--- End code ---

To my friend this command return  ('en_US', 'UTF-8')

vinnie:
Ok, i have been successful, i use getlocale.tcz to generate italian locale:

now in python:

--- Code: --->>> import locale; locale.getlocale()
('it_IT', 'UTF-8')

--- End code ---

and in terminal I have no more error messages when I use the the comman "locale".

Navigation

[0] Message Index

[*] Previous page

Go to full version