-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mu3 score reported as broken in Mu4 #20400
Comments
I can confirm that it opens fine in MS3, while in BBEdit (which I normally use for quickly viewing the contents of mscz files) the main mscx doesn't show up at all. So the ZIP is perhaps a little bit corrupted, or maybe indeed some decoders are unhappy about the |
7Zip opens it just fine, as does the built-in zip in Windows explorer |
Yes, those dots are an additional problem on Mac and Linux |
Changing the special characters (the dots and the spanisch character) in the zip file does not change the behaviour. Muse 4.1.1 does not open it. I saved this to a new file and looked at the content. Different from the original one from the original poster and opens in Musescore without problems. |
Of colurse not, you'd need to change the mscx filename (in the archive) and the corresponding entry in META_INF/container.xml. If you'd do, it'd work, I've tested that |
I did that in all the places ... |
OK, that did work when I tried |
This file opens fine in MU4 if you rename |
It is not the MSCZ filename itself, but the filenames inside the MSCZ |
Yes. But the magic is that if you rename the mscz file, it starts to open. You don't need to touch files inside archive at all. |
I can't confirm that |
file_rename_dot_issue.mp4 |
OK, confirmed, very strange
I can confirm this too! |
Thanks a lot for the hints here! I think I'll have a solution ready soon. |
Fixed in #20521 |
Issue type
Import/export issue
Bug description
No response
Steps to reproduce
The attached (zipped) score
bongo esp.zip
opens fine in Mu3(.6.2), but in Mu4(1.1 at least and later) it reports:
Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0
Extracting the mscx, and importing that in Mu4 works just fine.
As does opening and resaving with Mu3 and importing that in Mu4
Edit: As does renaming the mscz file to fully match the name of the mscx inside.
Screenshots/Screen recordings
No response
MuseScore Version
4.1.1, 4.2.0 Beta and latest master
Regression
Yes, this used to work in MuseScore 3.x and now is broken
Operating system
Windows 11
Additional context
Culprit seems to be the name of the mscx, "..bongo español.mscx", or its encoding (esp. that of the "ñ"?) in META-INF/container.xml, as ""
Originally came up in https://musescore.org/en/node/357693
Edit: the real culprit seems the mcsz filename originally starting with 2 dots (and the mscx internally still does), but got those dots 'renamed away'
The text was updated successfully, but these errors were encountered: