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

examples/quick/painteditem prints out errors: TypeError: 'NoneType' object is not callable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.1.3
    • Fix Version/s: None
    • Component/s: Other
    • Commits:
      0055c90694cbf8a82a4c3ee75d47b6d2538f6247 (pyside/pyside-setup/dev) 2b1b38d5c70af838d40129289deadbd97beeef54 (pyside/pyside-setup/6.1)

      Description

      Qt for Python example quick/painteditem at least in 6.1.3 prints out the following errors when clicking on the button:

      file:///examples/quick/painteditem/main.qml:102:
          TypeError: 'NoneType' object is not callable
      file://examples/quick/painteditem/main.qml:65: TypeError: Cannot read property 'right' of null
      

      The first error is repeated a number of times first after which the second one starts appearing as well.

      Steps to reproduce the problem:

      1. Run the example
      2. Click on the "Add another balloon" button repeatedly

      cf qtdeclarative/examples/quick/customitems/painteditem

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes