Bug 786833

Summary: lorax should run with C locales
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: loraxAssignee: Martin Gracik <mgracik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, bcl, dmach, mgracik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-18.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 14:00:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.