Description of problem: Since the upgrade from Fedora 34 to Fedora 35 Beta (using dnf system-upgrade) quodlibet won't start. Version-Release number of selected component (if applicable): quodlibet-4.4.0-3.fc35.noarch How reproducible: Steps to Reproduce: 1. Run quodlibet 2. See a crash 3. Actual results: Quodlibet won't run Expected results: Quodlibet should run Additional info: Here's the python stack trace taken from a terminal: > quodlibet E: 0.321: errorreport.main.errorhook: collection.py:27:<module>: ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py) Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/quodlibet/errorreport/main.py", line 175, in errorhook sentry_error = sentry.capture(exc_info, fingerprint=fingerprint) File "/usr/lib/python3.10/site-packages/quodlibet/errorreport/sentrywrapper.py", line 247, in capture client = Client( File "/usr/lib/python3.10/site-packages/quodlibet/packages/raven/base.py", line 224, in __init__ from raven.context import Context File "/usr/lib/python3.10/site-packages/quodlibet/_import.py", line 47, in load_module mod = importlib.import_module(loadname) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.10/site-packages/quodlibet/packages/raven/context.py", line 10, in <module> from collections import Mapping, Iterable ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib64/python3.10/collections/__init__.py) Original exception was: Traceback (most recent call last): File "/usr/bin/quodlibet", line 14, in <module> sys.exit(main()) File "/usr/lib/python3.10/site-packages/quodlibet/main.py", line 44, in main import quodlibet.library File "/usr/lib/python3.10/site-packages/quodlibet/library/__init__.py", line 20, in <module> from quodlibet.library.libraries import SongFileLibrary, SongLibrary File "/usr/lib/python3.10/site-packages/quodlibet/library/libraries.py", line 32, in <module> from quodlibet.util.collection import Album File "/usr/lib/python3.10/site-packages/quodlibet/util/collection.py", line 27, in <module> from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)
Thanks for the report, I've reported it downstream, but I am not yet on fedora 35.
I think this has to due with the Python 3.9 -> Python 3.10 migration. https://github.com/quodlibet/quodlibet/pull/3800/commits/49dd6474484f9f157adae485a51afc37e6c884f4 should fix it. Could we either cherry-pick the fix or downgrade quodlibet to Python 3.9 again?
Please see if this scratch build of current git master fixes the issue. https://koji.fedoraproject.org/koji/taskinfo?taskID=76574947 I think either cherry-picking or using the git master is better. Ideally, they would release a new version before fedora 35 comes out, but if not I think incorporating the patch is easiest.
FEDORA-2021-bc2d15e0a2 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bc2d15e0a2
FEDORA-2021-bc2d15e0a2 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-bc2d15e0a2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-bc2d15e0a2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
That fixes quodlibet for me, thanks!
Yes, I can confirm I have quodlibet running again on my pc. Thanks a lot.
FEDORA-2021-bc2d15e0a2 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.