← Back to team overview

openlp-core team mailing list archive

[Bug 1559336] [NEW] Traceback error when attached media (to song) not found

 

Public bug reported:

Windows 8.1, OLP 2.4.

When there is a media item attached to a song, if the song is not found
when saving the song then a traceback error appears with the below text.
It's quite obvious that it is for this reason, although - as the
traceback text also implies - in my situation here, the database was
copied from Mac OSX onto Windows which I agree may have caused the
issue!

The expected result would be a 'normal' error dialogue to say that the
file was not found, probably with the option to remove the attached file
from the database.


Traceback (most recent call last):
  File "openlp\plugins\songs\forms\editsongform.py", line 986, in accept
  File "openlp\plugins\songs\forms\editsongform.py", line 1057, in save_song
  File "shutil.py", line 108, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: "/Users/richard/Library/Application Support/openlp/Data/songs/audio/194/01 It's Rising Up.mp3"

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  Traceback error when attached media (to song) not found

Status in OpenLP:
  New

Bug description:
  Windows 8.1, OLP 2.4.

  When there is a media item attached to a song, if the song is not
  found when saving the song then a traceback error appears with the
  below text. It's quite obvious that it is for this reason, although -
  as the traceback text also implies - in my situation here, the
  database was copied from Mac OSX onto Windows which I agree may have
  caused the issue!

  The expected result would be a 'normal' error dialogue to say that the
  file was not found, probably with the option to remove the attached
  file from the database.


  Traceback (most recent call last):
    File "openlp\plugins\songs\forms\editsongform.py", line 986, in accept
    File "openlp\plugins\songs\forms\editsongform.py", line 1057, in save_song
    File "shutil.py", line 108, in copyfile
  FileNotFoundError: [Errno 2] No such file or directory: "/Users/richard/Library/Application Support/openlp/Data/songs/audio/194/01 It's Rising Up.mp3"

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


Follow ups