Update : New error. Check below.
I followed the default installation steps as follows:
sudo add-apt-repository ppa:gnumdk/lollypop
sudo apt-get update
sudo apt-get install lollypop
But then got the error:
E: Unable to locate package lollypop
I followed the steps by @mike-wild which were :
$ git clone https://github.com/gnumdk/lollypop.git
$ cd lollypop
$ sudo apt install autoconf libglib2.0-dev intltool yelp-tools libgirepository1.0-dev libgtk-3-dev python3 python-cairo python-dbus python-gobject python-sqlite
$ ./autogen.sh
$ make
# sudo make install
This successfully installed(without any errors). But when I try to open it using the command "lollypop" in terminal. I encountered this error:
Traceback (most recent call last):
File "/usr/local/bin/lollypop", line 22, in <module>
from lollypop.application import Application
File "/usr/local/lib/python3.4/site-packages/lollypop/application.py", line 16, in <module>
gi.require_version('GstAudio', '1.0')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 79, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GstAudio not available
EDIT 2 :
Running these:
sudo apt-get install gir1.2-gst-plugins-base-1.0 gir1.2-totem-plparser-1.0
After this lollypop opens up at least. But the gui crashes often. It is very unstable. This is the terminal output.
** (lollypop:8232): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-36bSXu3dQ9: Connection refused
Namespace Secret not available
- Scrobbler disabled
- Auto cover download disabled
- Artist informations disabled
$ sudo pip3 install pylast
(lollypop:8232): Gtk-WARNING **: GtkOverlay does not have a property called index
You are missing lollypop-portal: https://github.com/gnumdk/lollypop-portal GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Lollypop.Portal" does not exist
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/lollypop/application.py", line 592, in __settings_dialog
dialog = SettingsDialog()
File "/usr/local/lib/python3.4/site-packages/lollypop/settings.py", line 169, in __init__
h = grid.child_get_property(switch_artwork_tags, 'height')
TypeError: child_get_property() takes exactly 4 arguments (3 given)
Reading the above output, I went ahead and installed lollypop-portal: https://github.com/gnumdk/lollypop-portal through the steps:
git clone https://github.com/gnumdk/lollypop-portal.git
./autogen.sh
make
sudo make install
And then ran lollypop:
** (lollypop:9853): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-36bSXu3dQ9: Connection refused
Namespace Secret not available
- Scrobbler disabled
- Auto cover download disabled
- Artist informations disabled
$ sudo pip3 install pylast
(lollypop:9853): Gtk-WARNING **: GtkOverlay does not have a property called index
You are missing lollypop-portal: https://github.com/gnumdk/lollypop-portal GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name ":1.187" does not exist
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site- packages/lollypop/application.py", line 592, in __settings_dialog
dialog = SettingsDialog()
File "/usr/local/lib/python3.4/site-packages/lollypop/settings.py", line 169, in __init__
h = grid.child_get_property(switch_artwork_tags, 'height')
TypeError: child_get_property() takes exactly 4 arguments (3 given)
So, should I install lollypop-portal before lollypop?