Bug 786833 - lorax should run with C locales
Summary: lorax should run with C locales
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Gracik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 14:23 UTC by Daniel Mach
Modified: 2013-07-04 13:00 UTC (History)
4 users (show)

Fixed In Version: lorax-18.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 14:00:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2012-02-02 14:23:33 UTC
If lorax is started with different than C locales, it can fail with errors like:

  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 387, in installpkg
    logger.warn("installpkg %s failed: %s",p,str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 26: ordinal not in range(128)


I suggest to switch lorax to C locales to fix that.


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