SongSelect Importer Crashes on Import

Bug #1800761 reported by Raoul Snyman on 2018-10-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Low
Unassigned

Bug Description

--- Exception Traceback ---
Traceback (most recent call last):
  File "openlp/plugins/songs/forms/songselectform.py", line 369, in
on_view_button_clicked
  File "openlp/plugins/songs/forms/songselectform.py", line 203, in _view_song
  File "openlp/plugins/songs/lib/songselect.py", line 216, in get_song
AttributeError: 'NoneType' object has no attribute 'find_all'

This seems to be caused by free accounts, which cannot download lyrics or music. Easy fix would be to check if the object is None and either not display any lyrics, or show an error message that the account is limited.

Changed in openlp:
importance: Undecided → Low
milestone: none → 2.9.1
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers