longchi31 发表于 2005-4-17 09:35:37

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

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

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


错误信息:
# 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"
根本不知道怎么修改好!高手教教我,
页: [1]
查看完整版本: 上不了网了!我改怎么办?