- 论坛徽章:
- 0
|
本帖最后由 lonelysoul011 于 2013-03-28 17:02 编辑
运行UliPad 后报错。但是小蝴蝶还是可以正常使用,只是无法打开包含中文的文件和输入中文。用vim 是可以的。
[root@localhost ~]# UliPad.py
begin... 16:45:43
(process:31609): Gdk-WARNING **: locale not supported by C library
(python:31609): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
end... 16:45:44
系统版本:- [root@localhost ~]# lsb_release -a
- LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
- Distributor ID: RedHatEnterpriseServer
- Description: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
- Release: 5.6
- Codename: Tikanga
- [root@localhost ~]# uname -a
- Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
- [root@localhost ~]# python
- Python 2.6.6 (r266:84292, Mar 28 2013, 10:10:34)
- [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> exit()
复制代码 语言环境变量- declare -x LANG="zh_CN.GB18030"
- declare -x LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
- [root@localhost ~]# 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=zh_CN.GB18030
- LC_CTYPE="en.utf8"
- LC_NUMERIC="en.utf8"
- LC_TIME="en.utf8"
- LC_COLLATE="en.utf8"
- LC_MONETARY="en.utf8"
- LC_MESSAGES="en.utf8"
- LC_PAPER="en.utf8"
- LC_NAME="en.utf8"
- LC_ADDRESS="en.utf8"
- LC_TELEPHONE="en.utf8"
- LC_MEASUREMENT="en.utf8"
- LC_IDENTIFICATION="en.utf8"
- LC_ALL=en.utf8
复制代码 哪位大哥碰到过,求助! |
|