Bug 242894 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 14: ordinal not in range(128)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 14: ordi...
Product: Fedora
Classification: Fedora
Component: smolt (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-06-06 05:32 EDT by Tomasz Torcz
Modified: 2007-11-30 17:12 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-11 11:19:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tomasz Torcz 2007-06-06 05:32:16 EDT
Description of problem:
Smolt have problems running with non-"C" locale

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Set locale to pl_PL.UTF-8
2. Run smoltSendProfile from terminal

Actual results:
# smoltSendProfile 
Traceback (most recent call last):
  File "/usr/bin/smoltSendProfile", line 103, in <module>
    for line in profile.getProfile():
  File "/usr/share/smolt/client/smolt.py", line 380, in getProfile
    printBuffer.append('\t%s: %s' % (label, data))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 14: ordinal
not in range(128)

Additional info:
Comment 1 Leszek Matok 2007-06-22 06:23:14 EDT
It's broken for a longer time that I've suspected, so it's time for me to say:
me too.

The same crash happens under pl_PL, with FC6 and Rawhide.

It doesn't happen with en_US{.UTF-8}, es_ES.{UTF-8} and some other languages
I've tried. Looks like Polish translation is simply broken. It can be caused by
smolt translation or some glibc/whatever thing. Just in case, I'm adding raven
to Cc:

The bug also can be a cause of "pl_PL" disappearing completely from
smolt.fp.o/stats :(
Comment 2 Piotr Drąg 2007-06-22 06:33:58 EDT
Polish translation file seems to be ok. Crash happens here too. :(
Comment 3 Mike McGrath 2007-06-22 09:37:13 EDT
Sorry this has taken so long, I've not been able to re-create this issue.  
I'll keep working on it.
Comment 4 Mike McGrath 2007-06-22 11:19:13 EDT
Ok, I think I've got this fixed.  The problem was with "Konstrukcja płyty 
głównej" Not being properly encoded when I try to print it to the screen.  A 
new version should be on the mirrors soon.  Please test and verify.
Comment 5 Fedora Update System 2007-07-11 11:19:13 EDT
smolt- has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

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