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

uicparser.py crashes when a radio buttons are assigned to a button group

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.1.2
    • PySide
    • None

    Description

      I was trying to write some GNU gettext compatible pyside-uic script using the tools from uicparser.py. All worked fine until I tried to assign radio buttons to a button group and then compile the resource files (created with Qt Designer) to Python files. I was somehow able to resolve the problem by changing the file uicparser.py, line 212. I replaced

      bg_name = bg_i18n.string

      by

      try:
      bg_name = bg_i18n.string
      except AttributeError:
      bg_name = bg_i18n

      Now it seems to work.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            morwenn Morwenn
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes