V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
qq29701
V2EX  ›  Linux

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

  •  
  •   qq29701 · 2013-05-25 16:02:03 +08:00 · 3791 次点击
    这是一个创建于 4199 天前的主题,其中的信息可能已经有所发展或是发生改变。
    本机是正常的,就是在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)
    1 条回复    1970-01-01 08:00:00 +08:00
    halfbloodrock
        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配置。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1029 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:20 · PVG 03:20 · LAX 11:20 · JFK 14:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.