Description of problem: I registered some systems to satellite and I used utf8 chars for their name. When I used command spacecmd I received errors due to encoding. Version-Release number of selected component (if applicable): spacecmd-2.5.0-18.el6sat.noarch How reproducible: always Steps to Reproduce: 1. register system to satellite and used utf8 chars for its name for example test_ščřžýá 2. some scenarios: a) spacecmd system_search name:test ERROR: 'ascii' codec can't encode characters in position 5-11: ordinal not in range(128) b) spacecmd system_details search:id:100001 ERROR: 'ascii' codec can't encode characters in position 6-9: ordinal not in range(128) c) spacecmd system_delete search:name:test ERROR: 'ascii' codec can't encode characters in position 5-9: ordinal not in range(128) Actual results: Error in encode - doesn't work Expected results: spacecmd support utf8 name of systems Additional info: In code is used call "str(*)"... replace it by construction "%s" % (*,)
>> spacecmd system_details search:id:100001 ERROR: 'ascii' codec can't encode characters in position 6-9: ordinal not in range(128) Spacewalk 643b121d92f5d64776e88eb43ac22a67d553943a
I created pull request https://github.com/spacewalkproject/spacewalk/pull/618/
spacewalk.git(master): 2ec2d415d9d309a614ed31ecb6ae1cf6f542b879