I can't open Lollypop

I can’t open Lollypop app from both terminal and clicking app icon.

Here is the terminal output when I try to open it. I am new to Arch based distro.

Traceback (most recent call last):
  File "/usr/bin/lollypop", line 45, in <module>
    from lollypop.application import Application
  File "/usr/lib/python3.10/site-packages/lollypop/application.py", line 20, in <module>
    from gi.repository import Gtk, Gio, GLib, Gdk, Gst, GstPbutils, Handy
  File "/usr/lib/python3.10/site-packages/gi/importer.py", line 150, in load_module
    dynamic_module = load_overrides(introspection_module)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.10/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
    override_mod = importlib.import_module(override_package_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.10/site-packages/gi/overrides/Gst.py", line 674, in <module>
    from gi.overrides import _gi_gst
ImportError: cannot import name '_gi_gst' from 'gi.overrides' (/usr/lib/python3.10/site-packages/gi/overrides/__init__.py)

Hello @AMMin :wink:

Is it from the AUR or from the official repo? I can not reproduce your issue with the official package.

$ pamac search --aur lollypop                           
lollypop-stable-git                              1.4.23.r3.g048238b13-1  AUR 
    Music player for GNOME (stable branch)
lollypop-next-git                                1.4.23.r3.g048238b13-1  AUR 
    Music player for GNOME (dev branch)
lollypop                           [Installiert] 1.4.36-1                community 
    Music player for GNOME

As you can see there is the official package in community database.

1 Like

when I try to install the stable version form AUR, this error message shows up

Building lollypop-stable-git...
==> Making package: lollypop-stable-git 1.4.23.r3.g048238b13-1 (Wed 28 Dec 2022 10:57:28 PM +0630)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning lollypop git repo...
Cloning into bare repository '/var/tmp/pamac-build-amm/lollypop-stable-git/lollypop'...
warning: redirecting to https://gitlab.gnome.org/World/lollypop.git/
remote: Enumerating objects: 66876, done.
remote: Counting objects: 100% (201/201), done.
remote: Compressing objects: 100% (132/132), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly before end of the underlying stream
error: 52417 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
==> ERROR: Failure while downloading lollypop git repo
    Aborting...
Error: Failed to build lollypop-stable-git

Is there a special reason why you are not using the lollypop package from the repo?

No, no special reason.

Then use that and the issue should be solved.