Skip to content

Fixes for GNOME Music not starting

Running GNOME Music currently yields:

Traceback (most recent call last):
  File "/var/home/carlos/Build/bin/gnome-music", line 45, in <module>
    gi.require_version('GIRepository', '2.0')
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/home/carlos/Build/lib64/python3.13/site-packages/gi/__init__.py", line 132, in require_version
    raise ValueError('Namespace %s not available for version %s' %
                     (namespace, version))
ValueError: Namespace GIRepository not available for version 2.0

Due to the transition to GIRepository 3.0. Removing/updating the obvious check, it will result in warnings and crashes at PyGobject. This MR fixes those.

Merge request reports

Loading