Bug 720642 - "LANG=cs_CZ.utf8 satellite-sync -l " broke with UnicodeDecodeError
Summary: "LANG=cs_CZ.utf8 satellite-sync -l " broke with UnicodeDecodeError
Keywords:
Status: CLOSED DUPLICATE of bug 696970
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.4
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space15
TreeView+ depends on / blocked
 
Reported: 2011-07-12 11:10 UTC by Pavel Studeník
Modified: 2012-03-06 09:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-13 09:18:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Pavel Studeník 2011-07-12 11:10:55 UTC
Description of problem:
If I try to run "satellite-sync -l" and locale sets up to cs_CZ.utf8, then application broke with exception "UnicodeDecodeError".

Version-Release number of selected component (if applicable):
spacewalk-backend-tools-1.4.39-1.el6.noarch

How reproducible:
allways

Steps to Reproduce:
1. LANG=cs_CZ.utf8 satellite-sync -l
  
Actual results:
'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Expected results:


Additional info:

SYNC ERROR: unhandled exception occurred:

Exception reported from <hostname>
Time: Tue Jul 12 05:29:29 2011
Exception type <type 'exceptions.UnicodeDecodeError'>

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/satellite-sync", line 138, in main
    return satsync.Runner().main()
  File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/satsync.py", line 251, in main
    time.strftime (locale.nl_langinfo(locale.D_T_FMT), time.localtime(timeEnd)), delta_str),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Comment 1 Michael Mráka 2011-07-13 09:18:24 UTC

*** This bug has been marked as a duplicate of bug 696970 ***


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