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

help(QtCore) TypeError: must be str, not getset_descriptor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.14.2
    • PySide, Shiboken
    • None
    • a5b76f26f1abf81c37ca7646b87536fae46d8ba1 (pyside/pyside-setup/5.14)

    Description

      >>> from PySide2 import QtCore
      >>> help(QtCore)
      Traceback (most recent call last):
      File "E:\Python36\lib\site-packages\shiboken2\files.dir\shibokensupport\signature\loader.py", line 105, in make_helptext
      return errorhandler.make_helptext(func)
      File "E:\Python36\lib\site-packages\shiboken2\files.dir\shibokensupport\signature\errorhandler.py", line 138, in make_helptext
      msg = sigtext + "\n\n" + existing_doc if existing_doc else sigtext
      TypeError: must be str, not getset_descriptor
      Fatal Python error: handle_doc did not receive a result

      Current thread 0x00001a04 (most recent call first):
      File "E:\Python36\lib\inspect.py", line 602 in getdoc
      File "E:\Python36\lib\pydoc.py", line 91 in getdoc
      File "E:\Python36\lib\pydoc.py", line 1215 in docclass
      File "E:\Python36\lib\pydoc.py", line 383 in document
      File "E:\Python36\lib\pydoc.py", line 1165 in docmodule
      File "E:\Python36\lib\pydoc.py", line 382 in document
      File "E:\Python36\lib\pydoc.py", line 1636 in render_doc
      File "E:\Python36\lib\pydoc.py", line 1643 in doc
      File "E:\Python36\lib\pydoc.py", line 1916 in help
      File "E:\Python36\lib\pydoc.py", line 1857 in _call_
      File "E:\Python36\lib_sitebuiltins.py", line 103 in _call_
      File "<console>", line 1 in <module>
      File "E:\Python36\lib\code.py", line 91 in runcode
      File "E:\Python36\lib\code.py", line 75 in runsource
      File "E:\Python36\lib\code.py", line 259 in push
      File "E:\dt source\36 Q\py \u6e90\u4ee3\u7801\digitser\dtbase\dtshell\base_unit.py", line 65 in run
      File "E:\Python36\lib\threading.py", line 916 in _bootstrap_inner
      File "E:\Python36\lib\threading.py", line 884 in _bootstrap

      Thread 0x00001308 (most recent call first):
      File "E:\Python36\lib\threading.py", line 1072 in _wait_for_tstate_lock
      File "E:\Python36\lib\threading.py", line 1056 in join
      File "E:\dt source\36 Q\py \u6e90\u4ee3\u7801\digitser\dtbase\dtshell\base_unit.py", line 30 in clientStart_Method
      File "E:\dt source\36 Q\py \u6e90\u4ee3\u7801\digitser\dtbase\dtshell\base_unit.py", line 21 in _init_
      File "E:\dt source\36 Q\py \u6e90\u4ee3\u7801\digitser\dtbase\dtshell\base_unit.py", line 78 in main
      File "E:/dt source/36 Q/py \u6e90\u4ee3\u7801/digitser/dtbase/dtshell/base_prcs.py", line 19 in <module>

      Attachments

        For Gerrit Dashboard: PYSIDE-1272
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            liuliuab1 ming liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes