system-config-network本地正常SSH的时候出错,请帮帮看看?

2013-05-25 16:02:03 +08:00
 qq29701
本机是正常的,就是在SSH的时候出错,centos5.8 X64

出现一个未解决的异常。这极可能是一个程序错误,请将其崩溃组合码转储入一个文件,然后在 https://bugzilla.redhat.com/bugzilla 提交一份关于 system-config-network 的详细错误报告。
Component: system-config-network
Version: 1.3.99.21
Summary: TB /usr/lib64/python2.4/site-packages/rhpl/genClass.py:217:_objToStr:UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/sbin/system-config-network-tui", line 230, in ?
loadConfig(screen)
File "/usr/sbin/system-config-network-tui", line 136, in loadConfig
hardwarelist = getHardwareList()
File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 510, in getHardwareList
__HWList.load()
File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 363, in load
self.updateFromSystem()
File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 269, in updateFromSystem
log.log(5, str(self))
File "/usr/lib64/python2.4/site-packages/rhpl/genClass.py", line 550, in __str__
return GenClass.__str__(self)
File "/usr/lib64/python2.4/site-packages/rhpl/genClass.py", line 179, in __str__
return self._objToStr(parentStr)
File "/usr/share/system-config-network/netconfpkg/NCHardwareList.py", line 328, in _objToStr
retstr += dev._objToStr("HardwareList.%s.%s" % (dev.Type,
File "/usr/lib64/python2.4/site-packages/rhpl/genClass.py", line 217, in _objToStr
retstr += "%s.%s=%s\n" % (parentStr, child, str(val))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 0: ordinal not in range(128)

> /usr/lib64/python2.4/site-packages/rhpl/genClass.py(217)_objToStr()
-> retstr += "%s.%s=%s\n" % (parentStr, child, str(val))
(Pdb)
3674 次点击
所在节点    Linux
1 条回复
halfbloodrock
2013-05-25 19:07:19 +08:00
system-config-network是图形化的,如果用ssh过去,windows上打开x11转发。linux上用ssh -Y

或者用system-config-network-tui,也可以用setup命令,里面第三项就是network配置。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/70120

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX