ABC import fails
Reported version
3.4
Type
Plugins
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project
Start musescore; Plugin; ABC Import; copy a correct ACB file in the screen; do not save.
Plugin; ABC Import; copy an ABS file in the screen; import fails with error as in uploaded file..
After restarting the computer the first time is successful second time failed.
Attachment | Size |
---|---|
ABC Import Failed.jpg | 27.43 KB |
Comments
What is an ACB or ABS file? If typo for ABC, please attach that here.
What happens if you hit the "Ja" button?
Please attach that xml file too
In reply to What is an ACB or ABS file?… by Jojo-Schmitz
Sorry, it is about the ABC import Plugin. If you press Ja you get in empty my-file.
I did some experimenting and it seems to occur only after you enter ABC code with errors in de the screen.
I copy and paste ABC code in the screen that sometimes contains errors. In that case I just have to restart Musescore and sometimes restart the computer. So this is a workaround I can life with.
Thanks for yous effort and for a very beautiful program.
In reply to Sorry, it is about the ABC… by Willem van Loenen
See attached document
In reply to See attached document by Willem van Loenen
No good reason for a .docx file here:
Problem in MuseScore with ABC Import Plugin
This is the second time I report this problem. I used a workaround but the problem is now all the time. I copy / paste ABC code from TheSession.org: example
https://thesession.org/tunes/449
Clicking Ja returns an Empty My_Fyle
Clicking Nee aborts
This is now happening all the time. Using this function is important to me.
Regards,
Willem van Loenen
I can use the ABC plugin on the ABCs provided at that site, no problem, so still not reproducible
Came up again in https://musescore.org/en/node/332455 (and I can reproduce it now too)
Seems though it still worked a year ago, in June 2021, see #321805: ABC import fails when using `%%partsfont` and/or `%%annotationfont`
The problem seems to be that the website providing the conversion, https://abc2xml.appspot.com/, apparently doesn't work anymore, the returned 'my_file.xml' contains an HTML error (same error is seen when using the above link):
Maybe running the code/executable from https://wim.vree.org/svgParse/abc2xml.html locally helps?
it most certainly does, as that's the code that website used to run.
Came up again in https://musescore.org/en/node/332467
Also in the Facebook User Group
I wonder how dificult it would be to provide that service on a different server, maybe even directly from musescore.org or musescore.com?
@lasconic back in the day developed the plugin, not sure whether he's also behind that service on appscpot.com?
ISTR that MS4 intends to ship the plugin by default, in which case I'd half expect "them" to host the service for it as well..
That at least would make us independant of a foreign (and possibly suspect) website.
And again in https://musescore.org/en/node/332455#comment-1129323
And also #332481: ABC Import broke
and #332483: Abc Import suddenly not working and #332597: Fatal error: line 5 column 7 Opening and ending tag mismatch.
Same thing happening here! Abc plugin says this is not a valid file, and returns a blank screen if you click 'import anyway'. Just started today, was working like magic before! Any ideas?
Thanks all
Started earlier than today, and is because the service on appspot.com is down/broken, see above
As per https://github.com/musescore/MuseScore/pull/11866 it seems the plan is to remove the ABC import plugin from the MuseScore 4 package
Another workaround is https://musescore.org/en/project/abcimpex (which on top also can export to ABC)
Thank you the workaround has fixed this. Took some doing and not sure how I got it working but is now working
Got the python importer set up as a web service at https://musescore.jeetee.net/abc/abc2xml.py
All that is needed is to replace the url in the current imported plugin. Fixed version attached.
the attachment :facepalm:
In reply to the attachment :facepalm: by jeetee
Jeetee,
Thanks for your efforts on fixing the abc_import plug in!
I get an error message whether I:
•I paste in abc code in the text field
• or if I open an abc document (via the plug-in's Open button.)
Perhaps the plug in is looking for a particular file you tested with?
Version number is 3.0.1. I don't know the revision number of the plug-in the broke, so I'm hoping my install worked.
Much appreciated,
Scorster
In reply to Thanks for your efforts on… by scorster
I reinstalled the abcImport 3.0.1 plugin and restarted MuseScore. Now it works!
Wonderful!
Thanks Jeetee!!
In reply to I reinstalled the abcImport… by scorster
All is well again with abc import ... but I'll mention a couple of things that might help those switching to the new plugin.
I have Jeetee's new 3.0.1 plugin qml file installed on MacOS at:
/Users/John/Documents/MuseScore3/Plugins/abc_import.qml
But I noticed the Plugin Manager still showed the old abc_import plugin as enable-able ... and I was unable clear it from within the Manager dialog.
I looked for a duplicate in Users/John/Documents/MuseScore3/Plugins—in MacOS—and saw only the new plugin. Apparently MuseScore's installer stored the original abc_import plug at this location (on MacOS):
/Applications/MuseScore 3.6.2.app/Contents/Resources/plugins/abc_import.qml
Sohe Plugin Manager must look in both folders, which is why it finds and shows the new and old versions in it's "available plugin" list.
To exclude the older version I simply removed the version 3.0.0 form its location deep in the MuseScore application package. Now the Plugin Manager no longer displays the old 3.0.0 version—ergo, less potential confusion down the road.
Excellent work Jeetee!
Scorster
Yes, you'd better rename the new plugin to e.g. abc_import-jeetee.qml, to easily identify it in the Plugin Manager (and then enable this and disable the other)
This version seems also to fix #321805: ABC import fails when using `%%partsfont` and/or `%%annotationfont`
Updated attachment above.
Plugin version: 3.0.2
filename renamed to avoid MuseScore plugin detection confusion
MenuPath appended with
(jt)
for the same reason (no confusion when both are enabled)Fixed the Qt.Quit() issue
Thanks @jeetee ! One other question - the ABC plugin had this strange quality where it would disable itself for no good reason, and you'd periodically have to re-enable it in the Plugin Manager. I think at one time someone thought they knew why, but I can't who figured it out or they proposed a solution.
Are you talking about #291584: Problem when reload the first plugin in interaction with a second plugin in Plugin Manager list?
In reply to Thanks @jeetee ! One other… by Marc Sabatella
A quick google search doesn't seem to reveal that specific issue. I guess we'll hear about it if it's still the case soon enough, given the number of users noticing the service going down pretty fast ;-)
Yes, that was the issue. I had thought I remembered it supposedly had to do with the plugin being first in the list rather than being anonymous that plugin specifically, but I also thought I remember someone later figuring out there was more to it. I never tried to verify whether or not that was the issue myself, but I know I am constantly hit by this.
In reply to Thanks @jeetee ! One other… by Marc Sabatella
> where it would disable itself for no good reason, and you'd periodically have to re-enable it in the Plugin Manager
I've got the opposite: it keeps re-enabling itself, and I have to periodically disable it :-/
I've integrated this ABC Import fix into https://github.com/musescore/MuseScore/pull/9000
In reply to the attachment :facepalm: by jeetee
I asked for assistance with this. You gave it and it seems to be working fine now. Thank you jeetee.
I've set up the new abc import (jt) plugin and it works! Thank you!
(And thank you for all the work you've done creating and maintaining Musescore, and making it so accessible to us regular folks.)
The new abc import (jt) is in Documents > Musescore 3 > Plugins.
The old abc import file is in Program Files > Musescore 3 > Plugins. Do I just delete the old abc import file?
Yes, you can delete the old one, or just disable it in the Plugin Manager
Hello,
Musescore /ABC (on Windows 10) import is not working. Getting this message - "my_file.xml" is not a valid MusicXML file. Would reinstallation of Musescore would fix the problem?
Thank you
Thiru
No, you just need an updated version of the plugin - see https://musescore.org/en/project/abc-import
In reply to No, you just need an updated… by Marc Sabatella
Thank you Marc. Question is how do I update the plugin? The link that you have given may have the instructions to do that. Now I will visit that link and find out.
Thanks again.
Thiru
In reply to Thank you Marc. Question is… by Thiru
I tried and failed in importing an abc file (1) after copying the file to the folder appropriate folder and (2) after reinstallation of Musescore on my PC running Windows10. Error message I am getting is shown in the screenshot attached below.
Thank you
Thiru
Share the ABC file here. And/or make sure to really use the modified new plugin named "ABC Import (jt)"
In reply to Share the ABC file here. And… by Jojo-Schmitz
Thank you Jojo.
Name of the plugin file is abc_import-jt.qml and the test abc file that I used is attached. I have changed the extension of the abc file so that I can attach it.
It imports cleanly. Sure you are using the plugin named "ABC Import (jt)" on the Plugins menu?
In reply to It imports cleanly. Sure you… by Jojo-Schmitz
Thanks a lot Jojo. I was using the standard ABC Import.
Please look at the attachment and tell me what this Edwin is.
Thanks again.
Edwin is MuseScore's new default text font
In reply to Edwin is theMuseScore's new… by Jojo-Schmitz
Thank you Jojo.
I have this solution: https://musescore.org/en/project/abc-importexport working neatly :-)
What's the solution for converting ABC in Musescore 4?
Have you tried the one from https://musescore.org/en/project/abc-import ?
In reply to (No subject) by Jojo-Schmitz
I've tried following the video/instructions on this page, but am still unsure how it works. I downloaded ABC_import_4.0.0 but, can't replicate what's shown in the video. The import ABC box doesn't show in MS4 just a lot of disabled plugins. What do I do with the downloaded file?
My solution is to start EasyABC, load your file, export selected as XML ad open that file with Musescore.