-
Notifications
You must be signed in to change notification settings - Fork 23
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
Error: Failed to parse ly2video line #112
Comments
I suspect this is probably because ly2video doesn't expect the path to the # file:line:char
'([^:]+): *(\d+):(\d+)' to # file:line:char
'(.+): *(\d+):(\d+)' and then try again? |
I tried it but it still gives me the same error with the same values Edit: The problem occurs on the line i marked with * so I think the problem is with the file regex:
|
Did you reinstall the updated code with |
Yes, I tried that it didn't work but then I removed '$' in
so the final version would be:
after that, Timidity++ gave errors so I had to port it to fluidsynth instead, now it can generate sound and video for normal notation but i am getting errors when i try to use guitar tableture instead. I can close this issue and create a seperate issue for that if you prefer keeping things clean.
|
If the final Let's keep this open until we figure out exactly what the parsing issue was. And yes please, let's have separate issues filed for each issue found - thanks! |
Issue #112 reported a failure of parsing of the temporary sanitised.ly.out file on Windows due to semi-colons in file paths, and also possibly CR LF line-endings. So attempt to fix both these problems.
@miifanboy This may be fixed in |
I tried my own .ly files and even the ones in this repository in test directory and i still get this error:
ERROR: Failed to parse ly2video line:
ly2video: ( 8.6999940000000000, 10.6619960000000000) pitch -1:5:0 @ 0.0000000000000000 from C:/Users/sonfi/AppData/Local/Temp/ly2video0d9o969f/sanitised.ly: 19:5
I attached the files generated by ly2video and here is the input.ly file:
Lilypond: GNU LilyPond 2.24.0
TiMidity++ : 2.15.0-win32
FFMpeg: 4.3.1
Python: 3.9
Pillow: 9.4.0
pexpect: 4.8.0
python-midi: I used py-midi 2.0.1 instead because python-midi gave errors on installation
Console Output (There are some Turkish words in it but they don't represent any errors):
ly2video0d9o969f.zip
The text was updated successfully, but these errors were encountered: