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

uic.exe in PySide2 v5.14+ outputs bad syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.14.0
    • Tooling
    • None
    • Linux/X11, macOS, Windows

    Description

      Compiling some .ui files produces SyntaxError py sources:

      File "/home/l/tmp__/SDAT/sdat/ui/declarative/ui_general_settings.py", line 199
      {{ self.getting_started_checkBox.raise()}}
                                        ^
      SyntaxError: invalid syntax

      raise as known, is reserved word in Python. I do not know where the raise is from...

       

      This started when I used new  uic tool inside PySide2 v5.14.0

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            mailos Miloš Korenčiak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes