https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971
Thanks,
Trevor
On 6/22/18 10:25 PM, Trevor Vaughan wrote:
https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971
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
The last tag is just fine.
I've changed my code to only use the last tag by default from this point on.
On Fri, Jun 22, 2018 at 11:08 PM Shawn Wells shawn@redhat.com wrote:
On 6/22/18 10:25 PM, Trevor Vaughan wrote:
https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971
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 _______________________________________________ scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedo...
The SSG python modules are currently going through a refactoring, so build failures are currently possible on master. Building SSG on Windows will soon be possible as well.
On Friday, June 22, 2018, Trevor Vaughan tvaughan@onyxpoint.com wrote:
The last tag is just fine.
I've changed my code to only use the last tag by default from this point on.
On Fri, Jun 22, 2018 at 11:08 PM Shawn Wells shawn@redhat.com wrote:
On 6/22/18 10:25 PM, Trevor Vaughan wrote:
jobs/395700762#L4971
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 _______________________________________________ scap-security-guide mailing list -- scap-security-guide@lists. fedorahosted.org To unsubscribe send an email to scap-security-guide-leave@ lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/scap- security-guide@lists.fedorahosted.org/message/ NFP4IUHU27HBMVRPL3Q5DRU7NRIJRZIR/
-- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 x788
-- This account not approved for unencrypted proprietary information --
Refactoring or not, this issue should have been discovered by our CI. We'll investigate what is the problem, and close this hole ASAP. (both in code, and in CI)
Sorry for the inconvenience, Marek
On 06/23/2018 03:45 PM, Gabe Alford wrote:
The SSG python modules are currently going through a refactoring, so build failures are currently possible on master. Building SSG on Windows will soon be possible as well.
On Friday, June 22, 2018, Trevor Vaughan <tvaughan@onyxpoint.com mailto:tvaughan@onyxpoint.com> wrote:
The last tag is just fine. I've changed my code to only use the last tag by default from this point on. On Fri, Jun 22, 2018 at 11:08 PM Shawn Wells <shawn@redhat.com <mailto:shawn@redhat.com>> wrote: On 6/22/18 10:25 PM, Trevor Vaughan wrote: > https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971 <https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971> 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 _______________________________________________ scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org <mailto:scap-security-guide@lists.fedorahosted.org> To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org <mailto:scap-security-guide-leave@lists.fedorahosted.org> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html <https://getfedora.org/code-of-conduct.html> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines <https://fedoraproject.org/wiki/Mailing_list_guidelines> List Archives: https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedorahosted.org/message/NFP4IUHU27HBMVRPL3Q5DRU7NRIJRZIR/ <https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedorahosted.org/message/NFP4IUHU27HBMVRPL3Q5DRU7NRIJRZIR/> -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 x788 -- This account not approved for unencrypted proprietary information --
scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedo...
This has been fixed by https://github.com/OpenSCAP/scap-security-guide/pull/3032
Sorry for the inconvenience. Python2 and 3 compatibility at the same time is tough :-)
On Mon, Jun 25, 2018 at 5:45 AM, Marek Haicman mhaicman@redhat.com wrote:
Refactoring or not, this issue should have been discovered by our CI. We'll investigate what is the problem, and close this hole ASAP. (both in code, and in CI)
Sorry for the inconvenience, Marek
On 06/23/2018 03:45 PM, Gabe Alford wrote:
The SSG python modules are currently going through a refactoring, so build failures are currently possible on master. Building SSG on Windows will soon be possible as well.
On Friday, June 22, 2018, Trevor Vaughan <tvaughan@onyxpoint.com mailto:tvaughan@onyxpoint.com> wrote:
The last tag is just fine. I've changed my code to only use the last tag by default from this point on. On Fri, Jun 22, 2018 at 11:08 PM Shawn Wells <shawn@redhat.com <mailto:shawn@redhat.com>> wrote: On 6/22/18 10:25 PM, Trevor Vaughan wrote: >
https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971
https://travis-ci.org/simp/inspec-profile-disa_stig-el7/jobs/395700762#L4971
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 _______________________________________________ scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org <mailto:scap-security-guide@lists.fedorahosted.org> To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org <mailto:scap-security-guide-leave@lists.fedorahosted.org> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html <https://getfedora.org/code-of-conduct.html> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines <https://fedoraproject.org/wiki/Mailing_list_guidelines> List Archives:
https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedo...
-- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 x788 -- This account not approved for unencrypted proprietary information
--
scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedo...
scap-security-guide mailing list -- scap-security-guide@lists.fedorahosted.org To unsubscribe send an email to scap-security-guide-leave@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/scap-security-guide@lists.fedo...
scap-security-guide@lists.fedorahosted.org