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

AxWidget: dynamicCall malfunction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2
    • PySide
    • None
    • WIN7 64BIT / WIN10 64BIT
      Python 3.6.8 32bit
      PySide2 5.15.2
    • Windows

    Description

      AxWidget: dynamicCall malfunction

      The same code is working correctly in PySide2 5.15.1.

      Running with PySide 5.15.2, exception as followed:

      QAxBase: Error calling IDispatch member URL: Unknown error
      Traceback (most recent call last):
      File "d:/project/rdp_py/demo.py", line 38, in <lambda>
      btn.clicked.connect(lambda: play_a_media(w, ax_w))
      File "d:/project/rdp_py/demo.py", line 22, in play_a_media
      title = current_media.dynamicCall("getItemInfo(const QString&)", "title")
      AttributeError: 'NoneType' object has no attribute 'dynamicCall'

       

       

      Attachments

        1. ax_bug.py
          1 kB
          Weizhen Zheng
        2. pyside1435.py
          2 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              wzzgdcn Weizhen Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes