Crash after upgrade to git master on track list popover
Latest git master:
- I updated lollypop to latest Git master
- I opened lollypop and clicked on an album, the track list popover showed
- I moused over the track list popover, lollypop crashed with the below output
Nothing was playing at the time. I could reproduce this multiple times, but I cannot reproduce this anymore after I started playing something. Now even after restarting lollypop the crash does not happen anymore.
/usr/lib/python3.6/site-packages/gi/module.py:176: Warning: g_array_append_vals: assertion 'array' failed
g_type = info.get_g_type()
/usr/lib/python3.6/site-packages/gi/module.py:176: Warning: g_hash_table_lookup: assertion 'hash_table != NULL' failed
g_type = info.get_g_type()
/usr/lib/python3.6/site-packages/gi/module.py:176: Warning: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
g_type = info.get_g_type()
(lollypop:20299): Gtk-WARNING **: Allocating size to lollypop+window+Window 0x55ffd7a022b0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/lollypop/widgets_track.py", line 254, in __on_enter_notify_event
self._indicator.update_button()
File "/usr/lib/python3.6/site-packages/lollypop/widgets_indicator.py", line 106, in update_button
if self.__is_in_current_playlist():
File "/usr/lib/python3.6/site-packages/lollypop/widgets_indicator.py", line 125, in __is_in_current_playlist
if self.__track.id in album.track_ids:
AttributeError: 'int' object has no attribute 'track_ids'