Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2859

[RH-SSO] Docs generation for "sso72-https.json" template currently fails with python UnicodeDecodeError exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • TEMPLATE 1.4.15.GA
    • RH-SSO, SSO
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Hide

      Attempt to regenerate the docs via $ ./gen_template_docs.py currently fails with:

      [iankko@localhost application-templates]$ ./gen_template_docs.py 
      ...
      Generating docs/datavirt/datavirt63-extensions-support-s2i.adoc...
      Generating docs/datavirt/datavirt63-secure-s2i.adoc...
      Generating docs/sso/sso72-https.adoc...
      Traceback (most recent call last):
        File "./gen_template_docs.py", line 363, in <module>
          generate_templates()
        File "./gen_template_docs.py", line 63, in generate_templates
          generate_template(os.path.join(directory, template))
        File "./gen_template_docs.py", line 87, in generate_template
          text_file.write(createTemplate(data, path))
        File "./gen_template_docs.py", line 117, in createTemplate
          tdata['description'] += "\n\n" + sso_desc
      UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 177: ordinal not in range(128)
      
      Show
      Attempt to regenerate the docs via $ ./gen_template_docs.py currently fails with: [iankko@localhost application-templates]$ ./gen_template_docs.py ... Generating docs/datavirt/datavirt63-extensions-support-s2i.adoc... Generating docs/datavirt/datavirt63-secure-s2i.adoc... Generating docs/sso/sso72-https.adoc... Traceback (most recent call last): File "./gen_template_docs.py", line 363, in <module> generate_templates() File "./gen_template_docs.py", line 63, in generate_templates generate_template(os.path.join(directory, template)) File "./gen_template_docs.py", line 87, in generate_template text_file.write(createTemplate(data, path)) File "./gen_template_docs.py", line 117, in createTemplate tdata['description'] += "\n\n" + sso_desc UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 177: ordinal not in range(128)

      Attempt to run $ ./gen_template_docs.py fails with current application-templates' master.

              rhn-jlieskov Ján Lieskovský (Inactive)
              rhn-jlieskov Ján Lieskovský (Inactive)
              Peter Zaoral Peter Zaoral (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: