Bug 2001976

Summary: Picard won't start
Product: [Fedora] Fedora Reporter: Joke de Buhr <joke>
Component: picardAssignee: Gerald Cox <gbcox>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 35CC: alex, fedora, gbcox, i, joke, maggu2810, oliver, pzeppegno
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: picard-2.6.4-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-29 22:53:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joke de Buhr 2021-09-07 15:09:35 UTC
Description of problem:

Picard won't start (stacktrace below). Seems like an incompatibility with QT.


Version-Release number of selected component (if applicable): 2.6.3-3.fc35


How reproducible:

Simple start the specified version.


Steps to Reproduce:
1. $ picard

Actual results:

Traceback (most recent call last):
  File "/usr/bin/picard", line 3, in <module>
    main('/usr/share/locale', True)
  File "/usr/lib64/python3.10/site-packages/picard/tagger.py", line 996, in main
    tagger = Tagger(picard_args, unparsed_args, localedir, autoupdate)
  File "/usr/lib64/python3.10/site-packages/picard/tagger.py", line 285, in __init__
    self.window = MainWindow(disable_player=picard_args.no_player)
  File "/usr/lib64/python3.10/site-packages/picard/ui/mainwindow.py", line 198, in __init__
    self.setupUi()
  File "/usr/lib64/python3.10/site-packages/picard/ui/mainwindow.py", line 233, in setupUi
    self.cover_art_box = CoverArtBox(self)
  File "/usr/lib64/python3.10/site-packages/picard/ui/coverartbox.py", line 315, in __init__
    self.cover_art = CoverArtThumbnail(False, True, self.pixmap_cache, parent)
  File "/usr/lib64/python3.10/site-packages/picard/ui/coverartbox.py", line 74, in __init__
    self.shadow = self.shadow.scaled(w, h, QtCore.Qt.KeepAspectRatio, QtCore.Qt.SmoothTransformation)
TypeError: arguments did not match any overloaded call:
  scaled(self, int, int, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'
  scaled(self, QSize, aspectRatioMode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio, transformMode: Qt.TransformationMode = Qt.FastTransformation): argument 1 has unexpected type 'float'

Expected results:

The UI should start.

Additional info:

None

Comment 1 pzeppegno 2021-09-28 08:25:33 UTC
Same here. Since the upgrade to Fedora 35 Beta picard won't start.

Comment 2 Gerald Cox 2021-10-01 02:12:59 UTC
*** Bug 2007382 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2021-10-01 03:18:25 UTC
FEDORA-2021-1932541b38 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1932541b38

Comment 5 pzeppegno 2021-10-01 09:25:01 UTC
OK, I installed https://bodhi.fedoraproject.org/updates/FEDORA-2021-1932541b38 on my x86_64 Fedora 35 machine and I can report that at least now picard starts. If there are more issues lurking I hope I will report them again.

Thanks for the quick resolution

Comment 6 Fedora Update System 2021-10-02 02:22:40 UTC
FEDORA-2021-1932541b38 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1932541b38`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1932541b38

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Gerald Cox 2021-10-06 17:29:41 UTC
*** Bug 2011505 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2021-10-29 22:53:40 UTC
FEDORA-2021-1932541b38 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.