TypeError: '<' not supported between instances of 'str' and 'int'
Environment
- Lollypop version: 1.4.36 (Flatpak)
- GTK+ version: 4 (I am assuming the GTK version is loaded from the Flatpak version?)
- Operating system: Ubuntu 22.04 (LTS)
Bug
When clicking on the Playlists
tab, lollypop crashes with the following error:
Traceback (most recent call last):
File "/app/lib/python3.10/site-packages/lollypop/view_lazyloading.py", line 170, in __lazy_loading
widget.populate()
File "/app/lib/python3.10/site-packages/lollypop/widgets_playlist_rounded.py", line 48, in populate
RoundedAlbumsWidget.populate(self)
File "/app/lib/python3.10/site-packages/lollypop/widgets_albums_rounded.py", line 51, in populate
RoundedFlowBoxWidget.populate(self)
File "/app/lib/python3.10/site-packages/lollypop/widgets_flowbox_rounded.py", line 70, in populate
self.set_artwork()
File "/app/lib/python3.10/site-packages/lollypop/widgets_albums_rounded.py", line 69, in set_artwork
self.__album_ids = self._get_album_ids()
File "/app/lib/python3.10/site-packages/lollypop/widgets_playlist_rounded.py", line 85, in _get_album_ids
track = Track(track_id)
File "/app/lib/python3.10/site-packages/lollypop/objects_track.py", line 60, in __init__
self.__album = Album(self.album_id)
File "/app/lib/python3.10/site-packages/lollypop/objects.py", line 37, in __getattr__
if self.id is None or self.id < 0:
TypeError: '<' not supported between instances of 'str' and 'int'