-
Notifications
You must be signed in to change notification settings - Fork 8
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
'list lilypond' and 'search lilypond' commands lock up #62
Comments
To help me pinpoint the problem, try running the following two commands and let me know which of them hangs: ruby -r lyp -e "p Lyp::Lilypond.list(system_only: true)"
ruby -r lyp -e "p Lyp::Lilypond.list(lyp_only: true)" |
Hi @ciconia, the first one hangs and the second returns immediately. Thanks! |
I suspect you have one or more versions installed on your system (not by lyp) that have not been "primed". When listing the currently installed "system" Lilyponds, lyp runs each version it found with a special Some versions of Lilypond take quite a while to run the first time (because they generate font cache files I think). I know there was at least one recent version (of the 2.19 unstable strain) that had a problem with the cache and used to regenerate it each time it was run, which lead to it appearing to be hung. You can get a list of all the installed lilyponds on your system by running Let me know if you found the culprit. At the moment I do not believe there's anything wrong with the detection code in lyp, which, again, is necessary for its correct functioning. |
Hi @ciconia , I have verified that I don't have any
Crash report: https://gist.github.com/SashaOv/e17ef74d6b0373ba7ac662b4504965db I have a version not on the path as part of LilyPond-Mac OS app install, and that one works fine. I will try with a different version of Ruby |
Also tried with Ruby 2.0.0-p647 with the similar result, except I get these messages:
BTW, I am running under https://github.com/rbenv/rbenv -- could this be related? |
Hi @ciconia, any suggestions? |
Sorry for the late reply. I guess this does have something to do with rbenv. I don't have any experience with it. I use rvm on all my machines. I'll try to look more into this, but it will probably take some time as I'm currently very busy with other stuff. |
lyp list lilypond
andlyp search lilypond
commands lockup for a few minutes on my machine, before proceeding. Tried some other commands, work fine.Versions:
rbenv
The text was updated successfully, but these errors were encountered: