← Back to team overview

openlp-core team mailing list archive

[Bug 1800761] Re: SongSelect Importer Crashes on Import

 

Check for this line:

dataLayer.push({ 'Subscription': 'Free' });

It's javascript (second element in the body) so the language doesn't
change. For a melody subscription it is:

dataLayer.push({ 'Subscription': 'SongSelect Melody' });

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1800761

Title:
  SongSelect Importer Crashes on Import

Status in OpenLP:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1800761/+subscriptions


References