QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 899|回复: 0

上不了网了!我改怎么办?

[复制链接]
发表于 2005-4-17 09:35:37 | 显示全部楼层 |阅读模式
上不了网了!我改怎么办?

--------------------------------------------------------------------------------


错误信息:
[root@233 ~]# system-config-network
Traceback (most recent call last):
File "/usr/sbin/system-config-network-gui", line 43, in ?
textdomain_codeset(PROGNAME, locale.nl_langinfo(locale.CODESET))
File "/usr/lib/python2.3/site-packages/rhpl/translate.py", line 209, in textdomain_codeset
cat.setDomainCodeset(domain, codeset)
File "/usr/lib/python2.3/site-packages/rhpl/translate.py", line 162, in setDomainCodeset
self.setDomain (domain)
File "/usr/lib/python2.3/site-packages/rhpl/translate.py", line 106, in setDomain
self.updateCachedCatPaths()
File "/usr/lib/python2.3/site-packages/rhpl/translate.py", line 133, in updateCachedCatPaths
catalog = gettext.GNUTranslations(mofile)
File "/usr/lib/python2.3/gettext.py", line 176, in __init__
self._parse(fp)
File "/usr/lib/python2.3/gettext.py", line 304, in _parse
tmsg = unicode(tmsg, self._charset)
LookupError: no codec search functions registered: can't find encoding


中间我只是更改了两个文件,分别是/etc/hosts 和/etc/sysconfig/network把主机名字改成了MF.PC,后来就进不了网络了,接着我又更改回来,但是还是无法上网,提示还是如上面!我
进到"/usr/lib/python2.3/site-packages/rhpl/translate.py"
根本不知道怎么修改好!高手教教我,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 15:24 , Processed in 0.044013 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表