Bug 919656 - Error on run setup.
Summary: Error on run setup.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-network
Version: 5.9
Hardware: i386
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Harald Hoyer
QA Contact: Branislav Blaškovič
URL:
Whiteboard:
Depends On:
Blocks: 1049888
TreeView+ depends on / blocked
 
Reported: 2013-03-09 09:12 UTC by xxlforem
Modified: 2014-09-16 00:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Early versions of the Python programming language do not switch to the UTF-8 format correctly. This behavior led to a failure of the system-config-network service when some UTF-8 character were present in configuration files. With this update, system-config-network now resets the Python internals to properly handle UTF-8 so that system-config-network no longer crashes in the described scenario.
Clone Of:
Environment:
Last Closed: 2014-09-16 00:18:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1195 0 normal SHIPPED_LIVE system-config-network bug fix update 2014-09-16 04:14:20 UTC

Description xxlforem 2013-03-09 09:12:39 UTC
]# system-config-network
Произошло необработанное исключение.  Скорее всего это ошибка. Пожалуйста скопируйте полный текст исключения или сохраните отладочную информацию в файл и заполните подробный отчет об ошибке в компоненте system-config-network на https://bugzilla.redhat.com/bugzilla
Component: system-config-network
Version: 1.3.99.21
Summary: TB /usr/lib/python2.4/site-packages/rhpl/genClass.py:217:_objToStr:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 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/lib/python2.4/site-packages/rhpl/genClass.py", line 550, in __str__
    return GenClass.__str__(self)
  File "/usr/lib/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/lib/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 0xd1 in position 0: ordinal not in range(128)

> /usr/lib/python2.4/site-packages/rhpl/genClass.py(217)_objToStr()
-> retstr += "%s.%s=%s\n" % (parentStr, child, str(val))
(Pdb)

Comment 1 xxlforem 2013-03-09 11:19:21 UTC
Это произошло после обновления Centos до 5.9.
В консоли "LANG=C system-config-network" работает.
Похоже проблема в локализации, и проблема очень давняя, очень жду исправления.

Спасибо.

Comment 6 Branislav Blaškovič 2014-05-15 13:15:18 UTC
This works for me in system-config-network-1.3.99.22-1.el5.

# LANG=ru_RU.utf-8 system-config-network

Comment 8 errata-xmlrpc 2014-09-16 00:18:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1195.html


Note You need to log in before you can comment on or make changes to this bug.