RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 826620 - system-config-services tracebacks in Serbian locale
Summary: system-config-services tracebacks in Serbian locale
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: system-config-services
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Nils Philippsen
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-30 15:46 UTC by Petr Šplíchal
Modified: 2016-06-01 01:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-19 13:08:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Šplíchal 2012-05-30 15:46:53 UTC
Description of problem:

When run under one of the following locales system-config-services
fails with a traceback:

sr_BA
sr_CS
sr

Version-Release number of selected component (if applicable):
system-config-services-0.99.45-1.el6.3.noarch

Steps to Reproduce:
LANG=sr_BA system-config-services
  
Actual results:
(process:21478): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/sbin/system-config-services", line 109, in <module>
    class GUIServicesTreeView(gtk.TreeView):
  File "/usr/sbin/system-config-services", line 127, in GUIServicesTreeView
    SVC_COL_NAME: [_("Name"), gtk.CellRendererText, "text",
  File "/usr/sbin/system-config-services", line 39, in <lambda>
    _ = lambda x: gettext.ldgettext("system-config-services", x)
  File "/usr/lib64/python2.6/gettext.py", line 543, in ldgettext
    return t.lgettext(message)
  File "/usr/lib64/python2.6/gettext.py", line 368, in lgettext
    return tmsg.encode(locale.getpreferredencoding())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

Expected results:
GUI working.

Comment 1 RHEL Program Management 2012-07-10 08:15:55 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Program Management 2012-07-11 01:51:26 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 RHEL Program Management 2012-09-07 05:31:09 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 4 Nils Philippsen 2013-04-19 13:08:31 UTC
Closing as we don't support non-UTF8 locales for the Serbian language in Red Hat Enterprise Linux 6. I guess I could make it fail a little prettier but I don't think it's worth the effort, it would just replace the UnicodeEncodeError with a locale.Error unless much more effort is put into it.


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