On 6/22/18 10:25 PM, Trevor Vaughan wrote:
getting the same thing:
Traceback (most recent call last):
File
"/var/www/html/github/openscap/scap-security-guide/build-scripts/yaml_to_shorthand.py",
line 70, in <module>
main()
File
"/var/www/html/github/openscap/scap-security-guide/build-scripts/yaml_to_shorthand.py",
line 66, in main
args.output, env_yaml)
File
"/var/www/html/github/openscap/scap-security-guide/ssg/build_yaml.py",
line 686, in add_from_directory
group.to_file(output_file)
File
"/var/www/html/github/openscap/scap-security-guide/ssg/build_yaml.py",
line 346, in to_file
root = self.to_xml_element()
File
"/var/www/html/github/openscap/scap-security-guide/ssg/build_yaml.py",
line 332, in to_xml_element
root.append(profile.to_xml_element())
File
"/var/www/html/github/openscap/scap-security-guide/ssg/build_yaml.py",
line 96, in to_xml_element
desc = add_sub_element(el, "description", self.description)
File
"/var/www/html/github/openscap/scap-security-guide/ssg/build_yaml.py",
line 23, in add_sub_element
ustr = str("<{0}>{1}</{0}>").format(tag, data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in
position 82: ordinal not in range(128)
make[3]: *** [rhel7/shorthand.xml] Error 1
make[2]: ***
[rhel7/CMakeFiles/generate-internal-rhel7-shorthand.xml.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 50%] Built target generate-ssg-rhel7-cpe-dictionary.xml
make[1]: *** [rhel7/CMakeFiles/centos7-content.dir/rule] Error 2
make: *** [centos7-content] Error 2