Comments (6)
I suspect this is probably because ly2video doesn't expect the path to the .ly
file to contain any :
characters, but since you're on Windows, it begins with C:
. This should be a simple fix - can you try changing the second line of these two in cli.py
:
# file:line:char
'([^:]+): *(\d+):(\d+)'
to
# file:line:char
'(.+): *(\d+):(\d+)'
and then try again?
from ly2video.
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:
\include "dump-spacetime-info.ly"
\include "dump-spacetime-info.ly"
\version "2.16.0"
\paper {
page-breaking = #ly:one-line-breaking
top-margin = 83\mm
bottom-margin = 83\mm
left-margin = 46\mm
right-margin = 46\mm
}
#(set-global-staff-size 20)
\header {
tagline = ##f composer = ##f
}
music = \new Voice {
\relative c' {
<a c e>1 q <f a c>2 q ************************************************************************
}
}
\score {
\unfoldRepeats
\music
\layout { }
\midi { }
}
from ly2video.
Did you reinstall the updated code with pip install
after editing it?
from ly2video.
Yes, I tried that it didn't work but then I removed '$' in
# file:line:char
'(.+): *(\d+):(\d+)'
'$', line)
so the final version would be:
# file:line:char
'(.+): *(\d+):(\d+)'
,line)
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.
ERROR: Didn't find any notes; something must have gone wrong with the use of dump-spacetime-info.
from ly2video.
If the final $
was causing problems then I suspect it could be a Windows CR/LF line-ending issue. Perhaps changing to \r?$
would work?
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!
from ly2video.
@miifanboy This may be fixed in master
now; please can you test?
from ly2video.
Related Issues (20)
- cli option --videoDef not used HOT 1
- --scroll-notes missing int conversion HOT 1
- New Release? HOT 2
- ERROR: Didn't find any notes HOT 23
- Fonts can be less painful
- beatmaps
- Work better with Windows HOT 4
- Q: Getting Line Breaks into class TimeCode HOT 15
- Replace TiMidity++ with FluidSynth HOT 1
- ly2video.py referenced in readme is not included HOT 1
- PIL is dead and uninstallable from pip HOT 2
- ly2video, is it still usable? HOT 1
- Switch to modern Pillow version HOT 2
- Suggestion: Virtual keyboard HOT 1
- Video frozen for the last part HOT 4
- Dockerfile for ly2video HOT 1
- An AUR dependency does not exist HOT 1
- Support for alpha background HOT 1
- midi file extension not honored / misleading error message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ly2video.