Bug 1756626

Summary: Classical Extras plugin not functioning correctly with Picard v2.2+
Product: [Fedora] Fedora Reporter: Gerald Cox <gbcox>
Component: picardAssignee: Gerald Cox <gbcox>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: alex, foss, gbcox, i, oliver
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: picard-2.2.2-1.fc29 picard-2.2.2-1.fc30 picard-2.2.2-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-18 00:48:25 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 Gerald Cox 2019-09-28 15:11:21 UTC
From:  https://community.metabrainz.org/t/picard-2-2-is-available/443479/22

Version 2.2 stops the Classical Extras plugin from functioning correctly (even after the v2.0.6 fix)
I have raised a bug report, https://tickets.metabrainz.org/browse/PICARD-1615 :
Previous versions to 2.2 allowed metadata to contain dictionaries. E.g. a plugin could add a metadata item {‘a’: ‘Apple’, ‘b’: ‘Banana’}. Version 2.2 strips this to just a list of the keys - i.e. [‘a’, ‘b’], losing all the values.

EDIT: Having fixed this, it is apparent that there are multiple other issues with Classical Extras compatibility with Picard v2.2. My recommendation is that Classical Extras users should not update to Picard 2.2 until I give the all-clear.

You will only encounter this error if you have manually configured Picard to install and activate the Classical Extras plugin.

As a temporary circumvention, either deactivate the plugin if you don't need it, or backout to the previous release:

dnf downgrade picard

Comment 1 Gerald Cox 2019-09-28 15:13:49 UTC
External tracker here:  https://tickets.metabrainz.org/projects/PICARD/issues/PICARD-1615

Comment 2 Gerald Cox 2019-10-02 21:09:21 UTC
PICARD-1606: Handle OptionsPage exceptions #1301

Recently with Picard 2.2 the Classical Extras plugin caused crashes for many users, since it was doing some direct access to internal Picard config implementation which was no longer available after some refactoring.

This provided pretty bad user experience:

For the user it was not clear what was causing the issues, Picard was just closing
The user had not really a chance recovering from this situation without deeper knowledge of how to manually change plugins.

JIRA ticket (optional): PICARD-1606
Solution
Avoids Picard crashing if e.g. a plugin provides a broken OptionsPage implementation by handling exceptions. This gives the user better feedback and eventually even allows user to recover from the situation.

Comment 3 Fedora Update System 2019-10-03 02:27:40 UTC
FEDORA-2019-33a3de33d3 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-33a3de33d3

Comment 4 Fedora Update System 2019-10-03 02:27:58 UTC
FEDORA-2019-83c2e7dafa has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-83c2e7dafa

Comment 5 Fedora Update System 2019-10-03 02:28:41 UTC
FEDORA-2019-87b77a8374 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-87b77a8374

Comment 6 Fedora Update System 2019-10-04 22:14:10 UTC
picard-2.2.1-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-83c2e7dafa

Comment 7 Fedora Update System 2019-10-04 22:49:59 UTC
picard-2.2.1-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-33a3de33d3

Comment 8 Fedora Update System 2019-10-04 23:08:38 UTC
picard-2.2.1-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-87b77a8374

Comment 9 Fedora Update System 2019-10-08 18:12:47 UTC
FEDORA-2019-1f16056bed has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1f16056bed

Comment 10 Fedora Update System 2019-10-08 18:13:03 UTC
FEDORA-2019-3fbfc6df33 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3fbfc6df33

Comment 11 Fedora Update System 2019-10-08 18:13:20 UTC
FEDORA-2019-f098ad74bb has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-f098ad74bb

Comment 12 Fedora Update System 2019-10-09 03:25:31 UTC
picard-2.2.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1f16056bed

Comment 13 Fedora Update System 2019-10-09 17:39:57 UTC
picard-2.2.2-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3fbfc6df33

Comment 14 Fedora Update System 2019-10-09 18:58:10 UTC
picard-2.2.2-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f098ad74bb

Comment 15 Fedora Update System 2019-10-18 00:48:25 UTC
picard-2.2.2-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-10-18 16:53:24 UTC
picard-2.2.2-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-10-26 17:23:51 UTC
picard-2.2.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.