Auto save fails on demo score

• Aug 25, 2009 - 23:55
Type
Functional
Severity
S4 - Minor
Status
closed
Project
  1. Open MuseScore. If you are using the default settings then :/data/demo.mscx will open automatically
  2. Edit > Preferences > General
  3. Mark the check box next to "Auto Save"
  4. Press "OK" to leave the preferences dialog
  5. Make a change to the demo score and wait two minutes

Expected behavior: Score should automatically save changes (maybe in the folder for Temporary file) so that changes can be recovered in case of a crash

Actual behavior: Musescore pops up a couple error messages every two minutes:

---------------------------
MuseScore: Save File
---------------------------
renaming old file <:/data/demo.mscx> to backup <.demo.mscx,> failed
---------------------------
OK
---------------------------

---------------------------
MuseScore: Save File
---------------------------
renaming temp. file to <:/data/demo.mscx> failed:
Bad file descriptor
---------------------------
OK
---------------------------


Comments

Surely it has trouble auto saving it because the demo file has an invalid file location (<:/data/demo.mscx>) as opposed to

The file location is valid (it refers to an internal location in the MuseScore executable). However the file is (intentionally) not writable at that location. The error message is improved in the development version.

The bug is still open because there is more work to reach the expected behavior described above.