Invalid Parameter when importing .musicxml file from audio file

The file named “29 El Dolor Socilita.musicxml” is rejected with Error: invalid parameter (both when importing, but also when pasting in the topic) ,

but renamed as

29 El Dolor Socilita.xml (123.8 KB)

is accepted.

Is it the .musicxml suffix, or the filename length?

The MusicXML file you’ve attached opens fine whether its file extension is .xml or .musicxml.

Oh ! Interesting. The file in this archive:

29ELDO~1.zip (3.3 KB)

is the original problematic file that I could not import, and could not even attach into this topic. How does it work for you? The one I attached was produced by duplication the original file then renaming it. I am on Windows 10, in case this might be a factor.

Make sure you’ve extracted the contents of the zipfile before you try to open anything inside it - you can do this with “Extract All” from Windows’ right-click menu. Windows will sometimes show you a preview of what files are inside a zipfile, but I think on Windows 10 Dorico won’t be able to open files until the zipfile’s contents have been extracted.

Richard, I am very sorry that I was unclear. I did not extract the musicxml file from a zip archive, I just now crated the zip file around it so that I could transmit it to Daniel so that he could examine the original problematic file,

I hope I am clear this time :slight_smile:

Ah, ok. The error “Invalid parameter” usually appears when Dorico is trying to open a file as a Dorico file when it is some other sort of file. How are you opening the MusicXML file? With File > Import > MusicXML?

I shall try to review what happened from the start:

I had this file named “29 El Dolor Socilita.musicxml” (contents not very important by themselves!)

  1. I wanted to look at it and tried to import it into dorico. Ir was rejected with only “invalid parameter” info.
  2. I tried to import it into Finale, and the import worked.
  3. I opened ths post and tried to attach this file into it and I got “Sorry, the file you are trying to upload is not authorised (authorised extensions: jpg, jpeg, png, gif, heic, heif, dorico, pdf, zip, mp3, mp4, cpr, npr, lua, vstpreset, xml, dmp, crash, mid, ips, midiremote, vlprj, mxl, musicxml).” So the rejection was not a matter of Dorico rejecting it for its content, but the forum software itself rejected it for some (structureal?) defect.
  4. I still wanted to send this file to you. I wondered whether this was a problem in the name. I did not want to rename the file itself, and I did something naive: I created a copy of it, and renamed that to .xml. Then I could not only attach it to the post but import it inside dorico. I did attach it for examination, but whatever blemish the original file had was not duplicated by the copy, so Daniel could not learn anything from it.
  5. Seeing that I decided to send it to you by enclosing it inside an archive, the “29ELDO~1.zip” above. Hopefully the blemish would.still be there when you would extract the file and you would be able to analyze the problem.
  6. Now could you extract this file from the archive and test whether it behaves with regard to import and/or to attachment to the post? As I said, I am working with Windows10, and there is alwyas the possibility that such a bizarre problem would be dependant on the architecture (name length?).

Thank you. This is not blocking in anyway for me, I just would like to understand!

Well I have found something, thta I find hard to believe.

Here are the Windows Properties for a well behaved muscixml file:

Everything is consistent: Type .musicxml

Now for a weird file created by some exotic software:

Eveything is inconsistent: Type .musicxml suddenly becomes .MUS.

Where @# in Windows is this second type stored? How do I change it?

My recollection is that, at one point some years ago, asking Finale for a .musicxml file produced an unusable file, at which point I just exported as .xml and imported it easily into Dorico.

The troublesome file may have been exported from such a version of Finale.

In my case the “guilty” software is not Finale, but Anthemscore.

I guess the problem is mostly identified. There “.MUS” type must be some place in the registry? I am just a little curious, could somebody working in windows extract the file from the .zip, and just look at the properties to see if they there is the same .MUS type?

Affter that I will close the topic.

The file opens without problem on Windows. The properties are reported as…

(I don’t have Finale installed on this PC - would that perhaps make a difference?)

I don’t think so. If that property is found in the registry data, not in the file itself, then transfer or duplication would not replicate it.

Thanks to all!