Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3063

Windows: UnicodeDecodeError building base docs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.10.0
    • 6.8
    • Documentation
    • None
    • Windows 11, Python 3.11.3
    • Windows
    • 20d9481d4 (dev), 55b74f836 (6.8)

    Description

      When building the base docs using
      > python setup.py build_base_docs
      An UnicodeDecodeError occurs because by UTF-8 is not the default Python file opening encoding yet, so the doc build script may fail in some environments

      See log.txt for the crash output.

      By looking at the crash, it seems that the file `examples\samplebinding\doc\samplebinding.rst` contains characters that can not be opened in all encodings. Specifically the special quotes at line 204:
      “flavors”

      Attachments

        For Gerrit Dashboard: PYSIDE-3063
        # Subject Branch Project Status CR V

        Activity

          People

            jaime02 Jaime Resano
            jaime02 Jaime Resano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes