Closed suntong closed 1 year ago
Yes it's a bug, it's not resetting notehead_markup.barPos
in the repeatStack and repeatStack[-1][0]
part, which means the bar-check gets thrown off if you end the first-time on an incomplete bar (which you're doing here because of a pickup). I'll try to fix this later, meanwhile you can just comment out the line of code with barcheck fail
in it and it should work (although if you then run that version on input with any real barcheck errors, it won't pick them up and you'll get Lilypond warnings and messed-up output)
Ok, will do. thx, take your time.
Hmm... Having disabled this line
https://github.com/ssb22/jianpu-ly/blob/696c9f5e6b21ff8c3b42cc12ad44d0fcf9780545/jianpu-ly.py#L527
I now get:
Error: Incomplete bar at end of score 1 (pos 32)
So I think I'll wait for your official fix.
yes, problem fixed! Hope #46 can be fixed soon as well. thx.
Please take a look
It works, but when uncommenting those "
%
" then I'll getError: (notesHad=1 5 3 3 1 2 1 2 3 1 1 6 5 5 - - 1) barcheck fail: note crosses barline at "1" with 0 beams (24 skipped from 48 to 72, bypassing 64), scoreNo=1 barNo=5 (but the error could be earlier)
This looks like a bug to me, or ...? Thanks.