Closed JRegimbal closed 4 years ago
@martha-thomae Is there any extra info you could tell me about how to replicate this? I'm unable to figure out a small example on my computer.
I can send you the
I did notice that if I tried another set of modifications, this doesn't happen. Let's substitute the breve to modify in step two by one of the semibreves. Everything is fine. I can even do a whole bunch of modifications and then try to modify the "problematic" breve, and everything will be fine.
But still, if I do the steps enumerated above, the result will always be the same (the blank page). No idea why.
Also tried (after step 1 - adding the dot) to make the two breves into semibreves.
Everything was fine.
But then I tried to add dots between this very-long sequence of semibreves, and the page turns blank again. Here is the place where I tried to add the dot.
@JRegimbal, you can replicate the error by only entering the notes shown in the first screenshot (no need to enter the entire piece). I tried it already.
Hi @martha-thomae! I was able to replicate this. The issue is in the ArsAntiqua.js
file with the issue being last_uncolored_note
is undefined at line 100.
I've edited the score editor to display an alert with a short description of the error in scoring up when one occurs. If you open the console, a more detailed message should be visible.
Hi @martha-thomae! I was able to replicate this. The issue is in the
ArsAntiqua.js
file with the issue beinglast_uncolored_note
is undefined at line 100.
Thanks! It seems that I didn't change that line when translating from Python to JavaScript. Thanks so much for taking the time to figure this out.
I've edited the score editor to display an alert with a short description of the error in scoring up when one occurs. If you open the console, a more detailed message should be visible.
I wanted to try this. But for some reason, the page is not loading correctly. I am trying to do "Open Storage" and "load" the music on one of my "slots." After this, the bounding boxes of the staves appear and the voice's metadata (mensuration and label of the voice), but no music is rendered. And when I click on "Save to MEI file" or on "Move to Score Editor", nothing happens.
Hmm this might have something to do with me changing the MusicItem object to keep track of a key signature. Could you share if an error appears in the console?
Sure! This is what I see after loading a particular slot:
And when I try to "move to score editor," I have this extra error:
Okay I think this is something I can fix. I'll let you know when it should work for you.
@martha-thomae it should be working now. Let me know if it isn't!
It is working. Thanks!
So, going back to:
I've edited the score editor to display an alert with a short description of the error in scoring up when one occurs. If you open the console, a more detailed message should be visible.
Is it possible to display in which line the error happens? Maybe I am just not understanding the message in the console. I would like to be able to know that this was the issue:
The issue is in the ArsAntiqua.js file with the issue being last_uncolored_note is undefined at line 100.
Here is my console, I don't see anything that would let me know that the issue "Cannot read property 'hasAttribute' of underfined" (indicated in the dialog box) happened on line 100. This would be really helpful for me to debug. Is it possible just to display the line of the error either in the dialog box or in the console? Thanks! It is really helpful to have everything else being displayed in the console (the note counters).
Perfect! It works :) Very helpful for debugging
I think this has also been fixed, and so will close for now.
The score editor SVG sometimes disappears after a few editing actions. It is unclear why this occurs at the time of writing.