Traceback error when attached media (to song) not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Committed
|
Medium
|
Hamilton Chevez | ||
2.4 |
Fix Released
|
Undecided
|
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\
File "openlp\
File "shutil.py", line 108, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: "/Users/
Related branches
- Tim Bentley: Approve
-
Diff: 56 lines (+33/-1)2 files modifiedopenlp/plugins/songs/forms/editsongform.py (+16/-1)
tests/functional/openlp_core_ui/test_firsttimeform.py (+17/-0)
Changed in openlp: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openlp: | |
assignee: | nobody → Hamilton Chevez (dbgchev01) |
Changed in openlp: | |
status: | Confirmed → Fix Committed |