AttributeError: 'NoneType' object has no attribute 'get_scale_factor'
Environment
- Lollypop version: 20190422-1.fc29
- GTK+ version: gtk2-2.24.32-4.fc29
- Operating system: Fedora 29
Bug
Upon selecting all albums the list of albums begins to load then Lollypop crashes, throwing this error in the terminal:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/lollypop/view_albums_box.py", line 105, in _on_artwork_changed
child.set_artwork()
File "/usr/lib/python3.7/site-packages/lollypop/widgets_album_simple.py", line 123, in set_artwork
self._artwork.get_scale_factor(),
AttributeError: 'NoneType' object has no attribute 'get_scale_factor'
As an additional point, I also get an error when opening the album artwork selector. Upon opening the selector images from Google do load, however the following error is thrown:
(lollypop:24246): Gtk-CRITICAL **: 13:13:41.335: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
Then when selecting one of the images this error is thrown:
[ERROR] 2019-04-22 13:13:44 TaskHelper::__on_soup_msg_finished(): g-io-error-quark: Operation was cancelled (19)
And the album art does not change.
Edited by Ghost User