Open Temp File (file location) failed: Bad File Descriptor

• Mar 11, 2019 - 01:49
Reported version
S3 - Major
needs info

I opened a musescore file

I Went to save it (Ctrl + s) and got the error message in the title. I've tried removing Musescore from my PC and redownloading it, but the problem still occurs. I can't save anything.
I have absolutely no idea why this is happening, and I'd love some sort of solution.

Attachment Size
Cough Syrup.mscz 42.95 KB


Status active needs info

Are you still using 3.0.2? You need to upgrade to 3.0.4. 3.0.5 should be out Tuesday if you wan to wait.

I"m using Windows 10, and I'm saving to either the default scores folder the program sets up for me or to a separate one I keep my a cappella arrangements in. Saving to both places gives me the same error message.

have you tried reverting to factory settings?
Is some Anti Virus software preventing you from saving?
Is any of the locations you save to synced with some cloud service, like OneDrive or some such?

Status needs info won't fix

Hi, I have the same problem - I cannot print or save! I'm upgraded to Musescore 3. I get following error: "Open Temp File
failed: Bad file descriptor" or 'file not found'
Wondering if it's anything to do with controlled folder access, but cannot figure out how to resolve that.

It seems like antivirus software doesn't like Musescore. I would open your antivirus and check the history of blocked controlled folder access. You might find Musescore in their and if you do, let that bad boy through (This solved any issues I had with saving and updating). Also, if you're using Windows Defender like I am, you may have to give Musescore controlled folder access every time Windows Defender updates.

I think i have the solution (or so it was in my case with the same problem).
The thing that i do was just remmove the comma of the title of my song, and then i try to save it again and it worked.
It have sense cause the error says Bad File Descriptor, so the comma just prohibits musescore to save the file,i hope it helps you all.

I don´t know how to solve the problem but you can press "Save as", you save it with other name, then you delete the first file and change the name of the file you recently created.

I have begun having a similar issue after recently updating to version 3.4.2 (previously had 3.0.x, I believe?). I now cannot save a new file without manually adding the ".mscz" extension to the name. Attempting to save a newly created file gives me the following message:
"Renaming temp. file < /run/user/1000/doc/5ce895be/test.temp> to < /run/user/1000/doc/5ce895be/test> failed:
No such file or directory"
Attempting to Save As a previously created file without adding the .mscz extension simply results in "Cannot determine file type"

(I am running MuseScore under Linux on ChromeOS.)