Error loading my mscz file
Hi! I deleted accidentally the file I was using but I used a software and I recovered it, but when I open the files, the program says that the file cannot be loaded because of an error. Any ideas for recovering it? I am going to attach the two files that my software recovered. Thanks a lot!
Attachment | Size |
---|---|
Trabajo Realizativo N°1.mscz | 23.73 KB |
Trabajo Realizativo N°1_000.mscz | 24.65 KB |
Comments
"Trabajo Realizativo N°1_0.mscz" is a ZIP archive of sores, but sure not a MuseScore score file.
Nor sure what is wrong with "Trabajo Realizativo N°1_000.mscz", but extracting the mscx from it and opening that works, attached
In reply to "Trabajo Realizativo N°1_0… by Jojo-Schmitz
OMG!!!! Thanks a lot. You saved my College Project. I cant believe it was so easy. I just wasted all my morning trying to recover. Thank you very much!!!
In reply to "Trabajo Realizativo N°1_0… by Jojo-Schmitz
Just debugged this. Turns out the zip file is corrupted at the very end. Fortunately, the corruption affects only the thumbnail and not the all-important
.mscx
score file. Unfortunately, the tail end of a zip file is also where the end-of-central-directory record is stored, and MuseScore bails out if it can't find that — unlike many other zip apps that are more fault-tolerant because they recognize that the end-of-central-directory record is redundant. There's room for improvement here.The error message displayed to the user is also far from helpful, in this case due to an empty
case
statement forScore::FileError::FILE_NO_ROOTFILE
insidereadScoreError()
.In reply to Just debugged this. Turns… by Spire42
The error message indeed isn't helpful:
What would be a helpful error message in that case?
Just appending "no root file" maybe be better than nothing, but still seems pretty cryptic. And in this case wrong too, as the root-file exists and can even get opened (even if not with MuseScore).
Actually in a Debug build it also prints "can't find container.xml" (which also doesn't make too much sense, as that too does exist and can get extracted)
In reply to What would be a helpful… by Jojo-Schmitz
Actually it also shows this:
Warning: QZip: EndOfDirectory not found (...\thirdparty\qzip\qzip.cpp:583, void MQZipReaderPrivate::scanFiles())
In reply to "Trabajo Realizativo N°1_0… by Jojo-Schmitz
Hi could u please help me with this thing. I cannot open this file and I dont know why.
In reply to Hi could u please help me… by nathaliediazy
From looking at the file, it seems that only part of it was written before being filled with 0's. If I'm correct it can't be fixed. You will need to find a backup. See https://musescore.org/en/node/52116