[Bug 447605] New: UnicodeWarning prevents user interaction with yum in some locales

bugzilla at redhat.com bugzilla at redhat.com
Tue May 20 19:19:41 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/show_bug.cgi?id=447605

           Summary: UnicodeWarning prevents user interaction with yum in
                    some locales
           Product: Fedora
           Version: 9
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: low
          Priority: low
         Component: yum
        AssignedTo: skvidal at linux.duke.edu
        ReportedBy: miloskomarcevic at netscape.net
         QAContact: extras-qa at fedoraproject.org
                CC: fedora-trans-
                    sr at redhat.com,ffesti at redhat.com,james.antill at redhat.com,
                    katzj at redhat.com,pmatilai at redhat.com,skvidal at linux.duke.
                    edu,tim.lauridsen at googlemail.com


It is impossible to interact with yum when in sr_RS.utf8 locale, where 'y', 'n',
'yes' and 'no' have been translated to local Cyrillic counterparts 'д', 'н',
'да', and 'не', all using UTF-8. This probably also affects other locales using
non-ASCII characters.

Output:

Укупна величина преузимања: 110 k
Да ли је ово у реду [д/Н]: д
/usr/share/yum-cli/output.py:360: UnicodeWarning: Unicode equal comparison
failed to convert both arguments to Unicode - interpreting them as being unequal
  if len(choice) == 0 or choice in [_('y'), _('n'), _('yes'), _('no')]:
Да ли је ово у реду [д/Н]:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-trans-sr mailing list