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

AxWidget: dynamicCall malfunction

XMLWordPrintable

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

      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'

       

       

        1. ax_bug.py
          1 kB
        2. pyside1435.py
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes