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

Shiboken crashes due to AttributeError involving CythonDotParallel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5: Not important
    • 6.5.0
    • 6.4.2
    • Shiboken
    • None
    • Linux/X11
    • 3fc86f701 (dev)

    Description

      • Created a new venv with python 3.10.6
      • Installed packages with pip install cython pyside6
      • Ran the following script:
        import cython
        import shiboken6
        import shibokensupport
        shibokensupport.signature.mapping.update_mapping()
        
      • This produces the following error:
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          File "shibokensupport/signature/mapping.py", line 159, in update
          File "shibokensupport/signature/mapping.py", line 160, in <genexpr>
          File "shibokensupport/signature/mapping.py", line 145, in module_valid
        AttributeError: 'CythonDotParallel' object has no attribute '__name__'. Did you mean: '__ne__'?
        

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            smerdis Arjun Mukerji
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes