Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2328

Crash on startup with Python 3.10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.7.0b3
    • 2.7.0b2
    • User Interface
    • None
    • Fedora 35

      When executing, immediately crashes with:

      Traceback (most recent call last):
       File "/usr/lib64/python3.10/site-packages/picard/ui/itemviews.py", line 419, in paintSection
         paint_column_icon(painter, rect, FileItem.icon_acousticbrainz)
       File "/usr/lib64/python3.10/site-packages/picard/ui/itemviews.py", line 333, in paint_column_icon
         target_rect = QtCore.QRect(rect.x() + padding_h, rect.y() + padding_v, size, size)
      TypeError: arguments did not match any overloaded call:
       QRect(): too many arguments
       QRect(int, int, int, int): argument 2 has unexpected type 'float'
       QRect(QPoint, QPoint): argument 1 has unexpected type 'int'
       QRect(QPoint, QSize): argument 1 has unexpected type 'int'
       QRect(QRect): argument 1 has unexpected type 'int'
      Traceback (most recent call last):
       File "/usr/lib64/python3.10/site-packages/picard/ui/itemviews.py", line 419, in paintSection
         paint_column_icon(painter, rect, FileItem.icon_acousticbrainz)
       File "/usr/lib64/python3.10/site-packages/picard/ui/itemviews.py", line 333, in paint_column_icon
         target_rect = QtCore.QRect(rect.x() + padding_h, rect.y() + padding_v, size, size)
      TypeError: arguments did not match any overloaded call:
       QRect(): too many arguments
       QRect(int, int, int, int): argument 2 has unexpected type 'float'
       QRect(QPoint, QPoint): argument 1 has unexpected type 'int'
       QRect(QPoint, QSize): argument 1 has unexpected type 'int'
       QRect(QRect): argument 1 has unexpected type 'int'
      Aborted (core dumped)

            outsidecontext Philipp Wolfer
            gbcox Gerald Cox
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.7.0b3