[root@r05 site-packages]# setup
ó¸®ÇÒ ¼ö ¾ø´Â ¿¹¿ÜÀûÀÎ »óȲÀÌ ¹ß»ýÇß½À´Ï´Ù. ÀÌ¿Í°°Àº »óȲÀº ¹ö±×·Î ¿¹»óµË´Ï´Ù. Å©·¡½Ã ´ýÇÁ·Î ÀúÀåÇϽŠÈÄ¿¡ system-config-network¿¡ ´ëÇÑ ¹ö±×ÀÇ ³»¿ëÀ» http://bugzilla.redhat.com/bugzilla/ ·Î ÀÚ¼¼È÷ º¸°íÇØ Áֽñ⠹ٶø´Ï´Ù.
Component: system-config-network
Version: 1.3.99.21
Summary: TB /usr/lib64/python2.4/site-packages/rhpl/genClass.py:217:_objToStr:UnicodeDecodeError: 'utf8' codec can't decode byte 0xbd in position 0: unexpected code byte
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: 'utf8' codec can't decode byte 0xbd in position 0: unexpected code byte
> /usr/lib64/python2.4/site-packages/rhpl/genClass.py(217)_objToStr()
-> retstr += "%s.%s=%s\n" % (parentStr, child, str(val))
(Pdb)
ÇØ°á)
ÆÄÀ̽㿡¼ ¿À·ù°¡ ¹ß»ý
setup - > ³×Æ®¿÷ ¼³Á¤¿¡¼ È®ÀεǾúÀ¸¸ç ÆÄÀ̽ãÀÌ ¼³Ä¡µÈ Æú´õ¿¡ /usr/lib64/python2.4/site-packages/
sitecustomize.py ÆÄÀÏÀ» »ý¼ºÇؼ ¾Æ·¡¿Í °°ÀÌ º¹»ç
# touch /usr/lib64/python2.4/site-packages/sitecustomize.py
# vim /usr/lib64/python2.4/site-packages/sitecustomize.py
import sys
sys.setdefaultencoding('iso-8859-1')