Cannot save at all either to the cloud or to my computer
I cannot save any scores whatsoever. It happens when I open a new score and immediately save it and it happens to older scores as well. I've tried saving to a different folder with no luck. I've completely uninstalled and reinstalled Musescore as well, also no luck.
The error is 'Your score could not be saved; an unknown error occured while saving this file'. It happens to every score I try and save, even brand new ones. Can anyone help?
Comments
Can you attach diagnostic files?
In reply to Can you attach diagnostic… by mercuree
How do I do that?
In reply to How do I do that? by misspwright
Menu - Diagnostic - Save diagnostic files
In reply to Menu - Diagnostic - Save… by mercuree
Is this right? I got this from a brand new blank score.
In reply to Is this right? I got this… by misspwright
Based on your logs, I would suggest:
1. Try not saving files to the OneDrive folder (and not opening msz files from the OneDrive folder)
2. Just to be safe, try closing all but one instance of Musescore.
In reply to Based on your logs, I would… by mercuree
Thanks. However I have no other place to store them. My documents is automatically part of OneDrive, as is my Desktop and everything else. I've got no other drives to save my scores in.
I've been using Musescore for ages, always saving into the same Musescore4 folder (where it automatically installs to) and never had a problem until now.
In reply to Thanks. However I have no… by misspwright
I've just done a scour of my files and found a Documents folder that is not part of OneDrive. I tried saving a brand new blank score into that folder and got the same error. I can't save to the cloud either. Do you know what else might be the problem?
In reply to I've just done a scour of my… by misspwright
See my reply to mercuree below.
In reply to Menu - Diagnostic - Save… by mercuree
Did you mean Menu Help? :) (For the public, Diagnostics got moved into Help.)
In reply to Did you mean Menu Help? :) … by krasko78
Thanks, I'll fix the instructions.
Do you have any ideas what the problem might be? The error occurs once in the code
https://github.com/musescore/MuseScore/blob/master/src/project/internal…
The error code should be passed somewhere, but it's not in the logs.
I can only guess what the problem is, antivirus, write protection or something else.
In reply to Thanks, I'll fix the… by mercuree
The logging around save errors is far from optimal. Basically whenever an error happens, the error state is recorded but not the error itself so in the end MuseScore shows this very generic and unhelpful "Unknown error occurred" message. I have created an issue to improve this: https://github.com/musescore/MuseScore/issues/26165. I have the code changes done but I was waiting for 4.5 to be released. I should go back to it and submit a PR.
It all looks like permissions issue indeed - we saw issues with OneDrive previously. Or an antivirus.
misspwright, I hope you will read this:
1. Do you have the following two files on your computer?
C:\Users\phoeb\AppData\Local\MuseScore\MuseScore4\shortcuts.xml
C:\Users\phoeb\AppData\Local\MuseScore\MuseScore4\midi_mappings.xml
Can you open them in any text editor, e.g. Notepad?
C:/Users/phoeb/AppData/Local/MuseScore/MuseScore4
C:/Users/phoeb/OneDrive/Email attachments
C:/Users/phoeb/OneDrive/Documents/Scores
Can you try to save in them?