Traceback error when attached media (to song) not found

Bug #1559336 reported by Richard Graham
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
Hamilton Chevez
Fix Released
Raoul Snyman

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\", line 986, in accept
  File "openlp\plugins\songs\forms\", line 1057, in save_song
  File "", 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"

Related branches

Tomas Groth (tomasgroth)
Changed in openlp:
importance: Undecided → Medium
status: New → Confirmed
Changed in openlp:
assignee: nobody → Hamilton Chevez (dbgchev01)
Tomas Groth (tomasgroth)
Changed in openlp:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers