Bug 2001976 - Picard won't start
Summary: Picard won't start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: picard
Version: 35
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gerald Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2007382 2011505 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-07 15:09 UTC by Joke de Buhr
Modified: 2021-10-29 22:53 UTC (History)
8 users (show)

Fixed In Version: picard-2.6.4-1.fc35
Clone Of:
Environment:
Last Closed: 2021-10-29 22:53:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.